fbe 0.38.1 → 0.38.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +16 -16
- data/lib/fbe/conclude.rb +8 -0
- data/lib/fbe.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84ae98aaec66eaacc0865c0be05fc5490305a5e723c402c66eabc65d9d5490f2
|
4
|
+
data.tar.gz: 4d3922a6dbfd4b04d8ac2eda2a155fda33ddc3e2c71886c0b99d61558830ff26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15d6d7d1b03ebe56d06fef55c9981ccd6a97c5c072bbf54a81e87c9841323659af82124b6e968e2a4d9d1495672830249c8b66a7273f8411b56a7d6b85f9b0a5
|
7
|
+
data.tar.gz: 79b5bd15396e2bed6317b1f202cd07f302c8a0db674165fafa1796da2119c0e22e2d218211106f4d6438b1aaa7012f1f102f80f59250908481876a00ebc6b956
|
data/Gemfile.lock
CHANGED
@@ -28,7 +28,7 @@ PATH
|
|
28
28
|
GEM
|
29
29
|
remote: https://rubygems.org/
|
30
30
|
specs:
|
31
|
-
activesupport (8.0.
|
31
|
+
activesupport (8.0.3)
|
32
32
|
base64
|
33
33
|
benchmark (>= 0.3)
|
34
34
|
bigdecimal
|
@@ -47,7 +47,7 @@ GEM
|
|
47
47
|
ast (2.4.3)
|
48
48
|
backtrace (0.4.1)
|
49
49
|
base64 (0.3.0)
|
50
|
-
baza.rb (0.
|
50
|
+
baza.rb (0.11.0)
|
51
51
|
backtrace (~> 0.4)
|
52
52
|
elapsed (~> 0.2)
|
53
53
|
faraday (~> 2.13)
|
@@ -107,7 +107,7 @@ GEM
|
|
107
107
|
filesize (0.2.0)
|
108
108
|
gli (2.22.2)
|
109
109
|
ostruct
|
110
|
-
graphql (2.5.
|
110
|
+
graphql (2.5.13)
|
111
111
|
base64
|
112
112
|
fiber-storage
|
113
113
|
logger
|
@@ -120,21 +120,21 @@ GEM
|
|
120
120
|
intercepted (0.2.0)
|
121
121
|
iri (0.11.2)
|
122
122
|
joined (0.4.0)
|
123
|
-
json (2.
|
124
|
-
judges (0.
|
123
|
+
json (2.15.0)
|
124
|
+
judges (0.54.0)
|
125
125
|
backtrace (~> 0.4)
|
126
|
-
baza.rb (~> 0.
|
126
|
+
baza.rb (~> 0.10)
|
127
127
|
concurrent-ruby (~> 1.2)
|
128
|
-
elapsed (~> 0.
|
129
|
-
factbase (~> 0.
|
128
|
+
elapsed (~> 0.2)
|
129
|
+
factbase (~> 0.16)
|
130
130
|
gli (~> 2.21)
|
131
131
|
iri (~> 0.11)
|
132
132
|
loog (~> 0.6)
|
133
133
|
moments (~> 0.3)
|
134
134
|
nokogiri (~> 1.10)
|
135
|
-
others (~> 0.
|
135
|
+
others (~> 0.1)
|
136
136
|
retries (~> 0.0)
|
137
|
-
tago (~> 0.
|
137
|
+
tago (~> 0.2)
|
138
138
|
timeout (~> 0.4)
|
139
139
|
total (~> 0.4)
|
140
140
|
typhoeus (~> 1.3)
|
@@ -200,7 +200,7 @@ GEM
|
|
200
200
|
rubocop-ast (>= 1.46.0, < 2.0)
|
201
201
|
ruby-progressbar (~> 1.7)
|
202
202
|
unicode-display_width (>= 2.4.0, < 4.0)
|
203
|
-
rubocop-ast (1.
|
203
|
+
rubocop-ast (1.47.1)
|
204
204
|
parser (>= 3.3.7.2)
|
205
205
|
prism (~> 1.4)
|
206
206
|
rubocop-minitest (0.38.2)
|
@@ -228,12 +228,12 @@ GEM
|
|
228
228
|
simplecov (~> 0.19)
|
229
229
|
simplecov-html (0.13.2)
|
230
230
|
simplecov_json_formatter (0.1.4)
|
231
|
-
sqlite3 (2.7.
|
232
|
-
sqlite3 (2.7.
|
233
|
-
sqlite3 (2.7.
|
234
|
-
sqlite3 (2.7.
|
231
|
+
sqlite3 (2.7.4-arm64-darwin)
|
232
|
+
sqlite3 (2.7.4-x64-mingw-ucrt)
|
233
|
+
sqlite3 (2.7.4-x86_64-darwin)
|
234
|
+
sqlite3 (2.7.4-x86_64-linux-gnu)
|
235
235
|
strscan (3.1.5)
|
236
|
-
tago (0.
|
236
|
+
tago (0.3.0)
|
237
237
|
timeout (0.4.3)
|
238
238
|
total (0.4.1)
|
239
239
|
typhoeus (1.5.0)
|
data/lib/fbe/conclude.rb
CHANGED
@@ -195,6 +195,14 @@ class Fbe::Conclude
|
|
195
195
|
# end
|
196
196
|
# end
|
197
197
|
def roll(&)
|
198
|
+
if @lifetime_aware && @options.lifetime && Time.now - @epoch > @options.lifetime * 0.9
|
199
|
+
@loog.debug("We ran out of lifetime (#{@epoch.ago} already), can't even start")
|
200
|
+
return
|
201
|
+
end
|
202
|
+
if @timeout_aware && @options.timeout && Time.now - @kickoff > @options.timeout * 0.9
|
203
|
+
@loog.debug("We've spent more than #{@kickoff.ago}, won't even start")
|
204
|
+
return
|
205
|
+
end
|
198
206
|
passed = 0
|
199
207
|
oct = Fbe.octo(loog: @loog, options: @options, global: @global)
|
200
208
|
@fb.query(@query).each do |a|
|
data/lib/fbe.rb
CHANGED