rubocop_challenger 2.5.0 → 2.8.0

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: a3a960d3fe4d206f4cc46209f87444ba12896451ed28a3d90fb166cd73c82823
4
- data.tar.gz: 68a41f56882ec3c7256d47b4c0470fea111ea65f5904f7030b0790c998ba8331
3
+ metadata.gz: '069b4741c020bd27b620bcf7e5cac220bd9f80de03735751598e148d7c622a0a'
4
+ data.tar.gz: 0a9eedf4aed6d0154be1cd70f53ac4a573fcdc349b0be4611b60e8f3463f2c6f
5
5
  SHA512:
6
- metadata.gz: e1c137155a305fe02312079d18c38de44b52a3163a8c4748f1e813cb5d53551bbebb466ec6c15d142bc70ac2b36a850963919acaaab7e871e936c7324f43d02b
7
- data.tar.gz: 1b1ffa7014dca47a0eb0e0bcadb2a19c7b08ddebaf18d4581090307804195f14d8dab98694079787c84ef2c9beaf7fa2c730b75ed51ea5a51c02931893e6acd3
6
+ metadata.gz: 4b87dea0df5bbb1e54e9296d71752be6d5af85dc57374da52c34431175e831e103f2c45d565e22e0b6e6c5bc4e6bdca95761a849489984699f4aa4721c306f84
7
+ data.tar.gz: 54357ce576a82ea8c950fc2d0ed1c21b956e04fc971659b05b3e62d43696850fb59394943ba30f761674f07462474037fdfb6ffb87780f2e5d33f588da37ea8a
data/.circleci/config.yml CHANGED
@@ -12,23 +12,23 @@ references:
12
12
  - &ruby_version
13
13
  ruby_version:
14
14
  type: enum
15
- enum: ['2.6', '2.7', '3.0']
16
- default: '3.0'
15
+ enum: ["2.7", "3.0", "3.1"]
16
+ default: "3.1"
17
17
 
18
18
  executors:
19
19
  default:
20
20
  parameters:
21
21
  <<: *ruby_version
22
22
  docker:
23
- - image: cimg/ruby:<< parameters.ruby_version >>
23
+ - image: cimg/ruby:<< parameters.ruby_version >>
24
24
  working_directory: ~/repo
25
25
 
26
26
  commands:
27
27
  run_rspec:
28
- description: 'Run RSpec'
28
+ description: "Run RSpec"
29
29
  steps:
30
30
  - run:
31
- name: 'Execute RSpec'
31
+ name: "Execute RSpec"
32
32
  command: |
33
33
  mkdir /tmp/test-results
34
34
  TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
@@ -58,7 +58,7 @@ commands:
58
58
  name: Run RuboCop
59
59
  command: bundle exec rubocop
60
60
  yardoc:
61
- description: 'Generate YARDoc'
61
+ description: "Generate YARDoc"
62
62
  steps:
63
63
  - run: bundle exec yardoc -o ./yardoc
64
64
  - store_artifacts:
@@ -77,7 +77,7 @@ commands:
77
77
  bundle exec exe/rubocop_challenger go \
78
78
  --email=ryz310@gmail.com \
79
79
  --name=ryz310 \
80
- --mode=random \
80
+ --no-offense-counts \
81
81
  --no-create-pr
82
82
  integration_testing:
83
83
  description: Integration testing for RuboCop Challenge
@@ -192,29 +192,29 @@ workflows:
192
192
 
193
193
  commit:
194
194
  jobs:
195
- - build:
196
- name: build_on_ruby_2.6
197
- ruby_version: '2.6'
198
195
  - build:
199
196
  name: build_on_ruby_2.7
200
- ruby_version: '2.7'
197
+ ruby_version: "2.7"
201
198
  - build:
202
199
  name: build_on_ruby_3.0
203
- ruby_version: '3.0'
200
+ ruby_version: "3.0"
201
+ - build:
202
+ name: build_on_ruby_3.1
203
+ ruby_version: "3.1"
204
204
  - rubocop
205
205
  - yardoc
206
206
  - integration_testing
207
207
  - upload-coverage:
208
208
  requires:
209
- - build_on_ruby_2.6
210
209
  - build_on_ruby_2.7
211
210
  - build_on_ruby_3.0
211
+ - build_on_ruby_3.1
212
212
  - release:
213
213
  context: RubyGems API Key
214
214
  requires:
215
- - build_on_ruby_2.6
216
215
  - build_on_ruby_2.7
217
216
  - build_on_ruby_3.0
217
+ - build_on_ruby_3.1
218
218
  - rubocop
219
219
  filters:
220
220
  branches:
data/.rubocop.yml CHANGED
@@ -7,13 +7,13 @@ require:
7
7
  inherit_from: .rubocop_todo.yml
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 2.6
10
+ TargetRubyVersion: 2.7
11
11
  NewCops: enable
12
12
 
13
13
  Metrics/BlockLength:
14
14
  Exclude:
15
- - 'challenger.gemspec'
16
- - 'spec/**/*'
15
+ - "challenger.gemspec"
16
+ - "spec/**/*"
17
17
 
18
18
  Naming/VariableNumber:
19
19
  EnforcedStyle: snake_case
@@ -21,7 +21,7 @@ Naming/VariableNumber:
21
21
  # For integration testing
22
22
  RSpec/MultipleExpectations:
23
23
  Exclude:
24
- - 'spec/lib/rubocop_challenger/cli_spec.rb'
24
+ - "spec/lib/rubocop_challenger/cli_spec.rb"
25
25
 
26
26
  RSpec/MultipleMemoizedHelpers:
27
27
  Max: 10
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --exclude-limit 30 --no-auto-gen-timestamp`
3
- # using RuboCop version 1.24.1.
3
+ # using RuboCop version 1.30.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new