cachext 0.5.0 → 0.5.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: 5da982260e1706152de87d9c872a5afa37867ce1
4
- data.tar.gz: 1d079cce845a3f8e0a2af95f86a8be384f8523f6
3
+ metadata.gz: 1ce176338ded7408c62491f1a819189c11a94997
4
+ data.tar.gz: e5c42b0e47d0f91bcf0a9f32158954330eab3b5f
5
5
  SHA512:
6
- metadata.gz: de945e54a8b4d22408b645383b57b586122041e96c5d35bf29c7dd23402938474f2f85dec7bd43ce8f08034580de10d7f08c7944915a5d0b723a167a57766983
7
- data.tar.gz: c96fcf677dfd5712994c451e5fb5677b195da74ed74d193e2eac59be93ce691db0e8b5e1b5edae46479930734867ae3353d558a2e1babc95aa01dac7e951a2b8
6
+ metadata.gz: 873c5006ae27fb4a09d084638f3ca77e63d678187afc7909a239142356b49d8310ea5723c45374365d70d022439ac4d3763e26cdf26277f1bd7ef44e1f860f40
7
+ data.tar.gz: c13514d3e96143c8884ecdb86a2e4dd883cd10ce0ea5b44a2d3f432ac27bfdb73d44953293e09682780523a160f40748c1fee3d2190cbe0c24a72379fba3f8c6
@@ -95,10 +95,10 @@ module Cachext
95
95
  start_time = Time.now
96
96
 
97
97
  until lock_info = lock_manager.lock(lock_key, (heartbeat_expires * 1000).ceil)
98
- sleep rand
99
98
  if Time.now - start_time > max_lock_wait
100
99
  raise Features::Lock::TimeoutWaitingForLock
101
100
  end
101
+ sleep rand
102
102
  end
103
103
 
104
104
  lock_info
@@ -1,3 +1,3 @@
1
1
  module Cachext
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cachext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Plummer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-27 00:00:00.000000000 Z
11
+ date: 2018-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  requirements: []
219
219
  rubyforge_project:
220
- rubygems_version: 2.5.1
220
+ rubygems_version: 2.6.14
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Cache with lock and backup extensions