judges 0.53.6 → 0.53.7

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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +20 -20
  3. data/features/test.feature +2 -2
  4. data/judges.gemspec +2 -2
  5. data/lib/judges/commands/push.rb +3 -3
  6. data/lib/judges.rb +1 -1
  7. metadata +1 -39
  8. data/.0pdd.yml +0 -8
  9. data/.gitattributes +0 -7
  10. data/.github/workflows/actionlint.yml +0 -25
  11. data/.github/workflows/codecov.yml +0 -27
  12. data/.github/workflows/copyrights.yml +0 -19
  13. data/.github/workflows/eslint.yml +0 -20
  14. data/.github/workflows/markdown-lint.yml +0 -23
  15. data/.github/workflows/pdd.yml +0 -19
  16. data/.github/workflows/rake.yml +0 -28
  17. data/.github/workflows/reuse.yml +0 -19
  18. data/.github/workflows/typos.yml +0 -19
  19. data/.github/workflows/xcop.yml +0 -19
  20. data/.github/workflows/yamllint.yml +0 -19
  21. data/.gitignore +0 -12
  22. data/.pdd +0 -7
  23. data/.rubocop.yml +0 -53
  24. data/.rultor.yml +0 -37
  25. data/renovate.json +0 -6
  26. data/test/commands/test_download.rb +0 -127
  27. data/test/commands/test_eval.rb +0 -28
  28. data/test/commands/test_import.rb +0 -40
  29. data/test/commands/test_inspect.rb +0 -44
  30. data/test/commands/test_join.rb +0 -38
  31. data/test/commands/test_print.rb +0 -146
  32. data/test/commands/test_pull.rb +0 -77
  33. data/test/commands/test_push.rb +0 -79
  34. data/test/commands/test_test.rb +0 -217
  35. data/test/commands/test_trim.rb +0 -31
  36. data/test/commands/test_update.rb +0 -282
  37. data/test/commands/test_upload.rb +0 -119
  38. data/test/test__helper.rb +0 -45
  39. data/test/test_bin.rb +0 -26
  40. data/test/test_categories.rb +0 -33
  41. data/test/test_impex.rb +0 -35
  42. data/test/test_judge.rb +0 -114
  43. data/test/test_judges.rb +0 -137
  44. data/test/test_options.rb +0 -88
  45. data/test/test_to_rel.rb +0 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4ce74563434070d0b072c7520db2910b379abb3d0e61481b27bff614d1c4d81
4
- data.tar.gz: 5c648ab4047eb54531c7965917a3ab5d8b72f9fc210e4390ffefb71bf0b6704f
3
+ metadata.gz: c24a03c87197bb97e5e92654de15874c1e104e22592ff3cd511be7262722c728
4
+ data.tar.gz: c968a06426c1ad81022ee528bacec3a108e2aaa34a59de8e08d015dae65271f9
5
5
  SHA512:
6
- metadata.gz: c03efa0a8ac0b836de8520e6b714b0b560448761d250f5c1da2eafa5d1d3d7befc4109e9bbe27fdf289144fa83683a95ed813ba031129db60651f16617fe0fd3
7
- data.tar.gz: 10bb9e37437f53ea6c291e04131387f63a1bcd7b3ce51f061f8b13102c3cc0052f89b131f8f80c6f8be5c8bebff3db106e612b6cb6428a99e24f916cd2db6837
6
+ metadata.gz: bc644b322013055974b5f5b6b81f39ce2f846b691ed66b0430513c15b46ec1666ebf4953c5c4c86a6ca47d437a2393b8ddc8964c5b06462163162872087791db
7
+ data.tar.gz: 0e109826b79327638a57e7af592e167732c90d54a4774f6cc5509a1de889ecaf2b6f4d732a655dbcc73eed2601059fd559a7d1bc065af48837f3cc18d098c1ff
data/Gemfile.lock CHANGED
@@ -28,9 +28,9 @@ GEM
28
28
  ast (2.4.3)
29
29
  backtrace (0.4.1)
30
30
  base64 (0.3.0)
31
- baza.rb (0.10.1)
31
+ baza.rb (0.10.2)
32
32
  backtrace (~> 0.4)
33
- elapsed (~> 0.0)
33
+ elapsed (~> 0.2)
34
34
  faraday (~> 2.13)
35
35
  faraday-http-cache (~> 2.5)
36
36
  faraday-multipart (~> 1.1)
@@ -38,9 +38,9 @@ GEM
38
38
  iri (~> 0.11)
39
39
  loog (~> 0.6)
40
40
  retries (~> 0.0)
41
- tago (~> 0.0)
41
+ tago (~> 0.2)
42
42
  typhoeus (~> 1.4)
43
- bigdecimal (3.2.2)
43
+ bigdecimal (3.2.3)
44
44
  builder (3.3.0)
45
45
  concurrent-ruby (1.3.5)
46
46
  crack (1.0.0)
@@ -67,7 +67,7 @@ GEM
67
67
  bigdecimal
68
68
  cucumber-gherkin (32.2.0)
69
69
  cucumber-messages (> 25, < 28)
70
- cucumber-html-formatter (21.14.0)
70
+ cucumber-html-formatter (21.15.1)
71
71
  cucumber-messages (> 19, < 28)
72
72
  cucumber-messages (27.2.0)
73
73
  cucumber-tag-expressions (6.1.2)
@@ -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.15.7)
83
+ factbase (0.16.4)
84
84
  backtrace (~> 0.4)
85
85
  decoor (~> 0.1)
86
86
  ellipsized (~> 0.3)
@@ -114,7 +114,7 @@ GEM
114
114
  ffi (1.17.2-x86_64-linux-musl)
115
115
  gli (2.22.2)
116
116
  ostruct
117
- hashdiff (1.2.0)
117
+ hashdiff (1.2.1)
118
118
  iri (0.11.2)
119
119
  json (2.13.2)
120
120
  language_server-protocol (3.17.0.5)
@@ -122,7 +122,7 @@ GEM
122
122
  logger (1.7.0)
123
123
  loog (0.6.1)
124
124
  logger (~> 1.0)
125
- memoist (0.16.2)
125
+ memoist3 (1.0.0)
126
126
  mini_mime (1.1.5)
127
127
  minitest (5.25.5)
128
128
  minitest-reporters (1.7.1)
@@ -155,7 +155,7 @@ GEM
155
155
  racc (~> 1.4)
156
156
  nokogiri (1.18.9-x86_64-linux-musl)
157
157
  racc (~> 1.4)
158
- online (0.0.1)
158
+ online (0.1.0)
159
159
  timeout (~> 0.4)
160
160
  os (1.1.4)
161
161
  ostruct (0.6.3)
@@ -178,8 +178,8 @@ GEM
178
178
  tago (> 0)
179
179
  regexp_parser (2.11.2)
180
180
  retries (0.0.5)
181
- rexml (3.4.2)
182
- rubocop (1.80.1)
181
+ rexml (3.4.4)
182
+ rubocop (1.80.2)
183
183
  json (~> 2.3)
184
184
  language_server-protocol (~> 3.17.0.2)
185
185
  lint_roller (~> 1.1.0)
@@ -193,14 +193,14 @@ GEM
193
193
  rubocop-ast (1.46.0)
194
194
  parser (>= 3.3.7.2)
195
195
  prism (~> 1.4)
196
- rubocop-minitest (0.38.1)
196
+ rubocop-minitest (0.38.2)
197
197
  lint_roller (~> 1.1)
198
198
  rubocop (>= 1.75.0, < 2.0)
199
199
  rubocop-ast (>= 1.38.0, < 2.0)
200
- rubocop-performance (1.25.0)
200
+ rubocop-performance (1.26.0)
201
201
  lint_roller (~> 1.1)
202
202
  rubocop (>= 1.75.0, < 2.0)
203
- rubocop-ast (>= 1.38.0, < 2.0)
203
+ rubocop-ast (>= 1.44.0, < 2.0)
204
204
  rubocop-rake (0.7.1)
205
205
  lint_roller (~> 1.1)
206
206
  rubocop (>= 1.72.1)
@@ -214,17 +214,17 @@ GEM
214
214
  simplecov (~> 0.19)
215
215
  simplecov-html (0.13.2)
216
216
  simplecov_json_formatter (0.1.4)
217
- sys-uname (1.4.0)
217
+ sys-uname (1.4.1)
218
218
  ffi (~> 1.1)
219
- memoist (~> 0.16.2)
220
- tago (0.1.0)
219
+ memoist3 (~> 1.0.0)
220
+ tago (0.2.0)
221
221
  timeout (0.4.3)
222
222
  total (0.4.1)
223
223
  typhoeus (1.4.1)
224
224
  ethon (>= 0.9.0)
225
- unicode-display_width (3.1.5)
226
- unicode-emoji (~> 4.0, >= 4.0.4)
227
- unicode-emoji (4.0.4)
225
+ unicode-display_width (3.2.0)
226
+ unicode-emoji (~> 4.1)
227
+ unicode-emoji (4.1.0)
228
228
  uri (1.0.3)
229
229
  w3c_validators (1.3.7)
230
230
  json (>= 1.8)
@@ -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.15.7 --verbose test --judge guess ./fixtures"
19
+ When I run bin/judges with "--factbase 0.16.4 --verbose test --judge guess ./fixtures"
20
20
  Then Exit code is zero
21
- And Stdout contains "Factbase version to be used: '0.15.7'"
21
+ And Stdout contains "Factbase version to be used: '0.16.4'"
22
22
 
23
23
  Scenario: Simple test of no judges
24
24
  Given I run bin/judges with "test --judge absent_for_sure ./fixtures"
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.6'
12
+ s.version = '0.53.7'
13
13
  s.license = 'MIT'
14
14
  s.summary = 'Command-Line Tool for a Factbase'
15
15
  s.description =
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
  s.authors = ['Yegor Bugayenko']
22
22
  s.email = 'yegor256@gmail.com'
23
23
  s.homepage = 'https://github.com/yegor256/judges'
24
- s.files = `git ls-files`.split($RS)
24
+ s.files = `git ls-files | grep -v -E '^(test/|\\.|renovate)'`.split($RS)
25
25
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
26
26
  s.rdoc_options = ['--charset=UTF-8']
27
27
  s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
@@ -30,7 +30,7 @@ class Judges::Push
30
30
  # @param [Array] args List of command line arguments
31
31
  # @raise [RuntimeError] If not exactly two arguments provided
32
32
  def run(opts, args)
33
- raise 'Exactly two arguments required' unless args.size == 2
33
+ raise 'Exactly two arguments required: <name> and <path>' unless args.size == 2
34
34
  name = args[0]
35
35
  fb = Judges::Impex.new(@loog, args[1]).import
36
36
  baza = BazaRb.new(
@@ -44,8 +44,8 @@ class Judges::Push
44
44
  elapsed(@loog, level: Logger::INFO) do
45
45
  baza.lock(name, opts['owner'])
46
46
  begin
47
- id = baza.push(name, fb.export, opts['meta'] || [])
48
- throw :"👍 Pushed #{fb.size} facts, job ID is #{id}"
47
+ baza.push(name, fb.export, opts['meta'] || [])
48
+ throw :"👍 Pushed #{fb.size} facts to baza"
49
49
  ensure
50
50
  baza.unlock(name, opts['owner'])
51
51
  end
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.6' unless const_defined?(:VERSION)
11
+ VERSION = '0.53.7' 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.6
4
+ version: 0.53.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
@@ -244,23 +244,6 @@ extra_rdoc_files:
244
244
  - LICENSE.txt
245
245
  - README.md
246
246
  files:
247
- - ".0pdd.yml"
248
- - ".gitattributes"
249
- - ".github/workflows/actionlint.yml"
250
- - ".github/workflows/codecov.yml"
251
- - ".github/workflows/copyrights.yml"
252
- - ".github/workflows/eslint.yml"
253
- - ".github/workflows/markdown-lint.yml"
254
- - ".github/workflows/pdd.yml"
255
- - ".github/workflows/rake.yml"
256
- - ".github/workflows/reuse.yml"
257
- - ".github/workflows/typos.yml"
258
- - ".github/workflows/xcop.yml"
259
- - ".github/workflows/yamllint.yml"
260
- - ".gitignore"
261
- - ".pdd"
262
- - ".rubocop.yml"
263
- - ".rultor.yml"
264
247
  - Gemfile
265
248
  - Gemfile.lock
266
249
  - LICENSE.txt
@@ -317,27 +300,6 @@ files:
317
300
  - lib/judges/to_rel.rb
318
301
  - package-lock.json
319
302
  - package.json
320
- - renovate.json
321
- - test/commands/test_download.rb
322
- - test/commands/test_eval.rb
323
- - test/commands/test_import.rb
324
- - test/commands/test_inspect.rb
325
- - test/commands/test_join.rb
326
- - test/commands/test_print.rb
327
- - test/commands/test_pull.rb
328
- - test/commands/test_push.rb
329
- - test/commands/test_test.rb
330
- - test/commands/test_trim.rb
331
- - test/commands/test_update.rb
332
- - test/commands/test_upload.rb
333
- - test/test__helper.rb
334
- - test/test_bin.rb
335
- - test/test_categories.rb
336
- - test/test_impex.rb
337
- - test/test_judge.rb
338
- - test/test_judges.rb
339
- - test/test_options.rb
340
- - test/test_to_rel.rb
341
303
  homepage: https://github.com/yegor256/judges
342
304
  licenses:
343
305
  - MIT
data/.0pdd.yml DELETED
@@ -1,8 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- errors:
5
- - yegor256@gmail.com
6
- # alerts:
7
- # github:
8
- # - yegor256
data/.gitattributes DELETED
@@ -1,7 +0,0 @@
1
- # Check out all text files in UNIX format, with LF as end of line
2
- # Don't change this file. If you have any ideas about it, please
3
- # submit a separate issue about it and we'll discuss.
4
-
5
- * text=auto eol=lf
6
- *.java ident
7
- *.xml ident
@@ -1,25 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: actionlint
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- actionlint:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - name: Download actionlint
20
- id: get_actionlint
21
- run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
22
- shell: bash
23
- - name: Check workflow files
24
- run: ${{ steps.get_actionlint.outputs.executable }} -color
25
- shell: bash
@@ -1,27 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: codecov
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- jobs:
11
- codecov:
12
- timeout-minutes: 15
13
- runs-on: ubuntu-24.04
14
- steps:
15
- - uses: actions/checkout@v5
16
- - uses: ruby/setup-ruby@v1
17
- with:
18
- ruby-version: 3.3
19
- bundler-cache: true
20
- - run: bundle config set --global path "$(pwd)/vendor/bundle"
21
- - run: bundle install --no-color
22
- - run: bundle exec rake
23
- - uses: codecov/codecov-action@v5
24
- with:
25
- token: ${{ secrets.CODECOV_TOKEN }}
26
- files: coverage/.resultset.json
27
- fail_ci_if_error: true
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: copyrights
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- copyrights:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: yegor256/copyrights-action@0.0.12
@@ -1,20 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: eslint
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- eslint:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - run: npm install
20
- - run: npx eslint .
@@ -1,23 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: markdown-lint
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- paths-ignore: ['paper/**', 'sandbox/**']
14
- concurrency:
15
- group: markdown-lint-${{ github.ref }}
16
- cancel-in-progress: true
17
- jobs:
18
- markdown-lint:
19
- timeout-minutes: 15
20
- runs-on: ubuntu-24.04
21
- steps:
22
- - uses: actions/checkout@v5
23
- - uses: DavidAnson/markdownlint-cli2-action@v20.0.0
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: pdd
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- pdd:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: volodya-lombrozo/pdd-action@master
@@ -1,28 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: rake
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- rake:
15
- strategy:
16
- matrix:
17
- os: [ubuntu-24.04, macos-15, windows-2022]
18
- ruby: [3.3]
19
- runs-on: ${{ matrix.os }}
20
- steps:
21
- - uses: actions/checkout@v5
22
- - uses: ruby/setup-ruby@v1
23
- with:
24
- ruby-version: ${{ matrix.ruby }}
25
- bundler-cache: true
26
- - run: bundle config set --global path "$(pwd)/vendor/bundle"
27
- - run: bundle install --no-color
28
- - run: bundle exec rake
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: reuse
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- reuse:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: fsfe/reuse-action@v5
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: typos
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- typos:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: crate-ci/typos@v1.35.5
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: xcop
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- xcop:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: g4s8/xcop-action@master
@@ -1,19 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- name: yamllint
6
- 'on':
7
- push:
8
- branches:
9
- - master
10
- pull_request:
11
- branches:
12
- - master
13
- jobs:
14
- yamllint:
15
- timeout-minutes: 15
16
- runs-on: ubuntu-24.04
17
- steps:
18
- - uses: actions/checkout@v5
19
- - uses: ibiqlik/action-yamllint@v3
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- .bundle/
2
- .DS_Store
3
- .idea/
4
- .yardoc/
5
- *.gem
6
- coverage/
7
- doc/
8
- node_modules/
9
- rdoc/
10
- temp/
11
- vendor/
12
- .claude
data/.pdd DELETED
@@ -1,7 +0,0 @@
1
- --source=.
2
- --verbose
3
- --exclude target/**/*
4
- --exclude coverage/**/*
5
- --rule min-words:20
6
- --rule min-estimate:15
7
- --rule max-estimate:90
data/.rubocop.yml DELETED
@@ -1,53 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- AllCops:
5
- Exclude:
6
- - 'bin/**/*'
7
- - 'assets/**/*'
8
- - 'vendor/**/*'
9
- DisplayCopNames: true
10
- TargetRubyVersion: 3.2
11
- SuggestExtensions: false
12
- NewCops: enable
13
- plugins:
14
- - rubocop-minitest
15
- - rubocop-performance
16
- - rubocop-rake
17
- Minitest/EmptyLineBeforeAssertionMethods:
18
- Enabled: false
19
- Metrics/ParameterLists:
20
- Enabled: false
21
- Style/GlobalVars:
22
- Enabled: false
23
- Metrics/MethodLength:
24
- Enabled: false
25
- Gemspec/RequiredRubyVersion:
26
- Enabled: false
27
- Style/ClassAndModuleChildren:
28
- Enabled: false
29
- Layout/MultilineMethodCallIndentation:
30
- Enabled: false
31
- Metrics/AbcSize:
32
- Enabled: false
33
- Metrics/ClassLength:
34
- Enabled: false
35
- Metrics/BlockLength:
36
- Enabled: false
37
- Metrics/CyclomaticComplexity:
38
- Enabled: false
39
- Metrics/PerceivedComplexity:
40
- Enabled: false
41
- Layout/EmptyLineAfterGuardClause:
42
- Enabled: false
43
- Layout/CaseIndentation:
44
- Enabled: false
45
- Naming/MethodParameterName:
46
- MinNameLength: 2
47
- Layout/EndOfLine:
48
- EnforcedStyle: lf
49
- Layout/MultilineAssignmentLayout:
50
- Enabled: true
51
- Layout/FirstHashElementIndentation:
52
- EnforcedStyle: consistent
53
- require: []
data/.rultor.yml DELETED
@@ -1,37 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- # yamllint disable rule:line-length
5
- docker:
6
- image: yegor256/ruby
7
- assets:
8
- rubygems.yml: yegor256/home#assets/rubygems.yml
9
- install: |
10
- pdd -f /dev/null
11
- bundle install --no-color
12
- release:
13
- pre: false
14
- script: |-
15
- [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
16
- bundle exec rake
17
- rm -rf *.gem
18
- sed -i "s/0\.0\.0/${tag}/g" judges.gemspec
19
- git add judges.gemspec
20
- sed -i "s/0\.0\.0/${tag}/g" lib/judges.rb
21
- git add lib/judges.rb
22
- git commit -m "version set to ${tag}"
23
- gem build judges.gemspec
24
- chmod 0600 ../rubygems.yml
25
- gem push *.gem --config-file ../rubygems.yml
26
-
27
- cp assets/index.css /tmp/index.css
28
- cp assets/index.js /tmp/index.js
29
- git checkout gh-pages
30
- mkdir -p assets
31
- cp /tmp/index.css assets/index.css
32
- cp /tmp/index.js assets/index.js
33
- git add assets/
34
- git commit -a --allow-empty -m 'New JS and CSS'
35
- merge:
36
- script: |-
37
- bundle exec rake
data/renovate.json DELETED
@@ -1,6 +0,0 @@
1
- {
2
- "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3
- "extends": [
4
- "config:base"
5
- ]
6
- }