rubocop_challenger 2.5.0 → 2.6.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: f437746a124d1136ba8e063c238ce634a96a21204b55d43970cd0131aa7c698e
4
+ data.tar.gz: c69494134cb69557e40ab92af2dbbd5bc53c950f0c9d471995a4dab78a989843
5
5
  SHA512:
6
- metadata.gz: e1c137155a305fe02312079d18c38de44b52a3163a8c4748f1e813cb5d53551bbebb466ec6c15d142bc70ac2b36a850963919acaaab7e871e936c7324f43d02b
7
- data.tar.gz: 1b1ffa7014dca47a0eb0e0bcadb2a19c7b08ddebaf18d4581090307804195f14d8dab98694079787c84ef2c9beaf7fa2c730b75ed51ea5a51c02931893e6acd3
6
+ metadata.gz: 91c99525eacb2713aa3f003ffc3afd9658c93d733a3ff36df24852a00f00e8fb27fb1431dfe78ef58d5ef98fdbf8ef1c981201134749e050a842d793217dceb6
7
+ data.tar.gz: 722cbfd0286ff9121615bdb3812e1667e09b1d8bafd316be1e387c56c61b26182e75b764c7754161fb3c0f0ff067e062fd67825697449f715d50f77c1e781ede
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.26.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,5 +1,22 @@
1
1
  # Change log
2
2
 
3
+ ## v2.6.0 (Mar 10, 2022)
4
+
5
+ ### Feature
6
+
7
+ * [#577](https://github.com/ryz310/rubocop_challenger/pull/577) Support new auto-correction comments at rubocop v1.26.0 ([@ryz310](https://github.com/ryz310))
8
+
9
+ ### Rubocop Challenge
10
+
11
+ * [#573](https://github.com/ryz310/rubocop_challenger/pull/573) RSpec/BeNil-20220228233046 ([@ryz310](https://github.com/ryz310))
12
+ * [#576](https://github.com/ryz310/rubocop_challenger/pull/576) Re-generate .rubocop_todo.yml with RuboCop v1.26.0 ([@ryz310](https://github.com/ryz310))
13
+
14
+ ### Dependabot
15
+
16
+ * [#571](https://github.com/ryz310/rubocop_challenger/pull/571) Bump rspec from 3.10.0 to 3.11.0 ([@ryz310](https://github.com/ryz310))
17
+ * [#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))
18
+ * [#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))
19
+
3
20
  ## v2.5.0 (Jan 18, 2022)
4
21
 
5
22
  ### Feature
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop_challenger (2.5.0)
4
+ rubocop_challenger (2.6.0)
5
5
  pr_comet (~> 0.5.1)
6
6
  rainbow
7
7
  rubocop (>= 0.87)
@@ -16,7 +16,7 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- activesupport (6.1.4.4)
19
+ activesupport (6.1.4.7)
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
21
  i18n (>= 1.6, < 2)
22
22
  minitest (>= 5.1)
@@ -30,7 +30,7 @@ GEM
30
30
  concurrent-ruby (1.1.9)
31
31
  diff-lcs (1.5.0)
32
32
  docile (1.4.0)
33
- faraday (1.9.3)
33
+ faraday (1.10.0)
34
34
  faraday-em_http (~> 1.0)
35
35
  faraday-em_synchrony (~> 1.0)
36
36
  faraday-excon (~> 1.1)
@@ -53,7 +53,7 @@ GEM
53
53
  faraday-patron (1.0.0)
54
54
  faraday-rack (1.0.0)
55
55
  faraday-retry (1.0.3)
56
- i18n (1.8.11)
56
+ i18n (1.10.0)
57
57
  concurrent-ruby (~> 1.0)
58
58
  method_source (1.0.0)
59
59
  minitest (5.15.0)
@@ -62,7 +62,7 @@ GEM
62
62
  faraday (>= 0.9)
63
63
  sawyer (~> 0.8.0, >= 0.5.3)
64
64
  parallel (1.21.0)
65
- parser (3.1.0.0)
65
+ parser (3.1.1.0)
66
66
  ast (~> 2.4.1)
67
67
  pr_comet (0.5.1)
68
68
  octokit
@@ -77,35 +77,35 @@ GEM
77
77
  rack (2.2.3)
78
78
  rainbow (3.1.1)
79
79
  rake (13.0.6)
80
- regexp_parser (2.2.0)
80
+ regexp_parser (2.2.1)
81
81
  rexml (3.2.5)
82
- rspec (3.10.0)
83
- rspec-core (~> 3.10.0)
84
- rspec-expectations (~> 3.10.0)
85
- rspec-mocks (~> 3.10.0)
86
- rspec-core (3.10.1)
87
- rspec-support (~> 3.10.0)
88
- rspec-expectations (3.10.2)
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)
89
89
  diff-lcs (>= 1.2.0, < 2.0)
90
- rspec-support (~> 3.10.0)
91
- rspec-mocks (3.10.2)
90
+ rspec-support (~> 3.11.0)
91
+ rspec-mocks (3.11.0)
92
92
  diff-lcs (>= 1.2.0, < 2.0)
93
- rspec-support (~> 3.10.0)
94
- rspec-support (3.10.3)
93
+ rspec-support (~> 3.11.0)
94
+ rspec-support (3.11.0)
95
95
  rspec_junit_formatter (0.5.1)
96
96
  rspec-core (>= 2, < 4, != 2.12.0)
97
- rubocop (1.25.0)
97
+ rubocop (1.26.0)
98
98
  parallel (~> 1.10)
99
99
  parser (>= 3.1.0.0)
100
100
  rainbow (>= 2.2.2, < 4.0)
101
101
  regexp_parser (>= 1.8, < 3.0)
102
102
  rexml
103
- rubocop-ast (>= 1.15.1, < 2.0)
103
+ rubocop-ast (>= 1.16.0, < 2.0)
104
104
  ruby-progressbar (~> 1.7)
105
105
  unicode-display_width (>= 1.4.0, < 3.0)
106
- rubocop-ast (1.15.1)
107
- parser (>= 3.0.1.1)
108
- rubocop-performance (1.13.2)
106
+ rubocop-ast (1.16.0)
107
+ parser (>= 3.1.1.0)
108
+ rubocop-performance (1.13.3)
109
109
  rubocop (>= 1.7.0, < 2.0)
110
110
  rubocop-ast (>= 0.4.0)
111
111
  rubocop-rails (2.13.2)
@@ -114,7 +114,7 @@ GEM
114
114
  rubocop (>= 1.7.0, < 2.0)
115
115
  rubocop-rake (0.6.0)
116
116
  rubocop (~> 1.0)
117
- rubocop-rspec (2.7.0)
117
+ rubocop-rspec (2.9.0)
118
118
  rubocop (~> 1.19)
119
119
  rubocop-thread_safety (0.4.4)
120
120
  rubocop (>= 0.53.0)
@@ -128,7 +128,7 @@ GEM
128
128
  simplecov-html (~> 0.11)
129
129
  simplecov_json_formatter (~> 0.1)
130
130
  simplecov-html (0.12.3)
131
- simplecov_json_formatter (0.1.3)
131
+ simplecov_json_formatter (0.1.4)
132
132
  thor (1.2.1)
133
133
  tzinfo (2.0.4)
134
134
  concurrent-ruby (~> 1.0)
@@ -136,7 +136,7 @@ GEM
136
136
  webrick (1.7.0)
137
137
  yard (0.9.27)
138
138
  webrick (~> 1.7.0)
139
- zeitwerk (2.5.3)
139
+ zeitwerk (2.5.4)
140
140
 
141
141
  PLATFORMS
142
142
  ruby
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopChallenger
4
- VERSION = '2.5.0'
4
+ VERSION = '2.6.0'
5
5
  end
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.5.0
4
+ version: 2.6.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: 2022-01-18 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pr_comet