lib/redis.rb in redis-1.0.5 vs lib/redis.rb in redis-1.0.6
- old
+ new
@@ -1,11 +1,15 @@
require 'socket'
class Redis
- VERSION = "1.0.5"
+ VERSION = "1.0.6"
def self.new(*attrs)
Client.new(*attrs)
+ end
+
+ def self.deprecate(message, trace = caller[0])
+ $stderr.puts "\n#{message} (in #{trace})"
end
end
begin
if RUBY_VERSION >= '1.9'