lib/redis/store/factory.rb in redis-store-1.1.4 vs lib/redis/store/factory.rb in redis-store-1.1.5

- old
+ new

@@ -45,10 +45,12 @@ end end def self.normalize_key_names(options) options = options.dup - options[:namespace] ||= options.delete(:key_prefix) # RailsSessionStore + if options.key?(:key_prefix) && !options.key?(:namespace) + options[:namespace] = options.delete(:key_prefix) # RailsSessionStore + end options end def self.host_options?(options) if options.keys.any? {|n| [:host, :db, :port].include?(n) }