mperham/sidekiq — pull request #263 by statianzo (2012-06-20 22:35:59+00:00)
Title: Handle Redis#zadd return value correctly when Scheduling

[Redis#zadd][1] will return a boolean value when only one item is added. This
was failing to be equal to 1, and caused any `Sidekiq::Client::push`
invocations with an 'at' value to return false, even if they
successfully were stored into redis.

[1]: http://rdoc.info/gems/redis/3.0.0/Redis#zadd-instance_method