fbe 0.0.83 → 0.0.84

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fbe/iterate.rb +4 -0
  3. data/lib/fbe.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 650928bcebcf4d25d8f9d1cb38036a3ffddc9169316692023b3be534ccfadf39
4
- data.tar.gz: 2ee99b9be72972ad948457f2c636a746d48161a9e7b3840f00926a39bfa9e7a8
3
+ metadata.gz: 9af0aad17aa024fb5572cde92c99169e2923a7c581306581201c8814f9e46f24
4
+ data.tar.gz: c7ed8ba4fc122775f9ce0690cd2aba47eeff9e24860d5835912406a5ab3ecd12
5
5
  SHA512:
6
- metadata.gz: aad6fbd2f387ac6fe8f88111f57e301224279a288ca45d447b3a66f3dba9cc53276438966a68f86544df7e49cbc9b92dcb075a55db29a2c086d8a083d8ae43d1
7
- data.tar.gz: 5c4b9b4379a7565b5e06e2458474d4710f7b4c78791d389fd66da3b14029ea2fbb5e244b86ca69b2555db2edaa6611857f84f268f7f6581950dee7c4f9d73b86
6
+ metadata.gz: 64c47a8d7e5ec53751fd677321646523d33aef2fcc51674990ca6a94f0b1382ad29f28dd516e0de2bb1366d7e7cd05c3370fbd311c57b472a0cb716ab4fa7377
7
+ data.tar.gz: caa828b8f477167eee3445914baafb72d07764dc25c9462459f0fa49c7157a3bafe17b24c2486203d4c35b0f79e277d5eea2d05b494df4a66a1a96d50e049261
data/lib/fbe/iterate.rb CHANGED
@@ -186,6 +186,10 @@ class Fbe::Iterate
186
186
  @loog.debug("All #{repos.size} repos restarted, quitting after #{start.ago}")
187
187
  break
188
188
  end
189
+ if Time.now - start > timeout
190
+ $loog.info("We are iterating for #{start.ago} already, time to give up")
191
+ next
192
+ end
189
193
  end
190
194
  @loog.debug("Finished scanning #{repos.size} repos in #{start.ago}: #{seen.map { |k, v| "#{k}:#{v}" }.join(', ')}")
191
195
  end
data/lib/fbe.rb CHANGED
@@ -27,5 +27,5 @@
27
27
  # License:: MIT
28
28
  module Fbe
29
29
  # Current version of the gem (changed by +.rultor.yml+ on every release)
30
- VERSION = '0.0.83'
30
+ VERSION = '0.0.84'
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fbe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.83
4
+ version: 0.0.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko