Author: kclark
Date: Tue Jun 17 18:02:31 2008
New Revision: 668931
URL: http://svn.apache.org/viewvc?rev=668931&view=rev
Log:
Use deprecate_module! where appropriate
Modified:
incubator/thrift/trunk/lib/rb/lib/thrift/client.rb
incubator/thrift/trunk/lib/rb/lib/thrift/processor.rb
incubator/thrift/trunk/lib/rb/lib/thrift/struct.rb
incubator/thrift/trunk/lib/rb/lib/thrift/types.rb
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/client.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/client.rb?rev=668931&r1=668930&r2=668931&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/client.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/client.rb Tue Jun 17 18:02:31 2008
@@ -35,5 +35,5 @@
end
end
end
- deprecate_class! :ThriftClient => Client
+ deprecate_module! :ThriftClient => Client
end
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/processor.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/processor.rb?rev=668931&r1=668930&r2=668931&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/processor.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/processor.rb Tue Jun 17 18:02:31
2008
@@ -35,5 +35,5 @@
oprot.trans.flush()
end
end
- deprecate_class! :TProcessor => Processor
+ deprecate_module! :TProcessor => Processor
end
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/struct.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/struct.rb?rev=668931&r1=668930&r2=668931&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/struct.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/struct.rb Tue Jun 17 18:02:31 2008
@@ -134,5 +134,5 @@
:element => field[:element] }
end
end
- deprecate_class! :ThriftStruct => Struct
+ deprecate_module! :ThriftStruct => Struct
end
Modified: incubator/thrift/trunk/lib/rb/lib/thrift/types.rb
URL:
http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/rb/lib/thrift/types.rb?rev=668931&r1=668930&r2=668931&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/rb/lib/thrift/types.rb (original)
+++ incubator/thrift/trunk/lib/rb/lib/thrift/types.rb Tue Jun 17 18:02:31 2008
@@ -14,12 +14,12 @@
SET = 14
LIST = 15
end
- deprecate_class! :TType => Types
+ deprecate_module! :TType => Types
module MessageTypes
CALL = 1
REPLY = 2
EXCEPTION = 3
end
- deprecate_class! :TMessageType => MessageTypes
+ deprecate_module! :TMessageType => MessageTypes
end