rubocop_challenger 2.6.0 → 2.9.0

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: f437746a124d1136ba8e063c238ce634a96a21204b55d43970cd0131aa7c698e
4
- data.tar.gz: c69494134cb69557e40ab92af2dbbd5bc53c950f0c9d471995a4dab78a989843
3
+ metadata.gz: d5a129ffbdfa720d2d61386e268ccfbff06005cd0f59f04ff5e4fbc843a82b0c
4
+ data.tar.gz: 7a6a2de90d5077852ab9c8ae16a9cb409b4319136a776bf1f82fc614c44b1011
5
5
  SHA512:
6
- metadata.gz: 91c99525eacb2713aa3f003ffc3afd9658c93d733a3ff36df24852a00f00e8fb27fb1431dfe78ef58d5ef98fdbf8ef1c981201134749e050a842d793217dceb6
7
- data.tar.gz: 722cbfd0286ff9121615bdb3812e1667e09b1d8bafd316be1e387c56c61b26182e75b764c7754161fb3c0f0ff067e062fd67825697449f715d50f77c1e781ede
6
+ metadata.gz: 046a667891ec84c62ae768b3ba3ef28ab906c2e4e4df94bbb74950ab6db66c0157290975d223a0d1fe1d49d1d026ab88a8870195a1d0c6c09d866aaa80f1cd55
7
+ data.tar.gz: cc60705e93e82bd5d482ddc7a7b493f636e60286cf83527cf6dbddc1538a47dac18d7f014ea0935c9c5ec3725faff9f15154275330ac570fbe0b84df85140dbd
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
@@ -96,6 +96,7 @@ commands:
96
96
  - verify_rubocop_challenge
97
97
  - verify_rubocop_challenge
98
98
  - verify_rubocop_challenge
99
+ - rubocop
99
100
  rubocop_challenge:
100
101
  steps:
101
102
  - run:
@@ -192,29 +193,29 @@ workflows:
192
193
 
193
194
  commit:
194
195
  jobs:
195
- - build:
196
- name: build_on_ruby_2.6
197
- ruby_version: '2.6'
198
196
  - build:
199
197
  name: build_on_ruby_2.7
200
- ruby_version: '2.7'
198
+ ruby_version: "2.7"
201
199
  - build:
202
200
  name: build_on_ruby_3.0
203
- ruby_version: '3.0'
201
+ ruby_version: "3.0"
202
+ - build:
203
+ name: build_on_ruby_3.1
204
+ ruby_version: "3.1"
204
205
  - rubocop
205
206
  - yardoc
206
207
  - integration_testing
207
208
  - upload-coverage:
208
209
  requires:
209
- - build_on_ruby_2.6
210
210
  - build_on_ruby_2.7
211
211
  - build_on_ruby_3.0
212
+ - build_on_ruby_3.1
212
213
  - release:
213
214
  context: RubyGems API Key
214
215
  requires:
215
- - build_on_ruby_2.6
216
216
  - build_on_ruby_2.7
217
217
  - build_on_ruby_3.0
218
+ - build_on_ruby_3.1
218
219
  - rubocop
219
220
  filters:
220
221
  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.26.0.
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