def_retry 0.2.2 → 0.2.3

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: c23a1e9d09322018ffab404e33b2b1829e151b6f
4
- data.tar.gz: 0d4559e96f564bce7ed692f458e06d0d725a9f1d
3
+ metadata.gz: f24f1f078d42c8760e1ad7271bf19dcb18b175d7
4
+ data.tar.gz: a906bbe5d8d2801d2a7d367dc4d0655d9847a56e
5
5
  SHA512:
6
- metadata.gz: eddaa8537a5ef2a8ac0e3e95d1bad3ae1d21a05acc56abd2bd06377e6214d3688d7c73760d2b2792f880bd04e5d670f215a75b7e50e368b13e0e16f69a9e6edc
7
- data.tar.gz: b82d9282f706622ab38b7d799ab854ed46ce967ee369c575d87855358fff6e22e6687aacc4352d30214366729ce12ee003bd826fea324f44a223fa9ba7d8efa1
6
+ metadata.gz: 1724311024ddbdb768b46b241b749fa75485e611a4a49dc0acc52c01beff94a8d9544a1c6bb1fb3e6d2a0ba3257152a2e24d160990e9c6def463d64734ed4e1a
7
+ data.tar.gz: f4cd416dafca7aba366198742c8b1c3961074316e9aaeecac94f29e21be0f79913b304a24cec581cda305f3e9d16e94c0f6a2fec3dbc876889b88a265d2a26fc
@@ -49,7 +49,7 @@ module DefRetry
49
49
  private
50
50
 
51
51
  def run_sleep_strategy
52
- seconds = [(@sleep.respond_to?(:call) ? @sleep.call(@try_count) : @sleep)).to_i, 1].max
52
+ seconds = [(@sleep.respond_to?(:call) ? @sleep.call(@try_count) : @sleep).to_i, 1].max
53
53
  sleep seconds
54
54
  end
55
55
  end
@@ -1,3 +1,3 @@
1
1
  module DefRetry
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: def_retry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Salazar