rubocop-ruby2_7 3.0.0 → 3.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9f4fbfc85a0ad1e4a15fe34cafe06b3dfadb33f3a191cafebe946ba61f771b4
4
- data.tar.gz: f89e327dd683b13230ed5c7e1d6aebd28d21fed1e8eb5e2d6d6ab3c7ea3b43e0
3
+ metadata.gz: 7b8e519790e068306e912067afb050c66f6cedad9915183f121c07bda268398b
4
+ data.tar.gz: 560d08d89382a0cc44b9dadb7f070275e1da1647bc5676d5800fb52239fb289a
5
5
  SHA512:
6
- metadata.gz: 9e753b740a76773a2cbf299d83fc510af4d407065d2f033686a9916b8adec8f9df804e1e97b89b62ca90aa6a0c6bb4a40270cb100fb0dad90088b425e3a89a9c
7
- data.tar.gz: bbda025dcfd09ed0adbaacee7f5f8b56d5e452adc339fbb40b9216a9ef08943ef8fcded37cf8accc95b7d2ac78c5539491fd2699845786b5e0e5fcb1a9c43735
6
+ metadata.gz: 34a56f2a1fbe8d18110a86bcb01657a260ad4d209d9af5fba4a4b622213aea6b7ccda8c1ae59c1afb07f59b7759847602c84c0ef5387e27593bffe0775cc6680
7
+ data.tar.gz: 560e995e9b03129a9b3e902e8de1da98a242cc0e2056f199a1b8af5d6f023e00a091008444ecfca914490186bca8ae484308e651df35a6b80b04fb6f8c25a81f
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
  ## [Unreleased]
8
8
  ### Added
9
9
  ### Changed
10
+ ### Fixed
11
+ ### Removed
12
+
13
+ ## [3.0.2] 2026-06-01
14
+ ### Added
15
+ ### Changed
16
+ - Corrected gem metadata to declare the Ruby 3.2 runtime floor that has been implicit since the last major release.
17
+ - Updated dependency floors:
18
+ - `version_gem` to `~> 1.1`, `>= 1.1.9`.
19
+ - `rubocop-gradual` to `~> 0.3`, `>= 0.3.6`.
20
+ - `rubocop-md` to `~> 2.0`, `>= 2.0.4`.
21
+ - `rubocop-rake` to `~> 0.7`, `>= 0.7.1`.
22
+ - `rubocop-thread_safety` to `~> 0.7`, `>= 0.7.3`.
23
+ - `standard-rubocop-lts` to `~> 2.0`, `>= 2.0.3`.
24
+ - Release, lint, documentation, and test dependencies to their latest compatible floors.
25
+ - Updated direct dependency floors and moved `rubocop-md` to plugin loading.
26
+ ### Fixed
27
+ ### Removed
28
+
29
+ ## [3.0.1] 2026-06-01
30
+ ### Added
31
+ ### Changed
32
+ - Load `rubocop-thread_safety` through RuboCop's plugin API.
33
+ ### Fixed
34
+ ### Removed
35
+
36
+ ## [3.0.0] 2026-05-30
37
+ ### Added
38
+ ### Changed
10
39
  - Tidelift for Reporting Security vulnerabilities
11
40
  - Updated `standard-rubocop-lts` dependency to the `2.x` series.
12
41
  ### Fixed
@@ -151,7 +180,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
151
180
  ### Added
152
181
  - Initial release
153
182
 
154
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.6...HEAD
183
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v3.0.2...HEAD
155
184
  [2.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.5...v2.0.6
156
185
  [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.4...v2.0.5
157
186
  [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v2.0.3...v2.0.4
@@ -170,3 +199,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
170
199
  [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.1...v1.0.2
171
200
  [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.0...v1.0.1
172
201
  [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/70d9ab2660620916ed08d1f6057d10fc4f9aa731...v1.0.0
202
+ [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v3.0.0...v3.0.1
203
+ [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v2.0.6...v3.0.0
204
+ [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/compare/v3.0.1...v3.0.2
data/README.md CHANGED
@@ -1,20 +1,4 @@
1
- <p align="center">
2
- <a href="https://rubocop.org#gh-light-mode-only" target="_blank" rel="noopener">
3
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/logo/rubocop-light.svg?raw=true" alt="SVG RuboCop Logo, Copyright (c) 2014 Dimiter Petrov, CC BY-NC 4.0, see docs/images/logo/README.txt">
4
- </a>
5
- <a href="https://rubocop.org#gh-dark-mode-only" target="_blank" rel="noopener">
6
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/logo/rubocop-dark.svg?raw=true" alt="SVG RuboCop Logo, Copyright (c) 2014 Dimiter Petrov, CC BY-NC 4.0, see docs/images/logo/README.txt">
7
- </a>
8
- <a href="https://www.ruby-lang.org/" target="_blank" rel="noopener">
9
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/logo/ruby-logo.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5, see docs/images/logo/README.txt">
10
- </a>
11
- <a href="https://semver.org/#gh-light-mode-only" target="_blank" rel="noopener">
12
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/logo/semver-light.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
13
- </a>
14
- <a href="https://semver.org/#gh-dark-mode-only" target="_blank" rel="noopener">
15
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/logo/semver-dark.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
16
- </a>
17
- </p>
1
+ <a href="https://rubocop-lts.gitlab.io/"><img alt="rubocop-lts Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/rubocop-lts/avatar-192px.svg" width="20%" align="right"/></a>
18
2
 
19
3
  # 🦾 Rubocop::Ruby27
20
4
 
@@ -22,10 +6,13 @@
22
6
 
23
7
  ---
24
8
 
25
- The **RuboCop LTS** family of gems is the distillation of almost 20 years
9
+ The RuboCop LTS family of gems is the distillation of more than 20 years
26
10
  of my own Ruby expertise and source code diving,
27
- built on the shoulders of the expertise of many others;
11
+ built on the shoulders of the expertise of many others — `rubocop`, `standard`,
12
+ `rubocop-gradual` and others are runtime dependencies — not reinventing any wheels here);
28
13
  organizing that expertise into per-Ruby-version sets of configurations.
14
+ Yes, I typed those emdashes, and wrote this entire README myself without AI —
15
+ `ctrl`-`shift`-`u`-`2014`.
29
16
 
30
17
  Although the situation has improved somewhat,
31
18
  it remains [_unsafe_ to upgrade RuboCop, or Standard][Why-Build-This],
@@ -3,7 +3,7 @@
3
3
  module Rubocop
4
4
  module Ruby27
5
5
  module Version
6
- VERSION = "3.0.0"
6
+ VERSION = "3.0.2"
7
7
  end
8
8
  end
9
9
  end
data/rubocop-lts/ruby.yml CHANGED
@@ -10,9 +10,6 @@ inherit_mode:
10
10
  require:
11
11
  # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
12
12
  - standard-rubocop-lts
13
- # The goal here is convention over configuration...
14
- # In light of that, we are well past having convened on Markdown for README docs and such.
15
- - rubocop-md
16
13
  # Rubygems, and Rails apps have Rakefile as a convention, and if they don't, why not?
17
14
  # Other Ruby projects don't have a Rakefile by default, so if needed we could add a ruby_vanilla.yml.
18
15
  # With Rakefile seems more common than without for projects that bother to install a linter.
@@ -37,8 +34,12 @@ Metrics:
37
34
  Enabled: true
38
35
 
39
36
  plugins:
37
+ # Lint Markdown code examples through RuboCop's plugin API.
38
+ - rubocop-md
40
39
  # Rubygems have Rakefile as a convention, and if they don't, why not?
41
40
  - rubocop-rake
41
+ # Warn about thread unsafe code in the broad LTS Ruby profile.
42
+ - rubocop-thread_safety
42
43
 
43
44
  # Ruby specific customizations
44
45
  Layout/LineLength:
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_7
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -41,22 +41,22 @@ dependencies:
41
41
  name: version_gem
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.1'
44
47
  - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: 1.1.9
47
- - - "<"
48
- - !ruby/object:Gem::Version
49
- version: '3'
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '1.1'
54
57
  - - ">="
55
58
  - !ruby/object:Gem::Version
56
59
  version: 1.1.9
57
- - - "<"
58
- - !ruby/object:Gem::Version
59
- version: '3'
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rubocop-gradual
62
62
  requirement: !ruby/object:Gem::Requirement
@@ -66,7 +66,7 @@ dependencies:
66
66
  version: '0.3'
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.3.4
69
+ version: 0.3.6
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -76,61 +76,67 @@ dependencies:
76
76
  version: '0.3'
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: 0.3.4
79
+ version: 0.3.6
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rubocop-md
82
82
  requirement: !ruby/object:Gem::Requirement
83
83
  requirements:
84
84
  - - "~>"
85
85
  - !ruby/object:Gem::Version
86
- version: '1.2'
86
+ version: '2.0'
87
87
  - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.2.1
89
+ version: 2.0.4
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.2'
96
+ version: '2.0'
97
97
  - - ">="
98
98
  - !ruby/object:Gem::Version
99
- version: 1.2.1
99
+ version: 2.0.4
100
100
  - !ruby/object:Gem::Dependency
101
101
  name: rubocop-rake
102
102
  requirement: !ruby/object:Gem::Requirement
103
103
  requirements:
104
104
  - - "~>"
105
105
  - !ruby/object:Gem::Version
106
- version: '0.6'
106
+ version: '0.7'
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: 0.7.1
107
110
  type: :runtime
108
111
  prerelease: false
109
112
  version_requirements: !ruby/object:Gem::Requirement
110
113
  requirements:
111
114
  - - "~>"
112
115
  - !ruby/object:Gem::Version
113
- version: '0.6'
116
+ version: '0.7'
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: 0.7.1
114
120
  - !ruby/object:Gem::Dependency
115
121
  name: rubocop-thread_safety
116
122
  requirement: !ruby/object:Gem::Requirement
117
123
  requirements:
118
124
  - - "~>"
119
125
  - !ruby/object:Gem::Version
120
- version: '0.5'
126
+ version: '0.7'
121
127
  - - ">="
122
128
  - !ruby/object:Gem::Version
123
- version: 0.5.1
129
+ version: 0.7.3
124
130
  type: :runtime
125
131
  prerelease: false
126
132
  version_requirements: !ruby/object:Gem::Requirement
127
133
  requirements:
128
134
  - - "~>"
129
135
  - !ruby/object:Gem::Version
130
- version: '0.5'
136
+ version: '0.7'
131
137
  - - ">="
132
138
  - !ruby/object:Gem::Version
133
- version: 0.5.1
139
+ version: 0.7.3
134
140
  - !ruby/object:Gem::Dependency
135
141
  name: standard-rubocop-lts
136
142
  requirement: !ruby/object:Gem::Requirement
@@ -140,7 +146,7 @@ dependencies:
140
146
  version: '2.0'
141
147
  - - ">="
142
148
  - !ruby/object:Gem::Version
143
- version: 2.0.2
149
+ version: 2.0.3
144
150
  type: :runtime
145
151
  prerelease: false
146
152
  version_requirements: !ruby/object:Gem::Requirement
@@ -150,21 +156,27 @@ dependencies:
150
156
  version: '2.0'
151
157
  - - ">="
152
158
  - !ruby/object:Gem::Version
153
- version: 2.0.2
159
+ version: 2.0.3
154
160
  - !ruby/object:Gem::Dependency
155
161
  name: rake
156
162
  requirement: !ruby/object:Gem::Requirement
157
163
  requirements:
158
164
  - - "~>"
159
165
  - !ruby/object:Gem::Version
160
- version: '13.1'
166
+ version: '13.4'
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: 13.4.2
161
170
  type: :development
162
171
  prerelease: false
163
172
  version_requirements: !ruby/object:Gem::Requirement
164
173
  requirements:
165
174
  - - "~>"
166
175
  - !ruby/object:Gem::Version
167
- version: '13.1'
176
+ version: '13.4'
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 13.4.2
168
180
  - !ruby/object:Gem::Dependency
169
181
  name: kettle-soup-cover
170
182
  requirement: !ruby/object:Gem::Requirement
@@ -191,14 +203,20 @@ dependencies:
191
203
  requirements:
192
204
  - - "~>"
193
205
  - !ruby/object:Gem::Version
194
- version: '2.4'
206
+ version: '2.5'
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: 2.5.2
195
210
  type: :development
196
211
  prerelease: false
197
212
  version_requirements: !ruby/object:Gem::Requirement
198
213
  requirements:
199
214
  - - "~>"
200
215
  - !ruby/object:Gem::Version
201
- version: '2.4'
216
+ version: '2.5'
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ version: 2.5.2
202
220
  - !ruby/object:Gem::Dependency
203
221
  name: yard
204
222
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +226,7 @@ dependencies:
208
226
  version: '0.9'
209
227
  - - ">="
210
228
  - !ruby/object:Gem::Version
211
- version: 0.9.34
229
+ version: 0.9.44
212
230
  type: :development
213
231
  prerelease: false
214
232
  version_requirements: !ruby/object:Gem::Requirement
@@ -218,7 +236,7 @@ dependencies:
218
236
  version: '0.9'
219
237
  - - ">="
220
238
  - !ruby/object:Gem::Version
221
- version: 0.9.34
239
+ version: 0.9.44
222
240
  - !ruby/object:Gem::Dependency
223
241
  name: rubocop-lts-rspec
224
242
  requirement: !ruby/object:Gem::Requirement
@@ -228,7 +246,7 @@ dependencies:
228
246
  version: '1.0'
229
247
  - - ">="
230
248
  - !ruby/object:Gem::Version
231
- version: 1.0.1
249
+ version: 1.0.2
232
250
  type: :development
233
251
  prerelease: false
234
252
  version_requirements: !ruby/object:Gem::Requirement
@@ -238,41 +256,47 @@ dependencies:
238
256
  version: '1.0'
239
257
  - - ">="
240
258
  - !ruby/object:Gem::Version
241
- version: 1.0.1
259
+ version: 1.0.2
242
260
  - !ruby/object:Gem::Dependency
243
261
  name: rubocop-packaging
244
262
  requirement: !ruby/object:Gem::Requirement
245
263
  requirements:
246
264
  - - "~>"
247
265
  - !ruby/object:Gem::Version
248
- version: '0.5'
266
+ version: '0.6'
249
267
  - - ">="
250
268
  - !ruby/object:Gem::Version
251
- version: 0.5.2
269
+ version: 0.6.0
252
270
  type: :development
253
271
  prerelease: false
254
272
  version_requirements: !ruby/object:Gem::Requirement
255
273
  requirements:
256
274
  - - "~>"
257
275
  - !ruby/object:Gem::Version
258
- version: '0.5'
276
+ version: '0.6'
259
277
  - - ">="
260
278
  - !ruby/object:Gem::Version
261
- version: 0.5.2
279
+ version: 0.6.0
262
280
  - !ruby/object:Gem::Dependency
263
281
  name: rspec
264
282
  requirement: !ruby/object:Gem::Requirement
265
283
  requirements:
266
284
  - - "~>"
267
285
  - !ruby/object:Gem::Version
268
- version: '3.12'
286
+ version: '3.13'
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: 3.13.2
269
290
  type: :development
270
291
  prerelease: false
271
292
  version_requirements: !ruby/object:Gem::Requirement
272
293
  requirements:
273
294
  - - "~>"
274
295
  - !ruby/object:Gem::Version
275
- version: '3.12'
296
+ version: '3.13'
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: 3.13.2
276
300
  - !ruby/object:Gem::Dependency
277
301
  name: rspec-block_is_expected
278
302
  requirement: !ruby/object:Gem::Requirement
@@ -282,7 +306,7 @@ dependencies:
282
306
  version: '1.0'
283
307
  - - ">="
284
308
  - !ruby/object:Gem::Version
285
- version: 1.0.5
309
+ version: 1.0.6
286
310
  type: :development
287
311
  prerelease: false
288
312
  version_requirements: !ruby/object:Gem::Requirement
@@ -292,7 +316,7 @@ dependencies:
292
316
  version: '1.0'
293
317
  - - ">="
294
318
  - !ruby/object:Gem::Version
295
- version: 1.0.5
319
+ version: 1.0.6
296
320
  - !ruby/object:Gem::Dependency
297
321
  name: rspec_junit_formatter
298
322
  requirement: !ruby/object:Gem::Requirement
@@ -300,6 +324,9 @@ dependencies:
300
324
  - - "~>"
301
325
  - !ruby/object:Gem::Version
302
326
  version: '0.6'
327
+ - - ">="
328
+ - !ruby/object:Gem::Version
329
+ version: 0.6.0
303
330
  type: :development
304
331
  prerelease: false
305
332
  version_requirements: !ruby/object:Gem::Requirement
@@ -307,6 +334,9 @@ dependencies:
307
334
  - - "~>"
308
335
  - !ruby/object:Gem::Version
309
336
  version: '0.6'
337
+ - - ">="
338
+ - !ruby/object:Gem::Version
339
+ version: 0.6.0
310
340
  - !ruby/object:Gem::Dependency
311
341
  name: rspec-stubbed_env
312
342
  requirement: !ruby/object:Gem::Requirement
@@ -362,10 +392,10 @@ licenses:
362
392
  - MIT
363
393
  metadata:
364
394
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_7
365
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v3.0.0
366
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v3.0.0/CHANGELOG.md
395
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v3.0.2
396
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v3.0.2/CHANGELOG.md
367
397
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
368
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/3.0.0
398
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/3.0.2
369
399
  funding_uri: https://liberapay.com/pboling
370
400
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/wiki
371
401
  rubygems_mfa_required: 'true'
@@ -376,7 +406,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
376
406
  requirements:
377
407
  - - ">="
378
408
  - !ruby/object:Gem::Version
379
- version: '2.7'
409
+ version: 3.2.0
380
410
  required_rubygems_version: !ruby/object:Gem::Requirement
381
411
  requirements:
382
412
  - - ">="
metadata.gz.sig CHANGED
Binary file