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

- old
+ new

@@ -66,10 +66,10 @@ _, db, namespace = if uri.path uri.path.split(/\//) end options = { - :host => uri.host, + :host => uri.hostname, :port => uri.port || DEFAULT_PORT, :password => uri.password } options[:db] = db.to_i if db