redlocker 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/redlocker/lock.rb +1 -1
- data/lib/redlocker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afd499be81e4fc93441db8d4f4f79a7454a94a1786985cb2481008c28865e3de
|
4
|
+
data.tar.gz: 0ac4863f2783b2c800260107f98143f447f16f54c3861460b754601e72418fe5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edea2edcc4c5c82eed7a9dfefef7f08ff5e08d28c1eb89fdab3cdf6acbe8afe5cb04c535f3ca2476080e20048bdfebb163f2fefb0c7ef2509a89b257752b5025
|
7
|
+
data.tar.gz: 0ea331acf71e8e6eb9bd1d113e6b931b272197ee5e41b21eebb132954ee8f19ed915de48106628d8bc37d2da43c893ed74645af69663357246b04f433baa5b67
|
data/CHANGELOG.md
CHANGED
data/lib/redlocker/lock.rb
CHANGED
@@ -38,7 +38,7 @@ module Redlocker
|
|
38
38
|
# acquired.
|
39
39
|
|
40
40
|
def acquire(&block)
|
41
|
-
raise(TimeoutError, "Did not get lock within #{timeout} seconds") unless acquire_lock
|
41
|
+
raise(TimeoutError, "Did not get lock #{name} within #{timeout} seconds") unless acquire_lock
|
42
42
|
|
43
43
|
begin
|
44
44
|
keep_lock(&block)
|
data/lib/redlocker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redlocker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Vetter
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|