redis/redis-rb — pull request #416 by jbochi (2014-03-19 20:05:05+00:00)
Title: Fix mapped_hmset with empty hash

If you try to use `mapped_hmset` with an empty hash, like `r.mapped_hmset("foo", {})`, the following exception is raised:

Redis::CommandError: ERR wrong number of arguments for 'hmset' command
/Users/juarez.bochi/projects/redis-rb/lib/redis/client.rb:97:in `call'
/Users/juarez.bochi/projects/redis-rb/lib/redis.rb:1795:in `block in hmset'
/Users/juarez.bochi/projects/redis-rb/lib/redis.rb:37:in `block in synchronize'