connect-redis
Advanced tools
Comparing version 1.0.5 to 1.0.6
1.0.6 / 2011-06-21 | ||
================== | ||
* Added `socket` option so that we can connect to a sockets as well [mekwall] | ||
1.0.5 / 2011-06-02 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -1,2 +0,1 @@ | ||
/*! | ||
@@ -46,3 +45,3 @@ * Connect - Redis | ||
Store.call(this, options); | ||
this.client = new redis.createClient(options.port, options.host, options); | ||
this.client = new redis.createClient(options.port || options.socket, options.host, options); | ||
if (options.pass) { | ||
@@ -49,0 +48,0 @@ this.client.auth(options.pass, function(err){ |
{ | ||
"name": "connect-redis", | ||
"description": "Redis session store for Connect", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
18178