lib/findable/query/connection.rb in findable-0.1.1 vs lib/findable/query/connection.rb in findable-0.1.2

- old
+ new

@@ -9,10 +9,10 @@ private # Generate connection with redis options or default connection. # @return [Redis] Redis connection def generate_redis_connection! - redis_options ? Redis.new(*redis_options) : Redis.current + redis_options ? Redis.new(**redis_options) : Redis.current end # Returns redis options from configuration. # @return [Hash] Redis options # @return [nil] No Redis options