baza.rb 0.10.0 → 0.10.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.
data/.rubocop.yml DELETED
@@ -1,55 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
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-rake
15
- - rubocop-minitest
16
- - rubocop-performance
17
- Minitest/EmptyLineBeforeAssertionMethods:
18
- Enabled: false
19
- Style/GlobalVars:
20
- Enabled: false
21
- Lint/NestedMethodDefinition:
22
- Enabled: false
23
- Gemspec/RequiredRubyVersion:
24
- Enabled: false
25
- Metrics/MethodLength:
26
- Enabled: false
27
- Style/ClassAndModuleChildren:
28
- Enabled: false
29
- Layout/MultilineMethodCallIndentation:
30
- Enabled: false
31
- Metrics/BlockLength:
32
- Enabled: false
33
- Metrics/AbcSize:
34
- Enabled: false
35
- Metrics/CyclomaticComplexity:
36
- Max: 25
37
- Metrics/PerceivedComplexity:
38
- Max: 30
39
- Metrics/ClassLength:
40
- Enabled: false
41
- Layout/EmptyLineAfterGuardClause:
42
- Enabled: false
43
- Naming/MethodParameterName:
44
- MinNameLength: 2
45
- Layout/EndOfLine:
46
- EnforcedStyle: lf
47
- Security/MarshalLoad:
48
- Enabled: false
49
- Metrics/ParameterLists:
50
- Enabled: false
51
- Layout/MultilineAssignmentLayout:
52
- Enabled: true
53
- Naming/FileName:
54
- Enabled: false
55
- require: []
data/.rultor.yml DELETED
@@ -1,26 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
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" lib/baza-rb/version.rb
19
- git add lib/baza-rb/version.rb
20
- git commit -m "version set to ${tag}"
21
- gem build baza.rb.gemspec
22
- chmod 0600 ../rubygems.yml
23
- gem push *.gem --config-file ../rubygems.yml
24
- merge:
25
- script: |-
26
- bundle exec rake
data/.simplecov DELETED
@@ -1,24 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- #
4
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
5
- # SPDX-License-Identifier: MIT
6
-
7
- if Gem.win_platform?
8
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
9
- SimpleCov::Formatter::HTMLFormatter
10
- ]
11
- SimpleCov.start do
12
- add_filter '/test/'
13
- add_filter '/features/'
14
- end
15
- else
16
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
17
- [SimpleCov::Formatter::HTMLFormatter]
18
- )
19
- SimpleCov.start do
20
- add_filter '/test/'
21
- add_filter '/features/'
22
- minimum_coverage 20
23
- end
24
- end
data/.yamllint.yml DELETED
@@ -1,7 +0,0 @@
1
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
2
- # SPDX-License-Identifier: MIT
3
- ---
4
- rules:
5
- line-length:
6
- max: 80
7
- allow-non-breakable-words: true
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
- }
data/test/test__helper.rb DELETED
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Zerocracy
4
- # SPDX-License-Identifier: MIT
5
-
6
- $stdout.sync = true
7
-
8
- require 'simplecov'
9
- require 'simplecov-cobertura'
10
- unless SimpleCov.running || ARGV.include?('--no-cov')
11
- SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
12
- [
13
- SimpleCov::Formatter::HTMLFormatter,
14
- SimpleCov::Formatter::CoberturaFormatter
15
- ]
16
- )
17
- SimpleCov.minimum_coverage 95
18
- SimpleCov.minimum_coverage_by_file 95
19
- SimpleCov.start do
20
- add_filter 'vendor/'
21
- add_filter 'target/'
22
- track_files 'judges/**/*.rb'
23
- track_files 'lib/**/*.rb'
24
- track_files '*.rb'
25
- end
26
- end
27
-
28
- require 'minitest/reporters'
29
- Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new]
30
-
31
- require 'webmock/minitest'
32
- require 'minitest/autorun'