THRIFT-374. rb: ruby 1.9 compatibility
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 25 Mar 2009 21:06:53 +0000 (21:06 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 25 Mar 2009 21:06:53 +0000 (21:06 +0000)
commite3ab50d0f300da7aa3bf018de805fa154afeb53f
tree8a19d2666e67a477b202edbed1a72a85db3fe9a3
parentd73255d1acfd83ca65d3293a0d6a6c8f25c834f4
THRIFT-374. rb: ruby 1.9 compatibility

This patch updates the thrift_native package to use 1.9 compatible macros and fixes the pure ruby stuff to behave equally well in ruby1.8.6-ruby1.9.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758435 13f79535-47bb-0310-9956-ffa450edef68
13 files changed:
lib/rb/ext/binary_protocol_accelerated.c
lib/rb/ext/compact_protocol.c
lib/rb/ext/macros.h
lib/rb/ext/memory_buffer.c
lib/rb/ext/struct.c
lib/rb/lib/thrift.rb
lib/rb/lib/thrift/core_ext.rb [new file with mode: 0644]
lib/rb/lib/thrift/core_ext/fixnum.rb [new file with mode: 0644]
lib/rb/lib/thrift/protocol/binaryprotocol.rb
lib/rb/lib/thrift/transport.rb
lib/rb/spec/binaryprotocol_spec_shared.rb
lib/rb/spec/client_spec.rb
lib/rb/spec/server_spec.rb