judges 0.53.8 → 0.53.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c75fa1f015fb78647c5f976812eb3a93032c12643c41c5d2b008c7048bba3825
4
- data.tar.gz: 1ddcb544a2593bee9a516a2301e81d67f223b112e48c31c2beda96e6356123df
3
+ metadata.gz: 60034ea48fc61859326f81b86d8cd41961a0dffc2ffbee2517e5045e2038d9c6
4
+ data.tar.gz: c20e1a6c297801c9a297e298fa3647327994e68fed1372bdc91b94e1bbea0df6
5
5
  SHA512:
6
- metadata.gz: 6d786a711fafe73654f96b7f0d3abc36ebe78f542d0f631d7d14afc7b883e893db641aad061e7ca266eab62905de9e87eacd326b05a40590e76f536f9acacf13
7
- data.tar.gz: 54d21760d04b90f45a82ecd672b60f228fbc308a16c5b3998751feedfc9830a2dafc7d23d3fb090f68c10bb213e6106fac9343c0898f340c2a2c51b93e28d2ec
6
+ metadata.gz: e1f0a903fc6a01db440613f958b157ba3b44500c632aa4433cd0683b3227f28ffb24ed7b2d1d6a63e76e95ec7993a132c514b85931e39af152d680bf605ba784
7
+ data.tar.gz: 8c7ed1d12b3e7c3c8b96210256044bd2068d4e2aae5d061a83b42863091e1774ef735707dc0a191fddf31758dc2547cd336e4078054046d3ce40974c77059c9e
data/Gemfile.lock CHANGED
@@ -80,7 +80,7 @@ GEM
80
80
  ellipsized (0.3.0)
81
81
  ethon (0.17.0)
82
82
  ffi (>= 1.15.0)
83
- factbase (0.16.4)
83
+ factbase (0.16.7)
84
84
  backtrace (~> 0.4)
85
85
  decoor (~> 0.1)
86
86
  ellipsized (~> 0.3)
@@ -137,23 +137,23 @@ GEM
137
137
  multipart-post (2.4.1)
138
138
  net-http (0.6.0)
139
139
  uri
140
- nokogiri (1.18.9-aarch64-linux-gnu)
140
+ nokogiri (1.18.10-aarch64-linux-gnu)
141
141
  racc (~> 1.4)
142
- nokogiri (1.18.9-aarch64-linux-musl)
142
+ nokogiri (1.18.10-aarch64-linux-musl)
143
143
  racc (~> 1.4)
144
- nokogiri (1.18.9-arm-linux-gnu)
144
+ nokogiri (1.18.10-arm-linux-gnu)
145
145
  racc (~> 1.4)
146
- nokogiri (1.18.9-arm-linux-musl)
146
+ nokogiri (1.18.10-arm-linux-musl)
147
147
  racc (~> 1.4)
148
- nokogiri (1.18.9-arm64-darwin)
148
+ nokogiri (1.18.10-arm64-darwin)
149
149
  racc (~> 1.4)
150
- nokogiri (1.18.9-x64-mingw-ucrt)
150
+ nokogiri (1.18.10-x64-mingw-ucrt)
151
151
  racc (~> 1.4)
152
- nokogiri (1.18.9-x86_64-darwin)
152
+ nokogiri (1.18.10-x86_64-darwin)
153
153
  racc (~> 1.4)
154
- nokogiri (1.18.9-x86_64-linux-gnu)
154
+ nokogiri (1.18.10-x86_64-linux-gnu)
155
155
  racc (~> 1.4)
156
- nokogiri (1.18.9-x86_64-linux-musl)
156
+ nokogiri (1.18.10-x86_64-linux-musl)
157
157
  racc (~> 1.4)
158
158
  online (0.1.0)
159
159
  timeout (~> 0.4)
@@ -164,7 +164,7 @@ GEM
164
164
  parser (3.3.9.0)
165
165
  ast (~> 2.4.1)
166
166
  racc
167
- prism (1.4.0)
167
+ prism (1.5.1)
168
168
  public_suffix (6.0.2)
169
169
  qbash (0.4.5)
170
170
  backtrace (> 0)
@@ -176,7 +176,7 @@ GEM
176
176
  rake (13.3.0)
177
177
  random-port (0.7.5)
178
178
  tago (> 0)
179
- regexp_parser (2.11.2)
179
+ regexp_parser (2.11.3)
180
180
  retries (0.0.5)
181
181
  rexml (3.4.4)
182
182
  rubocop (1.80.2)
@@ -16,9 +16,9 @@ Feature: Test
16
16
  And Exit code is zero
17
17
 
18
18
  Scenario: Factbase version can be set
19
- When I run bin/judges with "--factbase 0.16.4 --verbose test --judge guess ./fixtures"
19
+ When I run bin/judges with "--factbase 0.16.7 --verbose test --judge guess ./fixtures"
20
20
  Then Exit code is zero
21
- And Stdout contains "Factbase version to be used: '0.16.4'"
21
+ And Stdout contains "Factbase version to be used: '0.16.7'"
22
22
 
23
23
  Scenario: Simple test of no judges
24
24
  Given I run bin/judges with "test --judge absent_for_sure ./fixtures"
@@ -94,7 +94,7 @@ Feature: Update
94
94
  Then I run bin/judges with "--verbose update --timeout 1 --quiet . foo.fb"
95
95
  Then Stdout contains "execution expired"
96
96
  Then Stdout contains "1 judge(s) processed"
97
- Then Stdout contains "Update completed in 1 cycle(s), did 0i/0d/0a"
97
+ Then Stdout contains "Update completed in 1 cycle(s), did nothing"
98
98
  And Exit code is zero
99
99
 
100
100
  Scenario: Simple run of a few judges, with a lib
data/judges.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
10
10
  s.required_ruby_version = '>=3.2'
11
11
  s.name = 'judges'
12
- s.version = '0.53.8'
12
+ s.version = '0.53.9'
13
13
  s.license = 'MIT'
14
14
  s.summary = 'Command-Line Tool for a Factbase'
15
15
  s.description =
@@ -74,6 +74,7 @@ class Judges::Update
74
74
  loop_them(impex, judges, fb, opts, options)
75
75
  end
76
76
  rescue Timeout::Error, Timeout::ExitException => e
77
+ @loog.error("Terminated due to --lifetime=#{opts['lifetime']}")
77
78
  raise e unless opts['quiet']
78
79
  @loog.info("Had to stop due to the --lifetime=#{opts['lifetime']}")
79
80
  ensure
@@ -238,6 +239,7 @@ class Judges::Update
238
239
  judge.run(fb, global, local, options)
239
240
  end
240
241
  rescue Timeout::Error, Timeout::ExitException => e
242
+ @loog.error("Terminated due to --timeout=#{opts['timeout']}")
241
243
  errors << "Judge #{judge.name} stopped by timeout after #{start.ago}: #{e.message}"
242
244
  end
243
245
  fb.churn
data/lib/judges.rb CHANGED
@@ -8,5 +8,5 @@
8
8
  # Copyright:: Copyright (c) 2024-2025 Yegor Bugayenko
9
9
  # License:: MIT
10
10
  module Judges
11
- VERSION = '0.53.8' unless const_defined?(:VERSION)
11
+ VERSION = '0.53.9' unless const_defined?(:VERSION)
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judges
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.8
4
+ version: 0.53.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko