Commit Graph

366 Commits

Author SHA1 Message Date
Joe Ennever
5b15f8c55f THRIFT-3307 Raise an error when trying to serialize a union with an incorrect set_field
Client: Ruby
Patch: Joe Ennever

This closes #597
2015-11-09 00:02:23 +09:00
Nobuaki Sukegawa
8cd519f7a3 THRIFT-3374 Ruby TJSONProtocol fails to unescape string values
This closes #640
2015-10-11 00:18:02 +02:00
Jens Geyer
123258ba60 THRIFT-3364 Fix ruby binary field encoding in TJSONProtocol
Client: Ruby
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #633
2015-10-02 00:38:17 +02:00
Jens Geyer
b925739550 THRIFT-3335 Ruby server does not handle processor exception
Client: Ruby
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>

This closes #612
2015-09-21 22:36:45 +02:00
jfarrell
f13e431bab THRIFT-3305: Missing dist files for 0.9.3 release candidate
Client: build
Patch: jfarrell

Adds missing files to dist
2015-08-25 00:39:29 -04:00
Roger Meier
56d38fb913 THRIFT-3176 ruby: Union incorrectly implements ==
Patch: István Karaszi
2015-06-01 22:01:09 +02:00
Roger Meier
401d399ed0 THRIFT-3177 Fails to run rake test
Patch: István Karaszi
2015-06-01 21:28:42 +02:00
Nobuaki Sukegawa
113b638790 THRIFT-3148 Markdown links to coding_standards are dead
This closes #491
2015-05-13 21:40:26 +02:00
Jens Geyer
8ffabb02c2 THRIFT-1125 Multiplexing support for the Ruby Library
Client: Ruby
Patch: André Aizim Kelmanson <akelmanson@gmail.com>

This closes #406
2015-04-03 14:31:27 +02:00
Roger Meier
a2d12b6ee3 ruby: fix typo 2015-03-24 21:15:06 +01:00
Konrad Grochowski
3bc6424c76 THRIFT-2724 - Coding standards template added all over project
Client: All
Patch: Konrad Grochowski

This closes #371
2015-02-05 12:15:19 +01:00
jfarrell
8f2596ad54 THRIFT-2961: Service inheritance does not work with namespaced Ruby code
Client: rb
Patch: Jan Brauer

This closes #364

commit 111c4e77a78c1a82f526923f13534bb0027ef33f
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:01:26Z
Make 'extends' work with 'rb:namespaced'.
commit 34cab3d7c77bd5e8325ac4f30f1091429c35905e
Author: Jan Brauer <jan@jimdo.com>
Date: 2015-01-29T22:25:03Z
Add test for namespaced service extension
2015-01-29 23:42:05 -05:00
jfarrell
4e16718e99 Thrift-2960: Fix namespace regression for Ruby
Client: rb
Patch: Jan Brauer

Add test that exposes the broken namespacing.

Fixes a bug introduced by #140.

This closes #363
2015-01-29 23:03:34 -05:00
Jens Geyer
79f988c27a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am)
Patch: Jens Geyer

Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a THRIFT-2768: Whitespace Fixup
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer

DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Konrad Grochowski
05d64b4e3b THRIFT-2707: rb - support for oneway messages fixed
Client: Ruby Library, Ruby Compiler
Patch: Konrad Grochowski

now oneway method calls will use proper message type

This closes #217
2014-09-29 22:08:58 +02:00
Jens Geyer
a86886e77d THRIFT-2704 - compiler: T_ONEWAY type used for oneway methods instead of T_CALL
Patch: Konrad Grochowski

This closes #216
2014-09-17 22:36:00 +02:00
henrique
8a2bab3f72 THRIFT-1766 [Ruby] Provide support for binary types
Patch: Vanja Bucic
2014-07-16 20:10:57 +02:00
jfarrell
ef7d56c1d6 THRIFT-2602:Fix missing dist files
Client: ruby
Patch: jfarrell

fix ruby extension to use RBConfig to work with newer versions of ruby
2014-07-10 09:21:25 -04:00
jfarrell
8fd8c6366d THRIFT-2602:Fix missing dist files
Client: build process
Patch: jfarrell

Add all missing files to the dist package.
2014-07-10 09:14:51 -04:00
jfarrell
bf2617ed15 Thrift-THRIFT-2574: Compiler option to generate namespace directories for Ruby
Client: rb
Patch: Andrew Bloomgarden

Adds option to generate namespaced ruby classes.

Github: closes #140
2014-06-26 22:53:01 -04:00
Jens Geyer
6d1a83aa48 THRIFT-2506 Update TProtocolException error codes to be used consistently throughout the library
Patch: Jens Geyer
2014-05-03 00:49:05 +02:00
Roger Meier
16fcad0b25 THRIFT-2407 use markdown (rename README => README.md)
Patch: Roger Meier
2014-03-19 06:47:47 +01:00
jfarrell
8dbff98aea THRIFT-2371:ruby bundler version fails on ~1.3.1, remove and take latest avail
Client: rb
Patch: jfarrell

Fix rb build by grabbing latest avail bundler version.
2014-02-21 19:31:46 -05:00
jfarrell
507740c93c Thrift-2184: undefined method rspec_verify for Thrift::MemoryBufferTransport
Client: rb
Patch: jfarrell | Nevo Hed

Updates ruby checks to require bundler and uses bundle exec to ensure
the required rake version.
2014-01-22 22:20:21 -05:00
Roger Meier
0240572c44 THRIFT-2182 rb: segfault in regression tests (GC bug in rb_thrift_memory_buffer_write)
Patch: Paul Brannan
2014-01-12 23:29:11 +01:00
Roger Meier
a510d6b48b THRIFT-2183 gem install fails on zsh
Patch: Paul Brannan
2014-01-12 22:17:45 +01:00
Roger Meier
d45b7db328 rb: remove CHANGELOG 2014-01-12 22:11:04 +01:00
Roger Meier
090a5e4c69 remove nonsense file lib/rb/CHANGELOG 2014-01-12 20:09:53 +01:00
jfarrell
05f37f1917 THRIFT-2219: Thrift gem fails to build on OS X Mavericks
Client: ruby
Patch: Jake Farrell

Adds builtin check to strlcpy.h header for ruby lib.
2014-01-06 22:51:22 -05:00
Jens Geyer
1fb6847473 THRIFT-2299 TJsonProtocol implementation for Ruby does not allow for both possible slash (solidus) encodings
Patch: Jens Geyer
2013-12-26 19:01:20 +01:00
jfarrell
cba92b308f THRIFT-2145:Rack and Thin are not just development dependencies
Client: rb
Patch: Nick Sieger

The rack and thin gems should be specified as full dependencies, not just development dependencies.
2013-11-25 13:30:41 -05:00
jfarrell
5a900eadc2 THRIFT-2136:Vagrant build not compiling java, ruby, php, go libs due to missing dependencies
Client: build
Patch: jfarrell

Updates ruby build to use bundler
2013-08-18 10:54:52 -04:00
Jens Geyer
3bb141d368 THRIFT-2036 Thrift gem warns about class variable access from top level
Patch: Takuya Hashimoto & Keith Barrette
2013-08-14 21:33:53 +02:00
Jake Farrell
fbb78a6589 Thrift-1978: Ruby: Thrift should allow for the SSL verify mode to be set
Client: rb
Patch: Timur Alperovich

Ruby SSL verify mode cannot be specified, which means thrift cannot be used against servers with self-signed certificates over SSL. The suggested fix is to expose the SSL verification mode as a constructor argument in lib/rb/lib/thrift/transport/http_client_transport.rb.
2013-05-27 22:01:36 -04:00
Roger Meier
4f623260b5 THRIFT-1760 [Ruby] Remove unnecessary native protocol code
Patch: Nathan Beyer
2013-05-05 23:59:25 +02:00
Jake Farrell
a87cc5e770 Thrift-1804: Ruby extension on ARM complains about signed chars
Client: rb
Patch: Elias Karakoulakis

Updated extension makefile to use signed char flag
2013-03-23 22:56:13 -04:00
Jake Farrell
073f9eb9b9 Thrift-1629:Ruby 1.9 Compatibility during Thrift configure, make, install
Client: Ruby
Patch: Nick Zalabak

Updated ruby client to use thin serber over mongrel.
2013-03-04 20:59:38 -05:00
Roger Meier
772b2b1804 THRIFT-1789 fix json protocol read set begin
Patch: Kevin Radloff
2013-01-19 21:04:12 +01:00
Roger Meier
19dbbefcc1 THRIFT-1766 [Ruby] Provide support for binary types
Patch: Nathan Beyer
2012-12-27 01:24:20 +01:00
Roger Meier
0193149842 THRIFT-1801 Sync up TApplicationException codes across languages and thrift implementations
Patch: Andrew Cox
2012-12-22 21:31:03 +01:00
Jens Geyer
a9e33bf0f6 THRIFT-1699 Native Union#read has extra read_field_end call
Patch: Kevin Radloff
2012-12-12 23:11:04 +01:00
Jake Farrell
b5a18a150e Thrift-1023:Thrift encoding (UTF-8) issue with Ruby 1.9.2
Client: rb
Patch: Nathan Beyer 

Fixes encoding issue for UTF-8 strings in ruby client.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395832 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 01:10:43 +00:00
Jake Farrell
fc35612d1d Thrift-1673: Ruby compile flags for exension for multi arch builds (os x)
Client: rb
Patch: Jake Farrell

Updating extconf to only grab arch flags from ruby binary to stop rvm version >= 1.9.x from breaking.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1395824 13f79535-47bb-0310-9956-ffa450edef68
2012-10-09 00:30:03 +00:00
Jake Farrell
96be0071c6 THRIFT-1707: Adjust server_spec.rb for RSpec 2.11.x and Ruby 1.9.3
Client: rb
Patch: Nathan Beyer

The message expectations in RSpec 2.11.x don't seem to work consistently on Ruby 1.9.x when Threads are used. This is causing a problem in a few tests in server_spec.rb.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394868 13f79535-47bb-0310-9956-ffa450edef68
2012-10-06 00:26:28 +00:00
Jake Farrell
5d6bd5a606 THRIFT-1645: Replace Object#tee with more conventional Object#tap in specs
Client: rb
Patch: Nathan Beyer

The spec_helper.rb defines an Object#tee method, which is functionally equivalent to Object#tap. Object#tap was added to Ruby 1.9 and to 1.8.7.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1392509 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 18:42:23 +00:00
Jake Farrell
c34d7d75fb THRIFT-1591: Enable TCP_NODELAY for ruby gem
Client: rb
Patch: Christos Trochalakis

Set TCP_NODELAY for client socket for ruby lib



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391399 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 11:25:42 +00:00
Jake Farrell
a87810ff4b Thrift-1644:Upgrade RSpec to 2.11.x and refactor specs as needed
Client: rb
Patch: Nathan Beyer

Upgrading to rspec2.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1391280 13f79535-47bb-0310-9956-ffa450edef68
2012-09-28 01:59:04 +00:00
Jake Farrell
f88f9c231e Thrift-1650: Update clean items and svn:ignore entries for OS X artifacts
Client: ruby
Patch: Nathan Beyer

add a few entries to the CLEAN variable, so that some additional OS X artifacts will get cleaned up



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1379915 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 03:26:50 +00:00
Jake Farrell
b4e9aacfb0 Thrift-1673: Ruby compile flags for extension for multi arch builds (os x)
Client: ruby
Patch: Jake Farrell

Updating extension build to use ruby cflags which include the arch flags needed.



git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1371273 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 16:03:14 +00:00