judges 0.15.4 → 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b319a8d9796217efe6c3f17eda8dff446309527fdb1fa8bcf5eff2b8e49cdc7
4
- data.tar.gz: 7d49b8b47d90c975095d6b449467bf4d77e630a1722a00217e355c1ac0cdf930
3
+ metadata.gz: '085c4d08e376f51c6a9cae8e973f27a4cf7c0b418679e94643a6f8a336c94f92'
4
+ data.tar.gz: 8cb2893668c8ac8d41512c4c26904ea77e23d326b01d4307f7548b33853f682b
5
5
  SHA512:
6
- metadata.gz: 38d655fb2487146e02aaa8e6b46f94c15fb37d54713f89588319c61864e4134fa9b6b02faca7686c4dfb2e6522fc5c904363ccabc19f456acb97ee2a8902449c
7
- data.tar.gz: b145f0fa4018c72269cd4709f4d11bfe6d29e6d56be78db9da25fdcfa4d588cec294b51c7dec094c356d908b9c6d8a725efeea5e2028fdb183ae220651796c6f
6
+ metadata.gz: 41a4b6dc87cd1d374b02d4cc220c82e89cb2ddfd67414af0061e5470de392a2b5ee666b3a4be91fcbcbdfa72fcc30dc8e9789f5355a9bc7e972188dd13a35adb
7
+ data.tar.gz: 3e4f59993b5b96456dba23339c9f3c1624e8aa010d0f45379576cfdde5ce55681a1f7e4f15013d158af4a136b06946f0396bd0593ba76e2e47b3973765f69a72
data/Gemfile CHANGED
@@ -29,7 +29,7 @@ gem 'net-ping', '2.0.8', require: false
29
29
  gem 'rake', '13.2.1', require: false
30
30
  gem 'random-port', '~>0.0', require: false
31
31
  gem 'rspec-rails', '6.1.3', require: false
32
- gem 'rubocop', '1.64.1', require: false
32
+ gem 'rubocop', '1.65.0', require: false
33
33
  gem 'rubocop-performance', '1.21.1', require: false
34
34
  gem 'rubocop-rspec', '3.0.2', require: false
35
35
  gem 'simplecov', '0.22.0', require: false
data/Gemfile.lock CHANGED
@@ -2,17 +2,17 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  judges (0.0.0)
5
- backtrace (~> 0.3)
5
+ backtrace
6
6
  concurrent-ruby (~> 1.2)
7
- factbase (~> 0.0)
7
+ factbase
8
8
  gli (~> 2.21)
9
- iri (~> 0.8)
10
- loog (~> 0.2)
9
+ iri
10
+ loog
11
11
  moments (~> 0.3)
12
12
  nokogiri (~> 1.10)
13
- others (~> 0.0)
14
- retries (~> 0.0)
15
- tago (~> 0.0)
13
+ others
14
+ retries
15
+ tago
16
16
  typhoeus (~> 1.3)
17
17
 
18
18
  GEM
@@ -142,14 +142,14 @@ GEM
142
142
  racc (~> 1.4)
143
143
  others (0.0.3)
144
144
  parallel (1.25.1)
145
- parser (3.3.3.0)
145
+ parser (3.3.4.0)
146
146
  ast (~> 2.4.1)
147
147
  racc
148
148
  psych (5.1.2)
149
149
  stringio
150
150
  public_suffix (6.0.0)
151
151
  racc (1.8.0)
152
- rack (3.1.6)
152
+ rack (3.1.7)
153
153
  rack-session (2.0.0)
154
154
  rack (>= 3.0.0)
155
155
  rack-test (2.1.0)
@@ -200,13 +200,13 @@ GEM
200
200
  rspec-mocks (~> 3.13)
201
201
  rspec-support (~> 3.13)
202
202
  rspec-support (3.13.1)
203
- rubocop (1.64.1)
203
+ rubocop (1.65.0)
204
204
  json (~> 2.3)
205
205
  language_server-protocol (>= 3.17.0)
206
206
  parallel (~> 1.10)
207
207
  parser (>= 3.3.0.2)
208
208
  rainbow (>= 2.2.2, < 4.0)
209
- regexp_parser (>= 1.8, < 3.0)
209
+ regexp_parser (>= 2.4, < 3.0)
210
210
  rexml (>= 3.2.5, < 4.0)
211
211
  rubocop-ast (>= 1.31.1, < 2.0)
212
212
  ruby-progressbar (~> 1.7)
@@ -265,7 +265,7 @@ DEPENDENCIES
265
265
  rake (= 13.2.1)
266
266
  random-port (~> 0.0)
267
267
  rspec-rails (= 6.1.3)
268
- rubocop (= 1.64.1)
268
+ rubocop (= 1.65.0)
269
269
  rubocop-performance (= 1.21.1)
270
270
  rubocop-rspec (= 3.0.2)
271
271
  simplecov (= 0.22.0)
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.15.4'
29
+ s.version = '0.15.5'
30
30
  s.license = 'MIT'
31
31
  s.summary = 'Command-Line Tool for a Factbase'
32
32
  s.description =
@@ -42,17 +42,17 @@ Gem::Specification.new do |s|
42
42
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
43
43
  s.rdoc_options = ['--charset=UTF-8']
44
44
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
45
- s.add_runtime_dependency 'backtrace', '~>0.3'
46
- s.add_runtime_dependency 'concurrent-ruby', '~>1.2'
47
- s.add_runtime_dependency 'factbase', '~>0.0'
48
- s.add_runtime_dependency 'gli', '~>2.21'
49
- s.add_runtime_dependency 'iri', '~>0.8'
50
- s.add_runtime_dependency 'loog', '~>0.2'
51
- s.add_runtime_dependency 'moments', '~>0.3'
52
- s.add_runtime_dependency 'nokogiri', '~>1.10'
53
- s.add_runtime_dependency 'others', '~>0.0'
54
- s.add_runtime_dependency 'retries', '~>0.0'
55
- s.add_runtime_dependency 'tago', '~>0.0'
56
- s.add_runtime_dependency 'typhoeus', '~>1.3'
45
+ s.add_dependency 'backtrace'
46
+ s.add_dependency 'concurrent-ruby', '~>1.2'
47
+ s.add_dependency 'factbase'
48
+ s.add_dependency 'gli', '~>2.21'
49
+ s.add_dependency 'iri'
50
+ s.add_dependency 'loog'
51
+ s.add_dependency 'moments', '~>0.3'
52
+ s.add_dependency 'nokogiri', '~>1.10'
53
+ s.add_dependency 'others'
54
+ s.add_dependency 'retries'
55
+ s.add_dependency 'tago'
56
+ s.add_dependency 'typhoeus', '~>1.3'
57
57
  s.metadata['rubygems_mfa_required'] = 'true'
58
58
  end
data/lib/judges/judge.rb CHANGED
@@ -45,7 +45,7 @@ class Judges::Judge
45
45
  $loog = @loog
46
46
  $global = global
47
47
  $local = local
48
- $valve = FakeValve.new if $valve.nil?
48
+ $valve = FakeValve.new unless defined?($valve)
49
49
  unless @lib.nil?
50
50
  raise "Lib dir #{@lib.to_rel} is absent" unless File.exist?(@lib)
51
51
  raise "Lib #{@lib.to_rel} is not a directory" unless File.directory?(@lib)
@@ -81,7 +81,7 @@ class Judges::Judge
81
81
 
82
82
  # Fake valve.
83
83
  class FakeValve
84
- def enter(_)
84
+ def enter(_badge, _why: '')
85
85
  yield
86
86
  end
87
87
  end
data/lib/judges.rb CHANGED
@@ -25,5 +25,5 @@
25
25
  # Copyright:: Copyright (c) 2024 Yegor Bugayenko
26
26
  # License:: MIT
27
27
  module Judges
28
- VERSION = '0.15.4'
28
+ VERSION = '0.15.5'
29
29
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: judges
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
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-07-10 00:00:00.000000000 Z
11
+ date: 2024-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.3'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: concurrent-ruby
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: factbase
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0.0'
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0.0'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: gli
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -70,30 +70,30 @@ dependencies:
70
70
  name: iri
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0.8'
75
+ version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0.8'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: loog
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: '0.2'
89
+ version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
- version: '0.2'
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: moments
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -126,44 +126,44 @@ dependencies:
126
126
  name: others
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - "~>"
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
- version: '0.0'
131
+ version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - "~>"
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
- version: '0.0'
138
+ version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: retries
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - "~>"
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: '0.0'
145
+ version: '0'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - "~>"
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: '0.0'
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: tago
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - "~>"
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
- version: '0.0'
159
+ version: '0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - "~>"
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
- version: '0.0'
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: typhoeus
169
169
  requirement: !ruby/object:Gem::Requirement