simple_cache_lock 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: c879c36b77e537dd0ac719a378af55edf8267cdb1174a57455a1c8011d5dd48f
4
- data.tar.gz: 2b79e4f23d7d305d005f296b97d424f5aee77139a0c7166f06070a0e04408164
3
+ metadata.gz: a27f78edb49c91aa458f24e2957571127671f1ba12e368153cec5704043c96f8
4
+ data.tar.gz: f11be6f43ddf7969aa76606330447e3ec0b8ccac402a92a8ba3929da315b573f
5
5
  SHA512:
6
- metadata.gz: f1a210591fc0460db2d14ac4345501027933e830ef4df8dbff9fac0da831f2831eac8d71405f66aec611ca378edbf89cc4b18abb6fcf0f49b55df5aa68a6c48c
7
- data.tar.gz: abd5e232c390db9af9245659ce4b3d8a362e35485fa2daf3a2052285173dac0cd211ffa300b398d6d9330c281ef19467889b58bcb0f0a0232f3acce16ba2ab80
6
+ metadata.gz: c0d55a848103202bc49d48d5035d5eebf6dc4f7e684571c459c8e0ccb9519ab3f4cb19da5c2e6469c90b74bcd26809413252897b973116763333e7a4f904fd7e
7
+ data.tar.gz: 544af084d36c5221beb877529e93f91e4318fb57e6670d9fed2b90430313da63b233109eaa9f9b2fcb8792d096ea5448eba81bde365e0b51becf1f952ca58827
@@ -28,7 +28,7 @@ module SimpleCacheLock
28
28
 
29
29
  if cache_store.exist? content_cache_key
30
30
  redlock.unlock(is_locked) unless is_locked
31
- return cache_store.read key
31
+ return cache_store.read content_cache_key
32
32
  end
33
33
  end
34
34
 
@@ -1,3 +1,3 @@
1
1
  module SimpleCacheLock
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_cache_lock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saiqul Haq