robust-redis-lock 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7887c81cbd17aa2cf7c44a996470c48010477744
4
- data.tar.gz: 39868e7771eb1369f42871fe92eeb9f6d0bd656f
3
+ metadata.gz: 5c4509f9f010da5f920ec6d472145a9ed29f1f8a
4
+ data.tar.gz: fff06187c86fe1a9bbf2b1c399f43d5c42ef9d87
5
5
  SHA512:
6
- metadata.gz: 90415e2ccac376d5abf31155288ffe7b18f1d924dd747f7664e3a4a8f4444b60ce18b75fb366e5407dc00fd4d2df553a194da949eed1a1411457a1d4c809ca37
7
- data.tar.gz: 75bfe500fa348b2a945a7fb20be58eca893402e06a0cd0f2919248d301cc14dac8d11f344a9fb6b239c2c50e981ac3ae057e4aecee7bec9d6f4df59e8ad9bf68
6
+ metadata.gz: c414dff6ab299799b17c1d3addb544e3c265ff013c70b3edbb2e73bc0ba4ae5fa2307a412c72a0535325c9ce597592b78be3a28ed2e0ccd01acbd523532e5bea
7
+ data.tar.gz: c9afd9f8ed1a825105b95b1022413a4c21cbf0bf37a74832e5017005c931bb700cc9717e0ad1fff11584d10432c43d309af812b3adee649b4118aadd2d1a1c2c
data/lib/redis-lock.rb CHANGED
@@ -68,6 +68,7 @@ class Redis::Lock
68
68
  try_unlock
69
69
  end
70
70
  rescue Recovered
71
+ block.call
71
72
  end
72
73
 
73
74
  def lock(options={})
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  class Lock
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robust-redis-lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kareem Kouddous
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-27 00:00:00.000000000 Z
11
+ date: 2015-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -59,3 +59,4 @@ signing_key:
59
59
  specification_version: 4
60
60
  summary: Robust redis lock
61
61
  test_files: []
62
+ has_rdoc: false