lib/picky/backends/redis.rb in picky-4.12.1 vs lib/picky/backends/redis.rb in picky-4.12.2
- old
+ new
@@ -12,10 +12,10 @@
def initialize options = {}
maybe_load_hiredis
check_hiredis_gem
check_redis_gem
- @client = options[:client] || ::Redis.new(:db => (options[:db] || 15))
+ @client = options[:client] || ::Redis.new(:db => (options[:db] || 15))
@realtime = options[:realtime]
end
def maybe_load_hiredis
require 'hiredis'
rescue LoadError
\ No newline at end of file