RubyGems
npm
Organizations
Log in
Sign up
RubyGems
resque-lock
Versions diffs
0.1.0 → 0.1.1
resque-lock 0.1.0 → 0.1.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/resque/plugins/lock.rb
+2
-2
metadata
+1
-1
data/lib/resque/plugins/lock.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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