README.md in kredis-1.0.1 vs README.md in kredis-1.1.0

- old
+ new

@@ -169,10 +169,11 @@ class Person < ApplicationRecord kredis_list :names kredis_list :names_with_custom_key, key: ->(p) { "person:#{p.id}:names_customized" } kredis_unique_list :skills, limit: 2 kredis_enum :morning, values: %w[ bright blue black ], default: "bright" + kredis_counter :steps, expires_in: 1.hour end person = Person.find(5) person.names.append "David", "Heinemeier", "Hansson" # => RPUSH people:5:names "David" "Heinemeier" "Hansson" true == person.morning.bright? # => GET people:5:morning @@ -229,10 +230,10 @@ The above code could be added to either `config/environments/production.rb` or an initializer. Please ensure that your client private key, if used, is stored your credentials file or another secure location. ### Configure how the redis client is created -You can configure how the redis client is created by setting `config.connector` in your `application.rb`: +You can configure how the redis client is created by setting `config.kredis.connector` in your `application.rb`: ```ruby config.kredis.connector = ->(config) { SomeRedisProxy.new(config) } ```