fbe 0.0.83 → 0.0.85

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: f75e0379657e041287f6d485353fbbbcce1636e1552f1e0c74bda9b49edf0f7f
4
+ data.tar.gz: c247750a225973f8cafae4cfff8258331d559e61e854cb0706af395e28c1fc14
5
5
  SHA512:
6
- metadata.gz: aad6fbd2f387ac6fe8f88111f57e301224279a288ca45d447b3a66f3dba9cc53276438966a68f86544df7e49cbc9b92dcb075a55db29a2c086d8a083d8ae43d1
7
- data.tar.gz: 5c4b9b4379a7565b5e06e2458474d4710f7b4c78791d389fd66da3b14029ea2fbb5e244b86ca69b2555db2edaa6611857f84f268f7f6581950dee7c4f9d73b86
6
+ metadata.gz: 56c469eb86233927f480f4d48351651f6f7ac8caeebb7a313269511c209e06fd605552fe581c23152b0af05c1cb51dce309ea193425bca673307b4d4b331cdc7
7
+ data.tar.gz: dd96a0e7430e6749aa2c9f16d38ea2b6edafbbc39476d1165f7d55ab50a6a1265ec5a0e2cbfe0db321c0a84365e0090c312c8a47fef1956e3bdcddd57c37c9ba
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
+ break
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.85'
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.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko