THRIFT-372. rb: Ruby lib doesn't rescue properly from lack of native_thrift extension
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 26 Mar 2009 18:41:44 +0000 (18:41 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 26 Mar 2009 18:41:44 +0000 (18:41 +0000)
commit8852720e70e77669fa5ffff494dd641f6fff06f2
tree960f0dd2a22e76af135b4cf10ff3b0217ffa638a
parente211393964cc1083ec0cc11d3ccf6f1666bfd521
THRIFT-372. rb: Ruby lib doesn't rescue properly from lack of native_thrift extension

This patch adds a new thrift/thrift_native.rb which should be the require point for application users. It also removes some unnecessary code from a few files and cleans up requires in some specs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@758794 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift.rb
lib/rb/lib/thrift/thrift_native.rb [new file with mode: 0644]
lib/rb/spec/protocol_spec.rb
lib/rb/spec/spec_helper.rb