mlanett/redis-lock — pull request #4 by jamiecobbett (2013-04-12 10:46:25+00:00)
Title: Pass the lock to the supplied block

This enables a block to extend the life of the lock with code such as this:
```ruby
redis.lock("test") do |lock|
array.each do |entry|
do_something(entry)
lock.extend_life(60)
end
end
```