resque-lock 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/resque/plugins/lock.rb +2 -2
  2. metadata +1 -1
@@ -49,8 +49,8 @@ module Resque
49
49
  end
50
50
 
51
51
  # Convenience method, not used internally.
52
- def locked?
53
- Resque.redis.exist(lock)
52
+ def locked?(*args)
53
+ Resque.redis.exist(lock(*args))
54
54
  end
55
55
 
56
56
  # Where the magic happens.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath