rubocop_challenger 2.4.0 → 2.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +15 -10
- data/.github/ISSUE_TEMPLATE/bug_report.md +1 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +1 -1
- data/CHANGELOG.md +180 -129
- data/Gemfile.lock +46 -39
- data/challenger.gemspec +1 -0
- data/lib/rubocop_challenger/rubocop/rule.rb +2 -1
- data/lib/rubocop_challenger/version.rb +1 -1
- data/lib/rubocop_challenger.rb +1 -0
- data/lib/templates/checklist.md.erb +2 -2
- data/lib/templates/default.md.erb +2 -2
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a55a6ab06c5737848ead37e6fe9d3cd0b021fc4fcefea47c1582b7b799306401
|
4
|
+
data.tar.gz: 51b0f37c626115f654c16ef3452562e36c2a548f09f3e8875f0abe0a159a2868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad61624df3c1fcc152dba29035a4f5117b4c64fcacbe20112fd329665f208682e1ba15e20a1ede6c843065fecfada1ad359a5ebd99c21642833ccf29f57a24e
|
7
|
+
data.tar.gz: 5e816517ffc0d353b08b176b4036bb56804583b42dc458cc56eee90ba4b5d0229530725ee9b4efb080e951c171c76837adde81abbd847ae8ae170579b951bd4b
|
data/.circleci/config.yml
CHANGED
@@ -12,23 +12,23 @@ references:
|
|
12
12
|
- &ruby_version
|
13
13
|
ruby_version:
|
14
14
|
type: enum
|
15
|
-
enum: [
|
16
|
-
default:
|
15
|
+
enum: ["2.6", "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
|
-
|
23
|
+
- image: cimg/ruby:<< parameters.ruby_version >>
|
24
24
|
working_directory: ~/repo
|
25
25
|
|
26
26
|
commands:
|
27
27
|
run_rspec:
|
28
|
-
description:
|
28
|
+
description: "Run RSpec"
|
29
29
|
steps:
|
30
30
|
- run:
|
31
|
-
name:
|
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:
|
61
|
+
description: "Generate YARDoc"
|
62
62
|
steps:
|
63
63
|
- run: bundle exec yardoc -o ./yardoc
|
64
64
|
- store_artifacts:
|
@@ -159,7 +159,7 @@ jobs:
|
|
159
159
|
- code-climate/install
|
160
160
|
- code-climate/sum-coverage:
|
161
161
|
input: codeclimate.*.json
|
162
|
-
parts:
|
162
|
+
parts: 4
|
163
163
|
- code-climate/upload-coverage
|
164
164
|
rubocop:
|
165
165
|
executor: default
|
@@ -194,13 +194,16 @@ workflows:
|
|
194
194
|
jobs:
|
195
195
|
- build:
|
196
196
|
name: build_on_ruby_2.6
|
197
|
-
ruby_version:
|
197
|
+
ruby_version: "2.6"
|
198
198
|
- build:
|
199
199
|
name: build_on_ruby_2.7
|
200
|
-
ruby_version:
|
200
|
+
ruby_version: "2.7"
|
201
201
|
- build:
|
202
202
|
name: build_on_ruby_3.0
|
203
|
-
ruby_version:
|
203
|
+
ruby_version: "3.0"
|
204
|
+
- build:
|
205
|
+
name: build_on_ruby_3.1
|
206
|
+
ruby_version: "3.1"
|
204
207
|
- rubocop
|
205
208
|
- yardoc
|
206
209
|
- integration_testing
|
@@ -209,12 +212,14 @@ workflows:
|
|
209
212
|
- build_on_ruby_2.6
|
210
213
|
- build_on_ruby_2.7
|
211
214
|
- build_on_ruby_3.0
|
215
|
+
- build_on_ruby_3.1
|
212
216
|
- release:
|
213
217
|
context: RubyGems API Key
|
214
218
|
requires:
|
215
219
|
- build_on_ruby_2.6
|
216
220
|
- build_on_ruby_2.7
|
217
221
|
- build_on_ruby_3.0
|
222
|
+
- build_on_ruby_3.1
|
218
223
|
- rubocop
|
219
224
|
filters:
|
220
225
|
branches:
|
@@ -21,6 +21,7 @@ Add error message and backtrace if you can see.
|
|
21
21
|
- rubocop-performance: [e.g. 1.2.3]
|
22
22
|
- rubocop-rails: [e.g. 1.2.3]
|
23
23
|
- rubocop-rspec: [e.g. 1.2.3]
|
24
|
+
- rubocop-thread_safety: [e.g. 1.2.3]
|
24
25
|
|
25
26
|
**Additional context**
|
26
27
|
Add any other context about the problem here.
|
data/.rubocop.yml
CHANGED
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.
|
3
|
+
# using RuboCop version 1.27.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
|
data/CHANGELOG.md
CHANGED
@@ -1,183 +1,235 @@
|
|
1
1
|
# Change log
|
2
2
|
|
3
|
+
## v2.7.0 (May 08, 2022)
|
4
|
+
|
5
|
+
### Feature
|
6
|
+
|
7
|
+
- [#605](https://github.com/ryz310/rubocop_challenger/pull/605) Support ruby 3.1 ([@ryz310](https://github.com/ryz310))
|
8
|
+
- [#580](https://github.com/ryz310/rubocop_challenger/pull/580) Modify the description of whether it is safe auto-correct ([@ryz310](https://github.com/ryz310))
|
9
|
+
|
10
|
+
### Rubocop Challenge
|
11
|
+
|
12
|
+
- [#586](https://github.com/ryz310/rubocop_challenger/pull/586) Re-generate .rubocop_todo.yml with RuboCop v1.27.0 ([@ryz310](https://github.com/ryz310))
|
13
|
+
|
14
|
+
### Dependabot
|
15
|
+
|
16
|
+
- [#581](https://github.com/ryz310/rubocop_challenger/pull/581) Bump activesupport from 6.1.4.7 to 6.1.5 ([@ryz310](https://github.com/ryz310))
|
17
|
+
- [#584](https://github.com/ryz310/rubocop_challenger/pull/584) Bump rubocop-rails from 2.14.1 to 2.14.2 ([@ryz310](https://github.com/ryz310))
|
18
|
+
|
19
|
+
## v2.6.0 (Mar 10, 2022)
|
20
|
+
|
21
|
+
### Feature
|
22
|
+
|
23
|
+
- [#577](https://github.com/ryz310/rubocop_challenger/pull/577) Support new auto-correction comments at rubocop v1.26.0 ([@ryz310](https://github.com/ryz310))
|
24
|
+
|
25
|
+
### Rubocop Challenge
|
26
|
+
|
27
|
+
- [#573](https://github.com/ryz310/rubocop_challenger/pull/573) RSpec/BeNil-20220228233046 ([@ryz310](https://github.com/ryz310))
|
28
|
+
- [#576](https://github.com/ryz310/rubocop_challenger/pull/576) Re-generate .rubocop_todo.yml with RuboCop v1.26.0 ([@ryz310](https://github.com/ryz310))
|
29
|
+
|
30
|
+
### Dependabot
|
31
|
+
|
32
|
+
- [#571](https://github.com/ryz310/rubocop_challenger/pull/571) Bump rspec from 3.10.0 to 3.11.0 ([@ryz310](https://github.com/ryz310))
|
33
|
+
- [#574](https://github.com/ryz310/rubocop_challenger/pull/574) Bump rubocop-performance from 1.13.2 to 1.13.3 ([@ryz310](https://github.com/ryz310))
|
34
|
+
- [#575](https://github.com/ryz310/rubocop_challenger/pull/575) Bump activesupport from 6.1.4.6 to 6.1.4.7 ([@ryz310](https://github.com/ryz310))
|
35
|
+
|
36
|
+
## v2.5.0 (Jan 18, 2022)
|
37
|
+
|
38
|
+
### Feature
|
39
|
+
|
40
|
+
- [#566](https://github.com/ryz310/rubocop_challenger/pull/566) Support rubocop thread safety ([@ryz310](https://github.com/ryz310))
|
41
|
+
|
42
|
+
### Rubocop Challenge
|
43
|
+
|
44
|
+
- [#554](https://github.com/ryz310/rubocop_challenger/pull/554) ryz310/rubocop-challenge/20211226233047 ([@ryz310](https://github.com/ryz310))
|
45
|
+
- [#555](https://github.com/ryz310/rubocop_challenger/pull/555) ryz310/rubocop-challenge/20211231233046 ([@ryz310](https://github.com/ryz310))
|
46
|
+
|
47
|
+
### Dependabot
|
48
|
+
|
49
|
+
- [#556](https://github.com/ryz310/rubocop_challenger/pull/556) Bump rubocop-performance from 1.13.0 to 1.13.1 ([@ryz310](https://github.com/ryz310))
|
50
|
+
- [#561](https://github.com/ryz310/rubocop_challenger/pull/561) Bump rubocop-rails from 2.13.0 to 2.13.1 ([@ryz310](https://github.com/ryz310))
|
51
|
+
- [#560](https://github.com/ryz310/rubocop_challenger/pull/560) Bump rspec_junit_formatter from 0.4.1 to 0.5.1 ([@ryz310](https://github.com/ryz310))
|
52
|
+
- [#559](https://github.com/ryz310/rubocop_challenger/pull/559) ryz310/dependabot/bundler/thor-1.2.1 ([@ryz310](https://github.com/ryz310))
|
53
|
+
- [#562](https://github.com/ryz310/rubocop_challenger/pull/562) Bump rainbow from 3.0.0 to 3.1.1 ([@ryz310](https://github.com/ryz310))
|
54
|
+
|
3
55
|
## v2.4.0 (Dec 26, 2021)
|
4
56
|
|
5
57
|
### Feature
|
6
58
|
|
7
|
-
|
59
|
+
- [#550](https://github.com/ryz310/rubocop_challenger/pull/550) The end of ruby 2.5 support ([@ryz310](https://github.com/ryz310))
|
8
60
|
|
9
61
|
### Rubocop Challenge
|
10
62
|
|
11
|
-
|
63
|
+
- [#544](https://github.com/ryz310/rubocop_challenger/pull/544) Gemspec/RequireMFA-20211115233051 ([@ryz310](https://github.com/ryz310))
|
12
64
|
|
13
65
|
### Dependabot
|
14
66
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
67
|
+
- [#479](https://github.com/ryz310/rubocop_challenger/pull/479) ryz310/dependabot/bundler/rubocop-1.13.0 ([@ryz310](https://github.com/ryz310))
|
68
|
+
- [#482](https://github.com/ryz310/rubocop_challenger/pull/482) ryz310/dependabot/bundler/rubocop-rspec-2.3.0 ([@ryz310](https://github.com/ryz310))
|
69
|
+
- [#483](https://github.com/ryz310/rubocop_challenger/pull/483) ryz310/dependabot/add-v2-config-file ([@ryz310](https://github.com/ryz310))
|
70
|
+
- [#518](https://github.com/ryz310/rubocop_challenger/pull/518) Bump rake from 13.0.4 to 13.0.6 ([@ryz310](https://github.com/ryz310))
|
71
|
+
- [#537](https://github.com/ryz310/rubocop_challenger/pull/537) ryz310/dependabot/bundler/rubocop-rails-2.12.4 ([@ryz310](https://github.com/ryz310))
|
72
|
+
- [#542](https://github.com/ryz310/rubocop_challenger/pull/542) Bump addressable from 2.7.0 to 2.8.0 ([@ryz310](https://github.com/ryz310))
|
73
|
+
- [#543](https://github.com/ryz310/rubocop_challenger/pull/543) Bump rubocop-performance from 1.11.5 to 1.12.0 ([@ryz310](https://github.com/ryz310))
|
74
|
+
- [#546](https://github.com/ryz310/rubocop_challenger/pull/546) Bump yard from 0.9.26 to 0.9.27 ([@ryz310](https://github.com/ryz310))
|
23
75
|
|
24
76
|
## v2.3.0 (Feb 23, 2021)
|
25
77
|
|
26
78
|
### Feature
|
27
79
|
|
28
|
-
|
80
|
+
- [#465](https://github.com/ryz310/rubocop_challenger/pull/465) Add description whether the challenge is created by safe autocorrect or not ([@ryz310](https://github.com/ryz310))
|
29
81
|
|
30
82
|
### Rubocop Challenge
|
31
83
|
|
32
|
-
|
84
|
+
- [#464](https://github.com/ryz310/rubocop_challenger/pull/464) Re-generate .rubocop_todo.yml with RuboCop v1.10.0 ([@ryz310](https://github.com/ryz310))
|
33
85
|
|
34
86
|
### Dependabot
|
35
87
|
|
36
|
-
|
37
|
-
|
38
|
-
|
88
|
+
- [#453](https://github.com/ryz310/rubocop_challenger/pull/453) ryz310/dependabot/bundler/thor-1.1.0 ([@ryz310](https://github.com/ryz310))
|
89
|
+
- [#457](https://github.com/ryz310/rubocop_challenger/pull/457) ryz310/dependabot/bundler/rubocop-1.9.1 ([@ryz310](https://github.com/ryz310))
|
90
|
+
- [#461](https://github.com/ryz310/rubocop_challenger/pull/461) Update ruby-orbs orb to v1.6.2 ([@ryz310](https://github.com/ryz310))
|
39
91
|
|
40
92
|
## v2.2.0 (Jan 11, 2021)
|
41
93
|
|
42
94
|
### Feature
|
43
95
|
|
44
|
-
|
96
|
+
- [#449](https://github.com/ryz310/rubocop_challenger/pull/449) Add verbose option ([@ryz310](https://github.com/ryz310))
|
45
97
|
|
46
98
|
### Dependabot
|
47
99
|
|
48
|
-
|
100
|
+
- [#447](https://github.com/ryz310/rubocop_challenger/pull/447) ryz310/dependabot/bundler/rubocop-1.8.1 ([@ryz310](https://github.com/ryz310))
|
49
101
|
|
50
102
|
## v2.1.0 (Jan 11, 2021)
|
51
103
|
|
52
104
|
### Feature
|
53
105
|
|
54
|
-
|
106
|
+
- [#441](https://github.com/ryz310/rubocop_challenger/pull/441) Improve PR description generation ([@ryz310](https://github.com/ryz310))
|
55
107
|
|
56
108
|
### Rubocop Challenge
|
57
109
|
|
58
|
-
|
110
|
+
- [#442](https://github.com/ryz310/rubocop_challenger/pull/442) Re-generate .rubocop_todo.yml with RuboCop v1.8.0 ([@ryz310](https://github.com/ryz310))
|
59
111
|
|
60
112
|
### Dependabot
|
61
113
|
|
62
|
-
|
114
|
+
- [#444](https://github.com/ryz310/rubocop_challenger/pull/444) Update simplecov requirement from = 0.17.1 to = 0.21.2 ([@ryz310](https://github.com/ryz310))
|
63
115
|
|
64
116
|
## v2.0.1 (Jan 06, 2021)
|
65
117
|
|
66
118
|
### Bugfix
|
67
119
|
|
68
|
-
|
120
|
+
- [#437](https://github.com/ryz310/rubocop_challenger/pull/437) Fix keyword argument expanding for Ruby 3.0 ([@ryz310](https://github.com/ryz310))
|
69
121
|
|
70
122
|
## v2.0.0 (Jan 04, 2021)
|
71
123
|
|
72
124
|
### Feature
|
73
125
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
126
|
+
- [#183](https://github.com/ryz310/rubocop_challenger/pull/183) Implement the flow that create a PR which re-generate ".rubocop_todo.yml" ([@ryz310](https://github.com/ryz310))
|
127
|
+
- [#187](https://github.com/ryz310/rubocop_challenger/pull/187) Bundle update rubocop ([@ryz310](https://github.com/ryz310))
|
128
|
+
- [#208](https://github.com/ryz310/rubocop_challenger/pull/208) Render links for release note and compare page ([@ryz310](https://github.com/ryz310))
|
129
|
+
- [#217](https://github.com/ryz310/rubocop_challenger/pull/217) Support auto gem config options ([@ryz310](https://github.com/ryz310))
|
130
|
+
- [#250](https://github.com/ryz310/rubocop_challenger/pull/250) Add error reporting feature ([@ryz310](https://github.com/ryz310))
|
131
|
+
- [#253](https://github.com/ryz310/rubocop_challenger/pull/253) Add information of the rubocop challenge ([@ryz310](https://github.com/ryz310))
|
132
|
+
- [#288](https://github.com/ryz310/rubocop_challenger/pull/288) Support ruby 2.7 ([@ryz310](https://github.com/ryz310))
|
133
|
+
- [#362](https://github.com/ryz310/rubocop_challenger/pull/362) Use rubocop auto correct all ([@ryz310](https://github.com/ryz310))
|
134
|
+
- [#398](https://github.com/ryz310/rubocop_challenger/pull/398) Add auto correct safe option ([@ryz310](https://github.com/ryz310))
|
135
|
+
- [#432](https://github.com/ryz310/rubocop_challenger/pull/432) Support ruby 3.0 ([@ryz310](https://github.com/ryz310))
|
84
136
|
|
85
137
|
### Bugfix
|
86
138
|
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
139
|
+
- [#212](https://github.com/ryz310/rubocop_challenger/pull/212) Fix the version of pr_comet ([@ryz310](https://github.com/ryz310))
|
140
|
+
- [#231](https://github.com/ryz310/rubocop_challenger/pull/231) Fix the way of requirements loading for optional dependencies ([@ryz310](https://github.com/ryz310))
|
141
|
+
- [#238](https://github.com/ryz310/rubocop_challenger/pull/238) Fix/load error of the updated gems ([@ryz310](https://github.com/ryz310))
|
142
|
+
- [#363](https://github.com/ryz310/rubocop_challenger/pull/363) Require rubocop-rails gem ([@ryz310](https://github.com/ryz310))
|
91
143
|
|
92
144
|
### Breaking Change
|
93
145
|
|
94
|
-
|
95
|
-
|
96
|
-
|
146
|
+
- [#180](https://github.com/ryz310/rubocop_challenger/pull/180) Farewell ruby 2.3 ([@ryz310](https://github.com/ryz310))
|
147
|
+
- [#184](https://github.com/ryz310/rubocop_challenger/pull/184) Remove base branch option ([@ryz310](https://github.com/ryz310))
|
148
|
+
- [#396](https://github.com/ryz310/rubocop_challenger/pull/396) End of support for Ruby 2.4 ([@ryz310](https://github.com/ryz310))
|
97
149
|
|
98
150
|
### Rubocop Challenge
|
99
151
|
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
152
|
+
- [#228](https://github.com/ryz310/rubocop_challenger/pull/228) Style/WordArray-20190625233039 ([@ryz310](https://github.com/ryz310))
|
153
|
+
- [#235](https://github.com/ryz310/rubocop_challenger/pull/235) Performance/RegexpMatch-20190729233033 ([@ryz310](https://github.com/ryz310))
|
154
|
+
- [#236](https://github.com/ryz310/rubocop_challenger/pull/236) Layout/SpaceAroundOperators-20190731233025 ([@ryz310](https://github.com/ryz310))
|
155
|
+
- [#317](https://github.com/ryz310/rubocop_challenger/pull/317) Performance/StartWith-20200523233027 ([@ryz310](https://github.com/ryz310))
|
156
|
+
- [#427](https://github.com/ryz310/rubocop_challenger/pull/427) Re-generate .rubocop_todo.yml with RuboCop v1.7.0 ([@ryz310](https://github.com/ryz310))
|
105
157
|
|
106
158
|
### Dependabot
|
107
159
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
160
|
+
- [#242](https://github.com/ryz310/rubocop_challenger/pull/242) ryz310/dependabot/bundler/rake-tw-13.0 ([@ryz310](https://github.com/ryz310))
|
161
|
+
- [#244](https://github.com/ryz310/rubocop_challenger/pull/244) ryz310/dependabot/bundler/simplecov-0.17.1 ([@ryz310](https://github.com/ryz310))
|
162
|
+
- [#245](https://github.com/ryz310/rubocop_challenger/pull/245) ryz310/dependabot/bundler/pr_comet-gte-0.2-and-lt-0.4 ([@ryz310](https://github.com/ryz310))
|
163
|
+
- [#271](https://github.com/ryz310/rubocop_challenger/pull/271) Bump thor from 1.0.0 to 1.0.1 ([@ryz310](https://github.com/ryz310))
|
164
|
+
- [#303](https://github.com/ryz310/rubocop_challenger/pull/303) ryz310/dependabot/bundler/pry-byebug-3.9.0 ([@ryz310](https://github.com/ryz310))
|
165
|
+
- [#376](https://github.com/ryz310/rubocop_challenger/pull/376) ryz310/dependabot/bundler/rspec-3.10.0 ([@ryz310](https://github.com/ryz310))
|
166
|
+
- [#414](https://github.com/ryz310/rubocop_challenger/pull/414) ryz310/dependabot/bundler/rubocop-rspec-2.0.1 ([@ryz310](https://github.com/ryz310))
|
167
|
+
- [#421](https://github.com/ryz310/rubocop_challenger/pull/421) ryz310/dependabot/bundler/rubocop-1.6.1 ([@ryz310](https://github.com/ryz310))
|
168
|
+
- [#423](https://github.com/ryz310/rubocop_challenger/pull/423) ryz310/dependabot/bundler/rubocop-rails-2.9.1 ([@ryz310](https://github.com/ryz310))
|
169
|
+
- [#426](https://github.com/ryz310/rubocop_challenger/pull/426) ryz310/dependabot/bundler/rake-13.0.3 ([@ryz310](https://github.com/ryz310))
|
170
|
+
- [#428](https://github.com/ryz310/rubocop_challenger/pull/428) ryz310/dependabot/bundler/yard-0.9.26 ([@ryz310](https://github.com/ryz310))
|
171
|
+
- [#431](https://github.com/ryz310/rubocop_challenger/pull/431) ryz310/dependabot/bundler/rubocop-performance-1.9.2 ([@ryz310](https://github.com/ryz310))
|
120
172
|
|
121
173
|
### Security
|
122
174
|
|
123
|
-
|
175
|
+
- [#230](https://github.com/ryz310/rubocop_challenger/pull/230) Bump yard from 0.9.19 to 0.9.20 ([@ryz310](https://github.com/ryz310))
|
124
176
|
|
125
177
|
### Misc
|
126
178
|
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
179
|
+
- [#178](https://github.com/ryz310/rubocop_challenger/pull/178) Use #abort instead of #puts and #exit! ([@ryz310](https://github.com/ryz310))
|
180
|
+
- [#181](https://github.com/ryz310/rubocop_challenger/pull/181) Remove waffle.io badge ([@ryz310](https://github.com/ryz310))
|
181
|
+
- [#185](https://github.com/ryz310/rubocop_challenger/pull/185) Improve code coverage and fix implements ([@ryz310](https://github.com/ryz310))
|
182
|
+
- [#186](https://github.com/ryz310/rubocop_challenger/pull/186) Use #abort instead of #exit! ([@ryz310](https://github.com/ryz310))
|
183
|
+
- [#192](https://github.com/ryz310/rubocop_challenger/pull/192) Extract with pr comet ([@ryz310](https://github.com/ryz310))
|
184
|
+
- [#216](https://github.com/ryz310/rubocop_challenger/pull/216) Use rainbow gem ([@ryz310](https://github.com/ryz310))
|
185
|
+
- [#218](https://github.com/ryz310/rubocop_challenger/pull/218) Add pull request to GitHub project on execute ([@ryz310](https://github.com/ryz310))
|
186
|
+
- [#219](https://github.com/ryz310/rubocop_challenger/pull/219) Add auto updating target gems ([@ryz310](https://github.com/ryz310))
|
187
|
+
- [#223](https://github.com/ryz310/rubocop_challenger/pull/223) Support base branch option ([@ryz310](https://github.com/ryz310))
|
188
|
+
- [#227](https://github.com/ryz310/rubocop_challenger/pull/227) Migrate circle ci version to 2.1 ([@ryz310](https://github.com/ryz310))
|
189
|
+
- [#239](https://github.com/ryz310/rubocop_challenger/pull/239) Introduce gem comet ([@ryz310](https://github.com/ryz310))
|
190
|
+
- [#294](https://github.com/ryz310/rubocop_challenger/pull/294) Update ruby-orbs orb to v1.6.0 ([@ryz310](https://github.com/ryz310))
|
191
|
+
- [#304](https://github.com/ryz310/rubocop_challenger/pull/304) Edit dependabot configuration ([@ryz310](https://github.com/ryz310))
|
192
|
+
- [#433](https://github.com/ryz310/rubocop_challenger/pull/433) Update `pr_comet` ([@ryz310](https://github.com/ryz310))
|
141
193
|
|
142
194
|
## v1.2.0 (Feb 27, 2019)
|
143
195
|
|
144
196
|
### Feature
|
145
197
|
|
146
|
-
|
198
|
+
- Challenge incompleted list ([#170](https://github.com/ryz310/rubocop_challenger/pull/170))
|
147
199
|
|
148
200
|
### Bugfix
|
149
201
|
|
150
|
-
|
202
|
+
- Fix exit code when no more auto-correctable rule ([#175](https://github.com/ryz310/rubocop_challenger/pull/175))
|
151
203
|
|
152
204
|
### Breaking Change
|
153
205
|
|
154
|
-
|
206
|
+
- Remove "regenerate-rubocop-todo" option ([#170](https://github.com/ryz310/rubocop_challenger/pull/170))
|
155
207
|
|
156
208
|
## v1.1.2 (Feb 21, 2019)
|
157
209
|
|
158
210
|
### Feature
|
159
211
|
|
160
|
-
|
212
|
+
- Re-generate .rubocop_todo.yml on pre-challenge ([#169](https://github.com/ryz310/rubocop_challenger/pull/169))
|
161
213
|
|
162
214
|
## v1.1.1 (Jan 17, 2019)
|
163
215
|
|
164
216
|
### Bugfix
|
165
217
|
|
166
|
-
|
218
|
+
- Fix encountering name error when finding a cop class by cop name ([#164](https://github.com/ryz310/rubocop_challenger/pull/164))
|
167
219
|
|
168
220
|
### Misc
|
169
221
|
|
170
|
-
|
222
|
+
- Configure Renovate ([#162](https://github.com/ryz310/rubocop_challenger/pull/162))
|
171
223
|
|
172
224
|
## v1.1.0 (Dec 29, 2018)
|
173
225
|
|
174
226
|
### Feature
|
175
227
|
|
176
|
-
|
228
|
+
- Support ruby 2.6 ([#156](https://github.com/ryz310/rubocop_challenger/pull/156))
|
177
229
|
|
178
230
|
### Misc
|
179
231
|
|
180
|
-
|
232
|
+
- Change emoji on the commit message ([#158](https://github.com/ryz310/rubocop_challenger/pull/158))
|
181
233
|
|
182
234
|
## v1.0.0 (Dec 3, 2018)
|
183
235
|
|
@@ -187,160 +239,159 @@ Release v1.0.0 :tada:
|
|
187
239
|
|
188
240
|
### Security
|
189
241
|
|
190
|
-
|
242
|
+
- Add quiet option on git push command ([#149](https://github.com/ryz310/rubocop_challenger/pull/149))
|
191
243
|
|
192
244
|
### Misc
|
193
245
|
|
194
|
-
|
195
|
-
|
246
|
+
- Add yard testing flow ([#150](https://github.com/ryz310/rubocop_challenger/pull/150))
|
247
|
+
- Add jailbreak script ([#151](https://github.com/ryz310/rubocop_challenger/pull/151))
|
196
248
|
|
197
249
|
## v1.0.0.pre3 (Nov 17, 2018)
|
198
250
|
|
199
251
|
### Feature
|
200
252
|
|
201
|
-
|
202
|
-
|
253
|
+
- Output the result in the execution ([#139](https://github.com/ryz310/rubocop_challenger/pull/139))
|
254
|
+
- Colorize error log ([#145](https://github.com/ryz310/rubocop_challenger/pull/145))
|
203
255
|
|
204
256
|
### Bugfix
|
205
257
|
|
206
|
-
|
258
|
+
- Filter access token in the command logging ([#144](https://github.com/ryz310/rubocop_challenger/pull/144))
|
207
259
|
|
208
260
|
## v1.0.0.pre2 (Nov 15, 2018)
|
209
261
|
|
210
262
|
### Feature
|
211
263
|
|
212
|
-
|
213
|
-
|
264
|
+
- Support private repository ([#132](https://github.com/ryz310/rubocop_challenger/pull/132))
|
265
|
+
- Support old git version ([#133](https://github.com/ryz310/rubocop_challenger/pull/133))
|
214
266
|
|
215
267
|
### Misc
|
216
268
|
|
217
|
-
|
218
|
-
|
269
|
+
- Add Github::Client#add_labels spec ([#131](https://github.com/ryz310/rubocop_challenger/pull/131))
|
270
|
+
- Remove a unnecessary option ([#134](https://github.com/ryz310/rubocop_challenger/pull/134))
|
219
271
|
|
220
272
|
## v1.0.0.pre (Nov 13, 2018)
|
221
273
|
|
222
274
|
### Feature
|
223
275
|
|
224
|
-
|
276
|
+
- Use octokit ([#121](https://github.com/ryz310/rubocop_challenger/pull/121))
|
225
277
|
|
226
278
|
### Breaking Change
|
227
279
|
|
228
|
-
|
280
|
+
- Change `--regenerate-rubocop-todo` option default value to true
|
229
281
|
|
230
282
|
### Misc
|
231
283
|
|
232
|
-
|
284
|
+
- Modify gem version validator ([#127](https://github.com/ryz310/rubocop_challenger/pull/127))
|
233
285
|
|
234
286
|
## v0.5.2 (Nov 4, 2018)
|
235
287
|
|
236
288
|
### Misc
|
237
289
|
|
238
|
-
|
239
|
-
|
240
|
-
|
290
|
+
- Install code climate ([#116](https://github.com/ryz310/rubocop_challenger/pull/116))
|
291
|
+
- Fix coveralls badge URL ([#117](https://github.com/ryz310/rubocop_challenger/pull/117))
|
292
|
+
- Uninstall coveralls ([#118](https://github.com/ryz310/rubocop_challenger/pull/118))
|
241
293
|
|
242
294
|
## v0.5.1 (Nov 1, 2018)
|
243
295
|
|
244
296
|
### Misc
|
245
297
|
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
298
|
+
- Style/MutableConstant at Tue Oct 30 23:30:33 UTC 2018 ([#106](https://github.com/ryz310/rubocop_challenger/pull/106))
|
299
|
+
- Install coveralls ([#107](https://github.com/ryz310/rubocop_challenger/pull/107))
|
300
|
+
- Definition of Metrics/BlockLength ([#109](https://github.com/ryz310/rubocop_challenger/pull/109))
|
301
|
+
- Fix offense of RSpec/ExampleLength ([#110](https://github.com/ryz310/rubocop_challenger/pull/110))
|
302
|
+
- Fix offense of Style/Documentation ([#111](https://github.com/ryz310/rubocop_challenger/pull/111))
|
303
|
+
- Fix offense of Metrics/LineLength ([#112](https://github.com/ryz310/rubocop_challenger/pull/112))
|
304
|
+
- Fix that testing target is wrong ([#113](https://github.com/ryz310/rubocop_challenger/pull/113))
|
253
305
|
|
254
306
|
## v0.5.0 (Oct 30, 2018)
|
255
307
|
|
256
308
|
### Feature
|
257
309
|
|
258
|
-
|
310
|
+
- Use bundle exec ([#100](https://github.com/ryz310/rubocop_challenger/pull/100))
|
259
311
|
|
260
312
|
### Breaking Change
|
261
313
|
|
262
|
-
|
314
|
+
- Return example name ([#101](https://github.com/ryz310/rubocop_challenger/pull/101))
|
263
315
|
|
264
316
|
### Misc
|
265
317
|
|
266
|
-
|
267
|
-
|
268
|
-
|
318
|
+
- Layout/AlignHash at Sun Oct 28 23:30:20 UTC 2018 ([#97](https://github.com/ryz310/rubocop_challenger/pull/97))
|
319
|
+
- Add Rubocop Challenge example to the README.md ([#98](https://github.com/ryz310/rubocop_challenger/pull/98))
|
320
|
+
- Update bundle when create release PR ([#103](https://github.com/ryz310/rubocop_challenger/pull/103))
|
269
321
|
|
270
322
|
## v0.4.1 (Oct 28, 2018)
|
271
323
|
|
272
324
|
### Bugfix
|
273
325
|
|
274
|
-
|
275
|
-
|
326
|
+
- Return status code 0 when exists no auto-correctable cop ([#91](https://github.com/ryz310/rubocop_challenger/pull/91))
|
327
|
+
- Fix rubocop version mismatch ([#92](https://github.com/ryz310/rubocop_challenger/pull/92))
|
276
328
|
|
277
329
|
### Misc
|
278
330
|
|
279
|
-
|
280
|
-
|
331
|
+
- Style/RedundantSelf at Fri Oct 26 05:58:13 UTC 2018 ([#89](https://github.com/ryz310/rubocop_challenger/pull/89))
|
332
|
+
- Layout/SpaceInsideBlockBraces at Sat Oct 27 23:30:21 UTC 2018 ([#93](https://github.com/ryz310/rubocop_challenger/pull/93))
|
281
333
|
|
282
334
|
## v0.4.0 (Oct 26, 2018)
|
283
335
|
|
284
336
|
### Feature
|
285
337
|
|
286
|
-
|
338
|
+
- Generate document from yardoc ([#86](https://github.com/ryz310/rubocop_challenger/pull/86))
|
287
339
|
|
288
340
|
### Misc
|
289
341
|
|
290
|
-
|
291
|
-
|
342
|
+
- Rake/create pr for version up ([#81](https://github.com/ryz310/rubocop_challenger/pull/81))
|
343
|
+
- Style/RescueModifier at Wed Oct 24 23:30:21 UTC 2018 ([#82](https://github.com/ryz310/rubocop_challenger/pull/82))
|
292
344
|
|
293
345
|
## v0.3.1 (Oct 23, 2018)
|
294
346
|
|
295
347
|
### Feature
|
296
348
|
|
297
|
-
|
298
|
-
|
349
|
+
- Modify default template ([#73](https://github.com/ryz310/rubocop_challenger/pull/73))
|
299
350
|
|
300
351
|
## v0.3.0 (Oct 23, 2018)
|
301
352
|
|
302
353
|
### Feature
|
303
354
|
|
304
|
-
|
305
|
-
|
355
|
+
- Add labels option ([#67](https://github.com/ryz310/rubocop_challenger/pull/67))
|
356
|
+
- Add template option ([#70](https://github.com/ryz310/rubocop_challenger/pull/70))
|
306
357
|
|
307
358
|
### Misc
|
308
359
|
|
309
|
-
|
360
|
+
- Run rubocop challenge after release ([#68](https://github.com/ryz310/rubocop_challenger/pull/68))
|
310
361
|
|
311
362
|
## v0.2.1 (Oct 23, 2019)
|
312
363
|
|
313
364
|
### Bugfix
|
314
365
|
|
315
|
-
|
366
|
+
- Fix default PR template file path ([#64](https://github.com/ryz310/rubocop_challenger/pull/64))
|
316
367
|
|
317
368
|
## v0.2.0 (Oct 23, 2018)
|
318
369
|
|
319
370
|
### Feature
|
320
371
|
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
372
|
+
- Generate pr template ([#50](https://github.com/ryz310/rubocop_challenger/pull/50))
|
373
|
+
- Add no-commit option ([#53](https://github.com/ryz310/rubocop_challenger/pull/53))
|
374
|
+
- Return status code 1 when an error occurs ([#56](https://github.com/ryz310/rubocop_challenger/pull/56))
|
375
|
+
- Add option which regenerate rubocop todo file ([#59](https://github.com/ryz310/rubocop_challenger/pull/59))
|
325
376
|
|
326
377
|
### Misc
|
327
378
|
|
328
|
-
|
329
|
-
|
379
|
+
- Add access token description ([#48](https://github.com/ryz310/rubocop_challenger/pull/48))
|
380
|
+
- Add no document option to gem install command ([#51](https://github.com/ryz310/rubocop_challenger/pull/51))
|
330
381
|
|
331
382
|
## v0.1.3 (Oct 21, 2018)
|
332
383
|
|
333
384
|
### Misc
|
334
385
|
|
335
|
-
|
336
|
-
|
337
|
-
|
386
|
+
- Style/TrailingCommaInArrayLiteral at Fri Oct 19 23:30:18 UTC 2018 ([#34](https://github.com/ryz310/rubocop_challenger/pull/34))
|
387
|
+
- Update readme ([#36](https://github.com/ryz310/rubocop_challenger/pull/36))
|
388
|
+
- Add challenge class spec ([#42](https://github.com/ryz310/rubocop_challenger/pull/42))
|
338
389
|
|
339
390
|
## v0.1.2 (Oct 19, 2018)
|
340
391
|
|
341
392
|
### Misc
|
342
393
|
|
343
|
-
|
394
|
+
- Install from gem ([#28](https://github.com/ryz310/rubocop_challenger/pull/28))
|
344
395
|
|
345
396
|
## v0.1.1 (Oct 19, 2018)
|
346
397
|
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_challenger (2.
|
4
|
+
rubocop_challenger (2.7.0)
|
5
5
|
pr_comet (~> 0.5.1)
|
6
6
|
rainbow
|
7
7
|
rubocop (>= 0.87)
|
@@ -9,13 +9,14 @@ PATH
|
|
9
9
|
rubocop-rails
|
10
10
|
rubocop-rake
|
11
11
|
rubocop-rspec
|
12
|
+
rubocop-thread_safety
|
12
13
|
thor
|
13
14
|
yard
|
14
15
|
|
15
16
|
GEM
|
16
17
|
remote: https://rubygems.org/
|
17
18
|
specs:
|
18
|
-
activesupport (6.1.
|
19
|
+
activesupport (6.1.5.1)
|
19
20
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
21
|
i18n (>= 1.6, < 2)
|
21
22
|
minitest (>= 5.1)
|
@@ -26,38 +27,42 @@ GEM
|
|
26
27
|
ast (2.4.2)
|
27
28
|
byebug (11.1.3)
|
28
29
|
coderay (1.1.3)
|
29
|
-
concurrent-ruby (1.1.
|
30
|
+
concurrent-ruby (1.1.10)
|
30
31
|
diff-lcs (1.5.0)
|
31
32
|
docile (1.4.0)
|
32
|
-
faraday (1.
|
33
|
+
faraday (1.10.0)
|
33
34
|
faraday-em_http (~> 1.0)
|
34
35
|
faraday-em_synchrony (~> 1.0)
|
35
36
|
faraday-excon (~> 1.1)
|
36
|
-
faraday-httpclient (~> 1.0
|
37
|
+
faraday-httpclient (~> 1.0)
|
38
|
+
faraday-multipart (~> 1.0)
|
37
39
|
faraday-net_http (~> 1.0)
|
38
|
-
faraday-net_http_persistent (~> 1.
|
40
|
+
faraday-net_http_persistent (~> 1.0)
|
39
41
|
faraday-patron (~> 1.0)
|
40
42
|
faraday-rack (~> 1.0)
|
41
|
-
|
43
|
+
faraday-retry (~> 1.0)
|
42
44
|
ruby2_keywords (>= 0.0.4)
|
43
45
|
faraday-em_http (1.0.0)
|
44
46
|
faraday-em_synchrony (1.0.0)
|
45
47
|
faraday-excon (1.1.0)
|
46
48
|
faraday-httpclient (1.0.1)
|
49
|
+
faraday-multipart (1.0.3)
|
50
|
+
multipart-post (>= 1.2, < 3)
|
47
51
|
faraday-net_http (1.0.1)
|
48
52
|
faraday-net_http_persistent (1.2.0)
|
49
53
|
faraday-patron (1.0.0)
|
50
54
|
faraday-rack (1.0.0)
|
51
|
-
|
55
|
+
faraday-retry (1.0.3)
|
56
|
+
i18n (1.10.0)
|
52
57
|
concurrent-ruby (~> 1.0)
|
53
58
|
method_source (1.0.0)
|
54
59
|
minitest (5.15.0)
|
55
60
|
multipart-post (2.1.1)
|
56
|
-
octokit (4.
|
61
|
+
octokit (4.22.0)
|
57
62
|
faraday (>= 0.9)
|
58
63
|
sawyer (~> 0.8.0, >= 0.5.3)
|
59
|
-
parallel (1.
|
60
|
-
parser (3.
|
64
|
+
parallel (1.22.1)
|
65
|
+
parser (3.1.2.0)
|
61
66
|
ast (~> 2.4.1)
|
62
67
|
pr_comet (0.5.1)
|
63
68
|
octokit
|
@@ -68,49 +73,51 @@ GEM
|
|
68
73
|
pry-byebug (3.9.0)
|
69
74
|
byebug (~> 11.0)
|
70
75
|
pry (~> 0.13.0)
|
71
|
-
public_suffix (4.0.
|
76
|
+
public_suffix (4.0.7)
|
72
77
|
rack (2.2.3)
|
73
|
-
rainbow (3.
|
78
|
+
rainbow (3.1.1)
|
74
79
|
rake (13.0.6)
|
75
|
-
regexp_parser (2.
|
80
|
+
regexp_parser (2.3.1)
|
76
81
|
rexml (3.2.5)
|
77
|
-
rspec (3.
|
78
|
-
rspec-core (~> 3.
|
79
|
-
rspec-expectations (~> 3.
|
80
|
-
rspec-mocks (~> 3.
|
81
|
-
rspec-core (3.
|
82
|
-
rspec-support (~> 3.
|
83
|
-
rspec-expectations (3.
|
82
|
+
rspec (3.11.0)
|
83
|
+
rspec-core (~> 3.11.0)
|
84
|
+
rspec-expectations (~> 3.11.0)
|
85
|
+
rspec-mocks (~> 3.11.0)
|
86
|
+
rspec-core (3.11.0)
|
87
|
+
rspec-support (~> 3.11.0)
|
88
|
+
rspec-expectations (3.11.0)
|
84
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
85
|
-
rspec-support (~> 3.
|
86
|
-
rspec-mocks (3.
|
90
|
+
rspec-support (~> 3.11.0)
|
91
|
+
rspec-mocks (3.11.1)
|
87
92
|
diff-lcs (>= 1.2.0, < 2.0)
|
88
|
-
rspec-support (~> 3.
|
89
|
-
rspec-support (3.
|
90
|
-
rspec_junit_formatter (0.
|
93
|
+
rspec-support (~> 3.11.0)
|
94
|
+
rspec-support (3.11.0)
|
95
|
+
rspec_junit_formatter (0.5.1)
|
91
96
|
rspec-core (>= 2, < 4, != 2.12.0)
|
92
|
-
rubocop (1.
|
97
|
+
rubocop (1.29.0)
|
93
98
|
parallel (~> 1.10)
|
94
|
-
parser (>= 3.
|
99
|
+
parser (>= 3.1.0.0)
|
95
100
|
rainbow (>= 2.2.2, < 4.0)
|
96
101
|
regexp_parser (>= 1.8, < 3.0)
|
97
|
-
rexml
|
98
|
-
rubocop-ast (>= 1.
|
102
|
+
rexml (>= 3.2.5, < 4.0)
|
103
|
+
rubocop-ast (>= 1.17.0, < 2.0)
|
99
104
|
ruby-progressbar (~> 1.7)
|
100
105
|
unicode-display_width (>= 1.4.0, < 3.0)
|
101
|
-
rubocop-ast (1.
|
102
|
-
parser (>= 3.
|
103
|
-
rubocop-performance (1.13.
|
106
|
+
rubocop-ast (1.17.0)
|
107
|
+
parser (>= 3.1.1.0)
|
108
|
+
rubocop-performance (1.13.3)
|
104
109
|
rubocop (>= 1.7.0, < 2.0)
|
105
110
|
rubocop-ast (>= 0.4.0)
|
106
|
-
rubocop-rails (2.
|
111
|
+
rubocop-rails (2.14.2)
|
107
112
|
activesupport (>= 4.2.0)
|
108
113
|
rack (>= 1.1)
|
109
114
|
rubocop (>= 1.7.0, < 2.0)
|
110
115
|
rubocop-rake (0.6.0)
|
111
116
|
rubocop (~> 1.0)
|
112
|
-
rubocop-rspec (2.
|
117
|
+
rubocop-rspec (2.10.0)
|
113
118
|
rubocop (~> 1.19)
|
119
|
+
rubocop-thread_safety (0.4.4)
|
120
|
+
rubocop (>= 0.53.0)
|
114
121
|
ruby-progressbar (1.11.0)
|
115
122
|
ruby2_keywords (0.0.5)
|
116
123
|
sawyer (0.8.2)
|
@@ -121,15 +128,15 @@ GEM
|
|
121
128
|
simplecov-html (~> 0.11)
|
122
129
|
simplecov_json_formatter (~> 0.1)
|
123
130
|
simplecov-html (0.12.3)
|
124
|
-
simplecov_json_formatter (0.1.
|
125
|
-
thor (1.1
|
131
|
+
simplecov_json_formatter (0.1.4)
|
132
|
+
thor (1.2.1)
|
126
133
|
tzinfo (2.0.4)
|
127
134
|
concurrent-ruby (~> 1.0)
|
128
135
|
unicode-display_width (2.1.0)
|
129
136
|
webrick (1.7.0)
|
130
137
|
yard (0.9.27)
|
131
138
|
webrick (~> 1.7.0)
|
132
|
-
zeitwerk (2.5.
|
139
|
+
zeitwerk (2.5.4)
|
133
140
|
|
134
141
|
PLATFORMS
|
135
142
|
ruby
|
@@ -145,4 +152,4 @@ DEPENDENCIES
|
|
145
152
|
simplecov (= 0.21.2)
|
146
153
|
|
147
154
|
BUNDLED WITH
|
148
|
-
2.2.
|
155
|
+
2.2.32
|
data/challenger.gemspec
CHANGED
@@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_runtime_dependency 'rubocop-rails'
|
32
32
|
spec.add_runtime_dependency 'rubocop-rake'
|
33
33
|
spec.add_runtime_dependency 'rubocop-rspec'
|
34
|
+
spec.add_runtime_dependency 'rubocop-thread_safety'
|
34
35
|
spec.add_runtime_dependency 'thor'
|
35
36
|
spec.add_runtime_dependency 'yard'
|
36
37
|
|
@@ -27,7 +27,8 @@ module RubocopChallenger
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def auto_correctable?
|
30
|
-
contents.include?('# Cop supports --auto-correct')
|
30
|
+
contents.include?('# Cop supports --auto-correct') || # for rubocop < v1.26.0
|
31
|
+
contents.match?(/# This cop supports (un)?safe auto-correction/) # for rubocop >= v1.26.0
|
31
32
|
end
|
32
33
|
|
33
34
|
def rubydoc_url
|
data/lib/rubocop_challenger.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
[<%= title %>](<%= rubydoc_url %>)
|
4
4
|
|
5
5
|
<% if safe_autocorrect? -%>
|
6
|
-
**Safe autocorrect:
|
6
|
+
**Safe autocorrect: Yes**
|
7
7
|
:white_check_mark: The auto-correct a cop does is safe (equivalent) by design.
|
8
8
|
<% else -%>
|
9
|
-
**Safe autocorrect:
|
9
|
+
**Safe autocorrect: No**
|
10
10
|
:warning: The auto-correct a cop can yield false positives by design.
|
11
11
|
<% end -%>
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
[<%= title %>](<%= rubydoc_url %>)
|
4
4
|
|
5
5
|
<% if safe_autocorrect? -%>
|
6
|
-
**Safe autocorrect:
|
6
|
+
**Safe autocorrect: Yes**
|
7
7
|
:white_check_mark: The auto-correct a cop does is safe (equivalent) by design.
|
8
8
|
<% else -%>
|
9
|
-
**Safe autocorrect:
|
9
|
+
**Safe autocorrect: No**
|
10
10
|
:warning: The auto-correct a cop can yield false positives by design.
|
11
11
|
<% end -%>
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_challenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ryosuke_sato
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pr_comet
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop-thread_safety
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: thor
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
293
307
|
- !ruby/object:Gem::Version
|
294
308
|
version: '0'
|
295
309
|
requirements: []
|
296
|
-
rubygems_version: 3.
|
310
|
+
rubygems_version: 3.3.11
|
297
311
|
signing_key:
|
298
312
|
specification_version: 4
|
299
313
|
summary: Make a clean your rubocop_todo.yml with CI
|