THRIFT-275. rb: Remove deprecated classes from Ruby library
authorBryan Duxbury <bryanduxbury@apache.org>
Tue, 24 Mar 2009 05:23:52 +0000 (05:23 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Tue, 24 Mar 2009 05:23:52 +0000 (05:23 +0000)
commite8ae5d3728de07e880d6477db0f63ed9a7c65415
tree3b55ef7506d405e597aaf053d78b1dd00f279c2f
parent127d01cb0635dcf9c4650c00ef822b9f6bd7be85
THRIFT-275. rb: Remove deprecated classes from Ruby library

This patch removes all the deprecation stuff and the t*.rb classes that were only placeholders. In addition, I've changed the implementations of some "abstract" methods to throw NotImplementedError instead of returning nil, and fixed the test accordingly. Finally, I removed the no longer required borrow and consume methods from all the transport implementations that had them. (Borrow and consume have been supplanted by the thrift_native package.)

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757668 13f79535-47bb-0310-9956-ffa450edef68
29 files changed:
lib/rb/lib/thrift.rb
lib/rb/lib/thrift/client.rb
lib/rb/lib/thrift/deprecation.rb [deleted file]
lib/rb/lib/thrift/exceptions.rb
lib/rb/lib/thrift/processor.rb
lib/rb/lib/thrift/protocol.rb
lib/rb/lib/thrift/protocol/binaryprotocol.rb
lib/rb/lib/thrift/protocol/tbinaryprotocol.rb [deleted file]
lib/rb/lib/thrift/protocol/tprotocol.rb [deleted file]
lib/rb/lib/thrift/server.rb
lib/rb/lib/thrift/server/httpserver.rb
lib/rb/lib/thrift/server/thttpserver.rb [deleted file]
lib/rb/lib/thrift/server/tserver.rb [deleted file]
lib/rb/lib/thrift/struct.rb
lib/rb/lib/thrift/thrift.rb [deleted file]
lib/rb/lib/thrift/transport.rb
lib/rb/lib/thrift/transport/httpclient.rb
lib/rb/lib/thrift/transport/socket.rb
lib/rb/lib/thrift/transport/thttpclient.rb [deleted file]
lib/rb/lib/thrift/transport/tsocket.rb [deleted file]
lib/rb/lib/thrift/transport/ttransport.rb [deleted file]
lib/rb/lib/thrift/types.rb
lib/rb/spec/backwards_compatibility_spec.rb [deleted file]
lib/rb/spec/deprecation_spec.rb [deleted file]
lib/rb/spec/protocol_spec.rb
lib/rb/spec/transport_spec.rb
test/rb/core/test_backwards_compatability.rb
test/rb/core/test_exceptions.rb
test/rb/core/transport/test_transport.rb