evt-retry 0.1.2.1 → 0.1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/retry/retry.rb +1 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0858ebb71e9f1bf0136bee2cd4a95e9bce3d2896afe53093fd6954323c60e2b
4
- data.tar.gz: 7050a039f26137b3b54be6c854ee4f44b832d2e0698002dfa6d3d8b4b4ef67fc
3
+ metadata.gz: 1f111120936ea1b38ac3e1036dea59fe29903a12c3e32db732f17ddf075960e4
4
+ data.tar.gz: ba07908df2595ee6ed5406ffca7251a5a458fe9a9e4f3ad51f91e6fe44555f88
5
5
  SHA512:
6
- metadata.gz: 3c7fe677fee3673097930922eb50176d30e0cb94850213beb69c788b8a1a837071166c104e839ad6b732c03b4cc2d80b98ee1df4b0164997d1b4aa0cc5223423
7
- data.tar.gz: 7fe3bd1a7868b0221ebc9ea18a516748fb1701840beea24c63d40429f8bf8130d92a07fe3af95733941714b839dfa0d7684954872d07e98984a3cc7cd231035b
6
+ metadata.gz: 27556814b70d3aca34cfb04750f67ad9eaa17747759511be5c3813a6df3983b058df0e5a7f0b992b603ad652875562735d10b6a11cb721f3a6a474969b13cd91
7
+ data.tar.gz: 9cdbab73c194bb8ae2187bd98a2c20e36308e97faa0558d9e8b3f35f33267fb2f402fa7d21b5f6e6ae2b8cfa64ccc4ddf67b12b88e79d0314e78694d25823796
@@ -50,7 +50,6 @@ class Retry
50
50
  action_executed&.call(cycle)
51
51
 
52
52
  if success
53
- logger.debug { "Attempt succeed (Cycle: #{cycle})" }
54
53
  break
55
54
  end
56
55
 
@@ -71,7 +70,7 @@ class Retry
71
70
  end
72
71
 
73
72
  unless error.nil?
74
- logger.debug { "All attempts failed. Will not retry. (Cycle: #{cycle}, Error: #{error.class.name})" }
73
+ logger.info { "All attempts failed. Will not retry. Raising error: #{error.class.name}. (Cycle: #{cycle})" }
75
74
  raise error
76
75
  end
77
76
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-retry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2.1
4
+ version: 0.1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project