lib/picky/backends/redis.rb in picky-4.26.2 vs lib/picky/backends/redis.rb in picky-4.27.0

- old
+ new

@@ -34,34 +34,34 @@ end # Returns an object that on #initial, #load returns an object that responds to: # [:token] # => [id, id, id, id, id] (an array of ids) # - def create_inverted bundle + def create_inverted bundle, _ = nil List.new client, "#{PICKY_ENVIRONMENT}:#{bundle.identifier}:inverted", realtime: realtime end # Returns an object that on #initial, #load returns an object that responds to: # [:token] # => 1.23 (a weight) # - def create_weights bundle + def create_weights bundle, _ = nil Float.new client, "#{PICKY_ENVIRONMENT}:#{bundle.identifier}:weights", realtime: realtime end # Returns an object that on #initial, #load returns an object that responds to: # [:encoded] # => [:original, :original] (an array of original symbols this similarity encoded thing maps to) # - def create_similarity bundle + def create_similarity bundle, _ = nil List.new client, "#{PICKY_ENVIRONMENT}:#{bundle.identifier}:similarity", realtime: realtime end # Returns an object that on #initial, #load returns an object that responds to: # [:key] # => value (a value for this config key) # - def create_configuration bundle + def create_configuration bundle, _ = nil String.new client, "#{PICKY_ENVIRONMENT}:#{bundle.identifier}:configuration", realtime: realtime end # Returns an object that on #initial, #load returns an object that responds to: # [id] # => [:sym1, :sym2] # - def create_realtime bundle + def create_realtime bundle, _ = nil List.new client, "#{PICKY_ENVIRONMENT}:#{bundle.identifier}:realtime", realtime: realtime end # Does the Redis version already include # scripting support? \ No newline at end of file