judges 0.26.0 → 0.26.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -2
- data/Gemfile.lock +30 -30
- data/assets/index.xsl +12 -0
- data/judges.gemspec +1 -1
- data/lib/judges/commands/push.rb +1 -1
- data/lib/judges.rb +1 -1
- data/test/commands/test_push.rb +11 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d63aeb8f8b74f82c29128b4a8106fa8b51def765011a1388040b1938f64b150c
|
4
|
+
data.tar.gz: 390ccdd6187927993548da9854ed8dfaa1eadb91e858e791f16d1a7f0c549774
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 295de9b2be80178f94a719eae6cf0fefb37872b39a305899f543c795318f3dddc27a52af6ccca4faaf6ece019db004d725af33f27a893175b4f405d35ab9a3b7
|
7
|
+
data.tar.gz: a9bb032efbb194da0bbcbc34a5f7141f8a9eda7555ae9c157569cc3aeb4669bc90f8761390c13c31a58802d7e0c47a2bfa8340b5de4d557a2e538b6e4e9dcd97
|
data/Gemfile
CHANGED
@@ -29,8 +29,8 @@ gem 'minitest-reporters', '1.7.1', require: false
|
|
29
29
|
gem 'net-ping', '2.0.8', require: false
|
30
30
|
gem 'rake', '13.2.1', require: false
|
31
31
|
gem 'random-port', '~>0.0', require: false
|
32
|
-
gem 'rspec-rails', '
|
33
|
-
gem 'rubocop', '1.
|
32
|
+
gem 'rspec-rails', '7.0.1', require: false
|
33
|
+
gem 'rubocop', '1.66.0', require: false
|
34
34
|
gem 'rubocop-performance', '1.21.1', require: false
|
35
35
|
gem 'rubocop-rspec', '3.0.4', require: false
|
36
36
|
gem 'simplecov', '0.22.0', require: false
|
data/Gemfile.lock
CHANGED
@@ -20,9 +20,9 @@ PATH
|
|
20
20
|
GEM
|
21
21
|
remote: https://rubygems.org/
|
22
22
|
specs:
|
23
|
-
actionpack (7.2.
|
24
|
-
actionview (= 7.2.
|
25
|
-
activesupport (= 7.2.
|
23
|
+
actionpack (7.2.1)
|
24
|
+
actionview (= 7.2.1)
|
25
|
+
activesupport (= 7.2.1)
|
26
26
|
nokogiri (>= 1.8.5)
|
27
27
|
racc
|
28
28
|
rack (>= 2.2.4, < 3.2)
|
@@ -31,13 +31,13 @@ GEM
|
|
31
31
|
rails-dom-testing (~> 2.2)
|
32
32
|
rails-html-sanitizer (~> 1.6)
|
33
33
|
useragent (~> 0.16)
|
34
|
-
actionview (7.2.
|
35
|
-
activesupport (= 7.2.
|
34
|
+
actionview (7.2.1)
|
35
|
+
activesupport (= 7.2.1)
|
36
36
|
builder (~> 3.1)
|
37
37
|
erubi (~> 1.11)
|
38
38
|
rails-dom-testing (~> 2.2)
|
39
39
|
rails-html-sanitizer (~> 1.6)
|
40
|
-
activesupport (7.2.
|
40
|
+
activesupport (7.2.1)
|
41
41
|
base64
|
42
42
|
bigdecimal
|
43
43
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
@@ -54,8 +54,9 @@ GEM
|
|
54
54
|
ast (2.4.2)
|
55
55
|
backtrace (0.4.0)
|
56
56
|
base64 (0.2.0)
|
57
|
-
baza.rb (0.0.
|
57
|
+
baza.rb (0.0.8)
|
58
58
|
backtrace (> 0)
|
59
|
+
elapsed (> 0)
|
59
60
|
faraday (> 0)
|
60
61
|
faraday-http-cache (> 0)
|
61
62
|
faraday-multipart (> 0)
|
@@ -117,14 +118,14 @@ GEM
|
|
117
118
|
others (> 0)
|
118
119
|
tago (> 0)
|
119
120
|
yaml (~> 0.3)
|
120
|
-
faraday (2.
|
121
|
-
faraday-net_http (>= 2.0, < 3.
|
121
|
+
faraday (2.11.0)
|
122
|
+
faraday-net_http (>= 2.0, < 3.4)
|
122
123
|
logger
|
123
124
|
faraday-http-cache (2.5.1)
|
124
125
|
faraday (>= 0.8)
|
125
126
|
faraday-multipart (1.0.4)
|
126
127
|
multipart-post (~> 2)
|
127
|
-
faraday-net_http (3.
|
128
|
+
faraday-net_http (3.3.0)
|
128
129
|
net-http
|
129
130
|
faraday-retry (2.2.1)
|
130
131
|
faraday (~> 2.0)
|
@@ -146,7 +147,7 @@ GEM
|
|
146
147
|
iri (0.8.0)
|
147
148
|
json (2.7.2)
|
148
149
|
language_server-protocol (3.17.0.3)
|
149
|
-
logger (1.6.
|
150
|
+
logger (1.6.1)
|
150
151
|
loofah (2.22.0)
|
151
152
|
crass (~> 1.0.2)
|
152
153
|
nokogiri (>= 1.12.0)
|
@@ -202,9 +203,9 @@ GEM
|
|
202
203
|
rails-html-sanitizer (1.6.0)
|
203
204
|
loofah (~> 2.21)
|
204
205
|
nokogiri (~> 1.14)
|
205
|
-
railties (7.2.
|
206
|
-
actionpack (= 7.2.
|
207
|
-
activesupport (= 7.2.
|
206
|
+
railties (7.2.1)
|
207
|
+
actionpack (= 7.2.1)
|
208
|
+
activesupport (= 7.2.1)
|
208
209
|
irb (~> 1.13)
|
209
210
|
rackup (>= 1.0.0)
|
210
211
|
rake (>= 12.2)
|
@@ -219,37 +220,36 @@ GEM
|
|
219
220
|
reline (0.5.9)
|
220
221
|
io-console (~> 0.5)
|
221
222
|
retries (0.0.5)
|
222
|
-
rexml (3.3.
|
223
|
+
rexml (3.3.6)
|
223
224
|
strscan
|
224
|
-
rspec-core (3.13.
|
225
|
+
rspec-core (3.13.1)
|
225
226
|
rspec-support (~> 3.13.0)
|
226
|
-
rspec-expectations (3.13.
|
227
|
+
rspec-expectations (3.13.2)
|
227
228
|
diff-lcs (>= 1.2.0, < 2.0)
|
228
229
|
rspec-support (~> 3.13.0)
|
229
230
|
rspec-mocks (3.13.1)
|
230
231
|
diff-lcs (>= 1.2.0, < 2.0)
|
231
232
|
rspec-support (~> 3.13.0)
|
232
|
-
rspec-rails (
|
233
|
-
actionpack (>=
|
234
|
-
activesupport (>=
|
235
|
-
railties (>=
|
233
|
+
rspec-rails (7.0.1)
|
234
|
+
actionpack (>= 7.0)
|
235
|
+
activesupport (>= 7.0)
|
236
|
+
railties (>= 7.0)
|
236
237
|
rspec-core (~> 3.13)
|
237
238
|
rspec-expectations (~> 3.13)
|
238
239
|
rspec-mocks (~> 3.13)
|
239
240
|
rspec-support (~> 3.13)
|
240
241
|
rspec-support (3.13.1)
|
241
|
-
rubocop (1.
|
242
|
+
rubocop (1.66.0)
|
242
243
|
json (~> 2.3)
|
243
244
|
language_server-protocol (>= 3.17.0)
|
244
245
|
parallel (~> 1.10)
|
245
246
|
parser (>= 3.3.0.2)
|
246
247
|
rainbow (>= 2.2.2, < 4.0)
|
247
248
|
regexp_parser (>= 2.4, < 3.0)
|
248
|
-
|
249
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
249
|
+
rubocop-ast (>= 1.32.1, < 2.0)
|
250
250
|
ruby-progressbar (~> 1.7)
|
251
251
|
unicode-display_width (>= 2.4.0, < 3.0)
|
252
|
-
rubocop-ast (1.32.
|
252
|
+
rubocop-ast (1.32.1)
|
253
253
|
parser (>= 3.3.1.0)
|
254
254
|
rubocop-performance (1.21.1)
|
255
255
|
rubocop (>= 1.48.1, < 2.0)
|
@@ -272,13 +272,13 @@ GEM
|
|
272
272
|
sys-uname (1.3.0)
|
273
273
|
ffi (~> 1.1)
|
274
274
|
tago (0.0.2)
|
275
|
-
thor (1.3.
|
275
|
+
thor (1.3.2)
|
276
276
|
typhoeus (1.4.1)
|
277
277
|
ethon (>= 0.9.0)
|
278
278
|
tzinfo (2.0.6)
|
279
279
|
concurrent-ruby (~> 1.0)
|
280
280
|
unicode-display_width (2.5.0)
|
281
|
-
uri (0.13.
|
281
|
+
uri (0.13.1)
|
282
282
|
useragent (0.16.10)
|
283
283
|
w3c_validators (1.3.7)
|
284
284
|
json (>= 1.8)
|
@@ -291,7 +291,7 @@ GEM
|
|
291
291
|
webrick (1.8.1)
|
292
292
|
yaml (0.3.0)
|
293
293
|
yard (0.9.36)
|
294
|
-
zeitwerk (2.6.
|
294
|
+
zeitwerk (2.6.18)
|
295
295
|
|
296
296
|
PLATFORMS
|
297
297
|
aarch64-linux
|
@@ -310,8 +310,8 @@ DEPENDENCIES
|
|
310
310
|
net-ping (= 2.0.8)
|
311
311
|
rake (= 13.2.1)
|
312
312
|
random-port (~> 0.0)
|
313
|
-
rspec-rails (=
|
314
|
-
rubocop (= 1.
|
313
|
+
rspec-rails (= 7.0.1)
|
314
|
+
rubocop (= 1.66.0)
|
315
315
|
rubocop-performance (= 1.21.1)
|
316
316
|
rubocop-rspec (= 3.0.4)
|
317
317
|
simplecov (= 0.22.0)
|
data/assets/index.xsl
CHANGED
@@ -125,9 +125,21 @@ SOFTWARE.
|
|
125
125
|
<xsl:text> bytes, version </xsl:text>
|
126
126
|
<xsl:value-of select="fb/@version"/>
|
127
127
|
<xsl:text>.</xsl:text>
|
128
|
+
<br/>
|
129
|
+
<span id="current-time">Loading current time...</span>
|
128
130
|
</p>
|
129
131
|
</footer>
|
130
132
|
</section>
|
133
|
+
<script type="text/javascript">
|
134
|
+
function updateTime() {
|
135
|
+
const now = new Date();
|
136
|
+
const isoTime = now.toISOString();
|
137
|
+
const timeElement = document.getElementById('current-time');
|
138
|
+
timeElement.textContent = `Current time: ${isoTime}`;
|
139
|
+
}
|
140
|
+
updateTime();
|
141
|
+
setInterval(updateTime, 1000);
|
142
|
+
</script>
|
131
143
|
</body>
|
132
144
|
</html>
|
133
145
|
</xsl:template>
|
data/judges.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
27
27
|
s.required_ruby_version = '>=3.2'
|
28
28
|
s.name = 'judges'
|
29
|
-
s.version = '0.26.
|
29
|
+
s.version = '0.26.1'
|
30
30
|
s.license = 'MIT'
|
31
31
|
s.summary = 'Command-Line Tool for a Factbase'
|
32
32
|
s.description =
|
data/lib/judges/commands/push.rb
CHANGED
@@ -53,7 +53,7 @@ class Judges::Push
|
|
53
53
|
timeout: (opts['timeout'] || 30).to_i,
|
54
54
|
loog: @loog,
|
55
55
|
retries: (opts['retries'] || 3).to_i,
|
56
|
-
|
56
|
+
compress: opts.fetch('zip', true)
|
57
57
|
)
|
58
58
|
elapsed(@loog, level: Logger::INFO) do
|
59
59
|
baza.lock(name, opts['owner'])
|
data/lib/judges.rb
CHANGED
data/test/commands/test_push.rb
CHANGED
@@ -53,6 +53,17 @@ class TestPush < Minitest::Test
|
|
53
53
|
},
|
54
54
|
['foo', file]
|
55
55
|
)
|
56
|
+
Judges::Push.new(Loog::NULL).run(
|
57
|
+
{
|
58
|
+
'token' => '000',
|
59
|
+
'host' => 'example.org',
|
60
|
+
'port' => 443,
|
61
|
+
'ssl' => true,
|
62
|
+
'owner' => 'none',
|
63
|
+
'zip' => false
|
64
|
+
},
|
65
|
+
['foo', file]
|
66
|
+
)
|
56
67
|
end
|
57
68
|
end
|
58
69
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: judges
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.26.
|
4
|
+
version: 0.26.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|