Comparing version 0.6.3 to 0.6.4
Changelog | ||
========= | ||
## v0.6.4 - June 30, 2011 | ||
Fix bug with optional callbacks for hmset. | ||
## v0.6.2 - June 30, 2011 | ||
@@ -5,0 +9,0 @@ |
@@ -489,3 +489,3 @@ /*global Buffer require exports console setTimeout */ | ||
// send_command(command, [arg1, arg2], cb); | ||
} else if (typeof callback === "undefined") { | ||
} else if (! callback) { | ||
// most people find this variable argument length form more convenient, but it uses arguments, which is slower | ||
@@ -492,0 +492,0 @@ // client.command(arg1, arg2, cb); (wraps up arguments into an array) |
{ "name" : "redis", | ||
"version" : "0.6.3", | ||
"version" : "0.6.4", | ||
"description" : "Redis client library", | ||
@@ -4,0 +4,0 @@ "author": "Matt Ranney <mjr@ranney.com>", |
@@ -1,12 +0,3 @@ | ||
function Foo() { | ||
this.a = "b"; | ||
} | ||
var client = require("./index").createClient(); | ||
Foo.prototype.bar = 123; | ||
Foo.prototype.print_bar = function () { | ||
console.log(this.bar); | ||
}; | ||
var f = new Foo(); | ||
f.print_bar(); | ||
client.hmset("test hash", "key 1", "val 1", "key 2", "val 2"); |
@@ -398,2 +398,4 @@ /*global require console setTimeout process Buffer */ | ||
// TODO - add test for HMSET. It is special. Test for all forms as well as optional callbacks | ||
tests.HMGET = function () { | ||
@@ -400,0 +402,0 @@ var key1 = "test hash 1", key2 = "test hash 2", name = "HMGET"; |
135308
2864