Use deprecate_module! where appropriate
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:02:31 +0000 (01:02 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:02:31 +0000 (01:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668931 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/lib/thrift/client.rb
lib/rb/lib/thrift/processor.rb
lib/rb/lib/thrift/struct.rb
lib/rb/lib/thrift/types.rb

index 0b0d13e..ab2bff7 100644 (file)
@@ -35,5 +35,5 @@ module Thrift
       end
     end
   end
-  deprecate_class! :ThriftClient => Client
+  deprecate_module! :ThriftClient => Client
 end
index 8314f59..60d3ca8 100644 (file)
@@ -35,5 +35,5 @@ module Thrift
       oprot.trans.flush()
     end
   end
-  deprecate_class! :TProcessor => Processor
+  deprecate_module! :TProcessor => Processor
 end
index 583d3da..ce113bf 100644 (file)
@@ -134,5 +134,5 @@ module Thrift
         :element => field[:element] }
     end
   end
-  deprecate_class! :ThriftStruct => Struct
+  deprecate_module! :ThriftStruct => Struct
 end
index 2831748..237df3c 100644 (file)
@@ -14,12 +14,12 @@ module Thrift
     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