Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (24 sloc) 0.48 kB
require 'socket'
class Redis
VERSION = "1.0.7"
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'
require 'timeout'
Redis::Timer = Timeout
else
require 'system_timer'
Redis::Timer = SystemTimer
end
rescue LoadError
Redis::Timer = nil
end
require 'redis/client'
require 'redis/pipeline'
require 'redis/subscribe'
Jump to Line
Something went wrong with that request. Please try again.