rubocop-ruby2_2 3.0.2 → 3.0.4
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +98 -7
- data/CITATION.cff +20 -0
- data/CODE_OF_CONDUCT.md +79 -29
- data/CONTRIBUTING.md +260 -27
- data/FUNDING.md +70 -0
- data/LICENSE.md +11 -0
- data/README.md +424 -331
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +3 -4
- data/certs/pboling.pem +27 -0
- data/lib/rubocop/ruby2_2/version.rb +2 -1
- data/lib/rubocop/ruby2_2.rb +2 -2
- data/sig/rubocop/ruby2_2/version.rbs +8 -0
- data/sig/rubocop/ruby2_2.rbs +0 -1
- data.tar.gz.sig +0 -0
- metadata +233 -68
- metadata.gz.sig +0 -0
- data/LICENSE.txt +0 -21
- data/rubocop-lts/rails.yml +0 -15
- data/rubocop-lts/rails_rspec.yml +0 -6
- data/rubocop-lts/rspec.yml +0 -15
- data/rubocop-lts/ruby.yml +0 -43
- data/rubocop-lts/ruby_rspec.yml +0 -6
- data/rubocop-lts/rubygem.yml +0 -6
- data/rubocop-lts/rubygem_rspec.yml +0 -4
- data/rubocop-lts/strict/rails.yml +0 -22
- data/rubocop-lts/strict/rspec.yml +0 -14
- data/rubocop-lts/strict/ruby.yml +0 -14
- data/rubocop.yml +0 -15
data/RUBOCOP.md
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# RuboCop Usage Guide
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
A tale of two RuboCop plugin gems.
|
|
6
|
+
|
|
7
|
+
### RuboCop Gradual
|
|
8
|
+
|
|
9
|
+
This project uses `rubocop_gradual` instead of vanilla RuboCop for code style checking. The `rubocop_gradual` tool allows for gradual adoption of RuboCop rules by tracking violations in a lock file.
|
|
10
|
+
|
|
11
|
+
### RuboCop LTS
|
|
12
|
+
|
|
13
|
+
This project uses `rubocop-lts` to ensure, on a best-effort basis, compatibility with Ruby >= 1.9.2.
|
|
14
|
+
RuboCop rules are meticulously configured by the `rubocop-lts` family of gems to ensure that a project is compatible with a specific version of Ruby. See: https://rubocop-lts.gitlab.io for more.
|
|
15
|
+
|
|
16
|
+
## Checking RuboCop Violations
|
|
17
|
+
|
|
18
|
+
To check for RuboCop violations in this project, always use:
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
bundle exec rake rubocop_gradual:check
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Do not use** the standard RuboCop commands like:
|
|
25
|
+
- `bundle exec rubocop`
|
|
26
|
+
- `rubocop`
|
|
27
|
+
|
|
28
|
+
## Understanding the Lock File
|
|
29
|
+
|
|
30
|
+
The `.rubocop_gradual.lock` file tracks all current RuboCop violations in the project. This allows the team to:
|
|
31
|
+
|
|
32
|
+
1. Prevent new violations while gradually fixing existing ones
|
|
33
|
+
2. Track progress on code style improvements
|
|
34
|
+
3. Ensure CI builds don't fail due to pre-existing violations
|
|
35
|
+
|
|
36
|
+
## Common Commands
|
|
37
|
+
|
|
38
|
+
- **Check violations**
|
|
39
|
+
- `bundle exec rake rubocop_gradual`
|
|
40
|
+
- `bundle exec rake rubocop_gradual:check`
|
|
41
|
+
- **(Safe) Autocorrect violations, and update lockfile if no new violations**
|
|
42
|
+
- `bundle exec rake rubocop_gradual:autocorrect`
|
|
43
|
+
- **Force update the lock file (w/o autocorrect) to match violations present in code**
|
|
44
|
+
- `bundle exec rake rubocop_gradual:force_update`
|
|
45
|
+
|
|
46
|
+
## Workflow
|
|
47
|
+
|
|
48
|
+
1. Before submitting a PR, run `bundle exec rake rubocop_gradual:autocorrect`
|
|
49
|
+
a. or just the default `bundle exec rake`, as autocorrection is a pre-requisite of the default task.
|
|
50
|
+
2. If there are new violations, either:
|
|
51
|
+
- Fix them in your code
|
|
52
|
+
- Run `bundle exec rake rubocop_gradual:force_update` to update the lock file (only for violations you can't fix immediately)
|
|
53
|
+
3. Commit the updated `.rubocop_gradual.lock` file along with your changes
|
|
54
|
+
|
|
55
|
+
## Never add inline RuboCop disables
|
|
56
|
+
|
|
57
|
+
Do not add inline `rubocop:disable` / `rubocop:enable` comments anywhere in the codebase (including specs, except when following the few existing `rubocop:disable` patterns for a rule already being disabled elsewhere in the code). We handle exceptions in two supported ways:
|
|
58
|
+
|
|
59
|
+
- Permanent/structural exceptions: prefer adjusting the RuboCop configuration (e.g., in `.rubocop.yml`) to exclude a rule for a path or file pattern when it makes sense project-wide.
|
|
60
|
+
- Temporary exceptions while improving code: record the current violations in `.rubocop_gradual.lock` via the gradual workflow:
|
|
61
|
+
- `bundle exec rake rubocop_gradual:autocorrect` (preferred; will autocorrect what it can and update the lock only if no new violations were introduced)
|
|
62
|
+
- If needed, `bundle exec rake rubocop_gradual:force_update` (as a last resort when you cannot fix the newly reported violations immediately)
|
|
63
|
+
|
|
64
|
+
In general, treat the rules as guidance to follow; fix violations rather than ignore them. For example, RSpec conventions in this project expect `described_class` to be used in specs that target a specific class under test.
|
|
65
|
+
|
|
66
|
+
## Benefits of rubocop_gradual
|
|
67
|
+
|
|
68
|
+
- Allows incremental adoption of code style rules
|
|
69
|
+
- Prevents CI failures due to pre-existing violations
|
|
70
|
+
- Provides a clear record of code style debt
|
|
71
|
+
- Enables focused efforts on improving code quality over time
|
data/SECURITY.md
CHANGED
data/certs/pboling.pem
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
|
2
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
|
3
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
|
4
|
+
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
|
5
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
|
6
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
|
7
|
+
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7rjo1I6On3gGKmiZs61
|
|
8
|
+
LRmQ3oxy77ydmkGTXBjruJB+pQEn7UfLSgQ0xa1/X3kdBZt6RmabFlBxnHkoaGY5
|
|
9
|
+
mZuZ5+Z7walmv6sFD9ajhzj+oIgwWfnEHkXYTR8I6VLN7MRRKGMPoZ/yvOmxb2DN
|
|
10
|
+
coEEHWKO9CvgYpW7asIihl/9GMpKiRkcYPm9dGQzZc6uTwom1COfW0+ZOFrDVBuV
|
|
11
|
+
FMQRPswZcY4Wlq0uEBLPU7hxnCL9nKK6Y9IhdDcz1mY6HZ91WImNslOSI0S8hRpj
|
|
12
|
+
yGOWxQIhBT3fqCBlRIqFQBudrnD9jSNpSGsFvbEijd5ns7Z9ZMehXkXDycpGAUj1
|
|
13
|
+
to/5cuTWWw1JqUWrKJYoifnVhtE1o1DZ+LkPtWxHtz5kjDG/zR3MG0Ula0UOavlD
|
|
14
|
+
qbnbcXPBnwXtTFeZ3C+yrWpE4pGnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
|
15
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
|
16
|
+
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
|
17
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
|
18
|
+
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
|
19
|
+
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
|
20
|
+
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
|
21
|
+
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
|
22
|
+
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
|
23
|
+
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
|
24
|
+
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
|
25
|
+
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
26
|
+
L9nRqA==
|
|
27
|
+
-----END CERTIFICATE-----
|
data/lib/rubocop/ruby2_2.rb
CHANGED
|
@@ -5,9 +5,9 @@ require "version_gem"
|
|
|
5
5
|
|
|
6
6
|
# this gem
|
|
7
7
|
require_relative "ruby2_2/version"
|
|
8
|
-
# :
|
|
8
|
+
# simplecov:disable
|
|
9
9
|
require_relative "ruby2_2/railtie" if defined?(Rails::Railtie)
|
|
10
|
-
# :
|
|
10
|
+
# simplecov:enable
|
|
11
11
|
|
|
12
12
|
module Rubocop
|
|
13
13
|
# Namespace of this library
|
data/sig/rubocop/ruby2_2.rbs
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-ruby2_2
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Peter Boling
|
|
7
|
+
- Peter H. Boling
|
|
8
|
+
- Annibelle Boling
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain:
|
|
10
11
|
- |
|
|
@@ -37,26 +38,6 @@ cert_chain:
|
|
|
37
38
|
-----END CERTIFICATE-----
|
|
38
39
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
39
40
|
dependencies:
|
|
40
|
-
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: version_gem
|
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - "~>"
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: '1.1'
|
|
47
|
-
- - ">="
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 1.1.9
|
|
50
|
-
type: :runtime
|
|
51
|
-
prerelease: false
|
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
-
requirements:
|
|
54
|
-
- - "~>"
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: '1.1'
|
|
57
|
-
- - ">="
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: 1.1.9
|
|
60
41
|
- !ruby/object:Gem::Dependency
|
|
61
42
|
name: rubocop-gradual
|
|
62
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -157,6 +138,60 @@ dependencies:
|
|
|
157
138
|
- - ">="
|
|
158
139
|
- !ruby/object:Gem::Version
|
|
159
140
|
version: 2.0.3
|
|
141
|
+
- !ruby/object:Gem::Dependency
|
|
142
|
+
name: version_gem
|
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
|
144
|
+
requirements:
|
|
145
|
+
- - "~>"
|
|
146
|
+
- !ruby/object:Gem::Version
|
|
147
|
+
version: '1.1'
|
|
148
|
+
- - ">="
|
|
149
|
+
- !ruby/object:Gem::Version
|
|
150
|
+
version: 1.1.13
|
|
151
|
+
type: :runtime
|
|
152
|
+
prerelease: false
|
|
153
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
154
|
+
requirements:
|
|
155
|
+
- - "~>"
|
|
156
|
+
- !ruby/object:Gem::Version
|
|
157
|
+
version: '1.1'
|
|
158
|
+
- - ">="
|
|
159
|
+
- !ruby/object:Gem::Version
|
|
160
|
+
version: 1.1.13
|
|
161
|
+
- !ruby/object:Gem::Dependency
|
|
162
|
+
name: kettle-dev
|
|
163
|
+
requirement: !ruby/object:Gem::Requirement
|
|
164
|
+
requirements:
|
|
165
|
+
- - "~>"
|
|
166
|
+
- !ruby/object:Gem::Version
|
|
167
|
+
version: '2.2'
|
|
168
|
+
- - ">="
|
|
169
|
+
- !ruby/object:Gem::Version
|
|
170
|
+
version: 2.2.18
|
|
171
|
+
type: :development
|
|
172
|
+
prerelease: false
|
|
173
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
174
|
+
requirements:
|
|
175
|
+
- - "~>"
|
|
176
|
+
- !ruby/object:Gem::Version
|
|
177
|
+
version: '2.2'
|
|
178
|
+
- - ">="
|
|
179
|
+
- !ruby/object:Gem::Version
|
|
180
|
+
version: 2.2.18
|
|
181
|
+
- !ruby/object:Gem::Dependency
|
|
182
|
+
name: bundler-audit
|
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
|
184
|
+
requirements:
|
|
185
|
+
- - "~>"
|
|
186
|
+
- !ruby/object:Gem::Version
|
|
187
|
+
version: 0.9.3
|
|
188
|
+
type: :development
|
|
189
|
+
prerelease: false
|
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
191
|
+
requirements:
|
|
192
|
+
- - "~>"
|
|
193
|
+
- !ruby/object:Gem::Version
|
|
194
|
+
version: 0.9.3
|
|
160
195
|
- !ruby/object:Gem::Dependency
|
|
161
196
|
name: rake
|
|
162
197
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -178,67 +213,101 @@ dependencies:
|
|
|
178
213
|
- !ruby/object:Gem::Version
|
|
179
214
|
version: 13.4.2
|
|
180
215
|
- !ruby/object:Gem::Dependency
|
|
181
|
-
name:
|
|
216
|
+
name: require_bench
|
|
182
217
|
requirement: !ruby/object:Gem::Requirement
|
|
183
218
|
requirements:
|
|
184
219
|
- - "~>"
|
|
185
220
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '1.
|
|
221
|
+
version: '1.0'
|
|
187
222
|
- - ">="
|
|
188
223
|
- !ruby/object:Gem::Version
|
|
189
|
-
version: 1.
|
|
224
|
+
version: 1.0.4
|
|
190
225
|
type: :development
|
|
191
226
|
prerelease: false
|
|
192
227
|
version_requirements: !ruby/object:Gem::Requirement
|
|
193
228
|
requirements:
|
|
194
229
|
- - "~>"
|
|
195
230
|
- !ruby/object:Gem::Version
|
|
196
|
-
version: '1.
|
|
231
|
+
version: '1.0'
|
|
197
232
|
- - ">="
|
|
198
233
|
- !ruby/object:Gem::Version
|
|
199
|
-
version: 1.
|
|
234
|
+
version: 1.0.4
|
|
200
235
|
- !ruby/object:Gem::Dependency
|
|
201
|
-
name:
|
|
236
|
+
name: appraisal2
|
|
202
237
|
requirement: !ruby/object:Gem::Requirement
|
|
203
238
|
requirements:
|
|
204
239
|
- - "~>"
|
|
205
240
|
- !ruby/object:Gem::Version
|
|
206
|
-
version: '
|
|
241
|
+
version: '3.1'
|
|
207
242
|
- - ">="
|
|
208
243
|
- !ruby/object:Gem::Version
|
|
209
|
-
version:
|
|
244
|
+
version: 3.1.3
|
|
210
245
|
type: :development
|
|
211
246
|
prerelease: false
|
|
212
247
|
version_requirements: !ruby/object:Gem::Requirement
|
|
213
248
|
requirements:
|
|
214
249
|
- - "~>"
|
|
215
250
|
- !ruby/object:Gem::Version
|
|
216
|
-
version: '
|
|
251
|
+
version: '3.1'
|
|
217
252
|
- - ">="
|
|
218
253
|
- !ruby/object:Gem::Version
|
|
219
|
-
version:
|
|
254
|
+
version: 3.1.3
|
|
220
255
|
- !ruby/object:Gem::Dependency
|
|
221
|
-
name:
|
|
256
|
+
name: kettle-test
|
|
222
257
|
requirement: !ruby/object:Gem::Requirement
|
|
223
258
|
requirements:
|
|
224
259
|
- - "~>"
|
|
225
260
|
- !ruby/object:Gem::Version
|
|
226
|
-
version: '0
|
|
261
|
+
version: '2.0'
|
|
227
262
|
- - ">="
|
|
228
263
|
- !ruby/object:Gem::Version
|
|
229
|
-
version: 0.
|
|
264
|
+
version: 2.0.7
|
|
230
265
|
type: :development
|
|
231
266
|
prerelease: false
|
|
232
267
|
version_requirements: !ruby/object:Gem::Requirement
|
|
233
268
|
requirements:
|
|
234
269
|
- - "~>"
|
|
235
270
|
- !ruby/object:Gem::Version
|
|
236
|
-
version: '0
|
|
271
|
+
version: '2.0'
|
|
237
272
|
- - ">="
|
|
238
273
|
- !ruby/object:Gem::Version
|
|
239
|
-
version: 0.
|
|
274
|
+
version: 2.0.7
|
|
240
275
|
- !ruby/object:Gem::Dependency
|
|
241
|
-
name:
|
|
276
|
+
name: turbo_tests2
|
|
277
|
+
requirement: !ruby/object:Gem::Requirement
|
|
278
|
+
requirements:
|
|
279
|
+
- - "~>"
|
|
280
|
+
- !ruby/object:Gem::Version
|
|
281
|
+
version: '3.1'
|
|
282
|
+
- - ">="
|
|
283
|
+
- !ruby/object:Gem::Version
|
|
284
|
+
version: 3.1.5
|
|
285
|
+
type: :development
|
|
286
|
+
prerelease: false
|
|
287
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
288
|
+
requirements:
|
|
289
|
+
- - "~>"
|
|
290
|
+
- !ruby/object:Gem::Version
|
|
291
|
+
version: '3.1'
|
|
292
|
+
- - ">="
|
|
293
|
+
- !ruby/object:Gem::Version
|
|
294
|
+
version: 3.1.5
|
|
295
|
+
- !ruby/object:Gem::Dependency
|
|
296
|
+
name: ruby-progressbar
|
|
297
|
+
requirement: !ruby/object:Gem::Requirement
|
|
298
|
+
requirements:
|
|
299
|
+
- - "~>"
|
|
300
|
+
- !ruby/object:Gem::Version
|
|
301
|
+
version: '1.13'
|
|
302
|
+
type: :development
|
|
303
|
+
prerelease: false
|
|
304
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
305
|
+
requirements:
|
|
306
|
+
- - "~>"
|
|
307
|
+
- !ruby/object:Gem::Version
|
|
308
|
+
version: '1.13'
|
|
309
|
+
- !ruby/object:Gem::Dependency
|
|
310
|
+
name: stone_checksums
|
|
242
311
|
requirement: !ruby/object:Gem::Requirement
|
|
243
312
|
requirements:
|
|
244
313
|
- - "~>"
|
|
@@ -246,7 +315,7 @@ dependencies:
|
|
|
246
315
|
version: '1.0'
|
|
247
316
|
- - ">="
|
|
248
317
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: 1.0.
|
|
318
|
+
version: 1.0.3
|
|
250
319
|
type: :development
|
|
251
320
|
prerelease: false
|
|
252
321
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -256,27 +325,47 @@ dependencies:
|
|
|
256
325
|
version: '1.0'
|
|
257
326
|
- - ">="
|
|
258
327
|
- !ruby/object:Gem::Version
|
|
259
|
-
version: 1.0.
|
|
328
|
+
version: 1.0.3
|
|
260
329
|
- !ruby/object:Gem::Dependency
|
|
261
|
-
name:
|
|
330
|
+
name: gitmoji-regex
|
|
262
331
|
requirement: !ruby/object:Gem::Requirement
|
|
263
332
|
requirements:
|
|
264
333
|
- - "~>"
|
|
265
334
|
- !ruby/object:Gem::Version
|
|
266
|
-
version: '0
|
|
335
|
+
version: '2.0'
|
|
267
336
|
- - ">="
|
|
268
337
|
- !ruby/object:Gem::Version
|
|
269
|
-
version: 0.
|
|
338
|
+
version: 2.0.3
|
|
270
339
|
type: :development
|
|
271
340
|
prerelease: false
|
|
272
341
|
version_requirements: !ruby/object:Gem::Requirement
|
|
273
342
|
requirements:
|
|
274
343
|
- - "~>"
|
|
275
344
|
- !ruby/object:Gem::Version
|
|
276
|
-
version: '0
|
|
345
|
+
version: '2.0'
|
|
277
346
|
- - ">="
|
|
278
347
|
- !ruby/object:Gem::Version
|
|
279
|
-
version: 0.
|
|
348
|
+
version: 2.0.3
|
|
349
|
+
- !ruby/object:Gem::Dependency
|
|
350
|
+
name: kramdown
|
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
|
352
|
+
requirements:
|
|
353
|
+
- - "~>"
|
|
354
|
+
- !ruby/object:Gem::Version
|
|
355
|
+
version: '2.5'
|
|
356
|
+
- - ">="
|
|
357
|
+
- !ruby/object:Gem::Version
|
|
358
|
+
version: 2.5.2
|
|
359
|
+
type: :development
|
|
360
|
+
prerelease: false
|
|
361
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
362
|
+
requirements:
|
|
363
|
+
- - "~>"
|
|
364
|
+
- !ruby/object:Gem::Version
|
|
365
|
+
version: '2.5'
|
|
366
|
+
- - ">="
|
|
367
|
+
- !ruby/object:Gem::Version
|
|
368
|
+
version: 2.5.2
|
|
280
369
|
- !ruby/object:Gem::Dependency
|
|
281
370
|
name: rspec
|
|
282
371
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -357,49 +446,125 @@ dependencies:
|
|
|
357
446
|
- - ">="
|
|
358
447
|
- !ruby/object:Gem::Version
|
|
359
448
|
version: 1.0.4
|
|
360
|
-
|
|
449
|
+
- !ruby/object:Gem::Dependency
|
|
450
|
+
name: rubocop-lts-rspec
|
|
451
|
+
requirement: !ruby/object:Gem::Requirement
|
|
452
|
+
requirements:
|
|
453
|
+
- - "~>"
|
|
454
|
+
- !ruby/object:Gem::Version
|
|
455
|
+
version: '1.0'
|
|
456
|
+
- - ">="
|
|
457
|
+
- !ruby/object:Gem::Version
|
|
458
|
+
version: 1.0.2
|
|
459
|
+
type: :development
|
|
460
|
+
prerelease: false
|
|
461
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
462
|
+
requirements:
|
|
463
|
+
- - "~>"
|
|
464
|
+
- !ruby/object:Gem::Version
|
|
465
|
+
version: '1.0'
|
|
466
|
+
- - ">="
|
|
467
|
+
- !ruby/object:Gem::Version
|
|
468
|
+
version: 1.0.2
|
|
469
|
+
- !ruby/object:Gem::Dependency
|
|
470
|
+
name: rubocop-packaging
|
|
471
|
+
requirement: !ruby/object:Gem::Requirement
|
|
472
|
+
requirements:
|
|
473
|
+
- - "~>"
|
|
474
|
+
- !ruby/object:Gem::Version
|
|
475
|
+
version: '0.6'
|
|
476
|
+
- - ">="
|
|
477
|
+
- !ruby/object:Gem::Version
|
|
478
|
+
version: 0.6.0
|
|
479
|
+
type: :development
|
|
480
|
+
prerelease: false
|
|
481
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
482
|
+
requirements:
|
|
483
|
+
- - "~>"
|
|
484
|
+
- !ruby/object:Gem::Version
|
|
485
|
+
version: '0.6'
|
|
486
|
+
- - ">="
|
|
487
|
+
- !ruby/object:Gem::Version
|
|
488
|
+
version: 0.6.0
|
|
489
|
+
- !ruby/object:Gem::Dependency
|
|
490
|
+
name: yard
|
|
491
|
+
requirement: !ruby/object:Gem::Requirement
|
|
492
|
+
requirements:
|
|
493
|
+
- - "~>"
|
|
494
|
+
- !ruby/object:Gem::Version
|
|
495
|
+
version: '0.9'
|
|
496
|
+
- - ">="
|
|
497
|
+
- !ruby/object:Gem::Version
|
|
498
|
+
version: 0.9.44
|
|
499
|
+
type: :development
|
|
500
|
+
prerelease: false
|
|
501
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
502
|
+
requirements:
|
|
503
|
+
- - "~>"
|
|
504
|
+
- !ruby/object:Gem::Version
|
|
505
|
+
version: '0.9'
|
|
506
|
+
- - ">="
|
|
507
|
+
- !ruby/object:Gem::Version
|
|
508
|
+
version: 0.9.44
|
|
509
|
+
description: "\U0001F9BE Configure RuboCop + a bevy of friends to gradually lint Ruby
|
|
510
|
+
2.2 code"
|
|
361
511
|
email:
|
|
362
|
-
-
|
|
512
|
+
- floss@galtzo.com
|
|
363
513
|
executables: []
|
|
364
514
|
extensions: []
|
|
365
|
-
extra_rdoc_files:
|
|
515
|
+
extra_rdoc_files:
|
|
516
|
+
- CHANGELOG.md
|
|
517
|
+
- CITATION.cff
|
|
518
|
+
- CODE_OF_CONDUCT.md
|
|
519
|
+
- CONTRIBUTING.md
|
|
520
|
+
- FUNDING.md
|
|
521
|
+
- LICENSE.md
|
|
522
|
+
- README.md
|
|
523
|
+
- RUBOCOP.md
|
|
524
|
+
- SECURITY.md
|
|
366
525
|
files:
|
|
367
526
|
- CHANGELOG.md
|
|
527
|
+
- CITATION.cff
|
|
368
528
|
- CODE_OF_CONDUCT.md
|
|
369
529
|
- CONTRIBUTING.md
|
|
370
|
-
-
|
|
530
|
+
- FUNDING.md
|
|
531
|
+
- LICENSE.md
|
|
371
532
|
- README.md
|
|
533
|
+
- RUBOCOP.md
|
|
372
534
|
- SECURITY.md
|
|
535
|
+
- certs/pboling.pem
|
|
373
536
|
- lib/rubocop/ruby2_2.rb
|
|
374
537
|
- lib/rubocop/ruby2_2/railtie.rb
|
|
375
538
|
- lib/rubocop/ruby2_2/rakelib/rubocop_gradual.rake
|
|
376
539
|
- lib/rubocop/ruby2_2/tasks.rb
|
|
377
540
|
- lib/rubocop/ruby2_2/version.rb
|
|
378
|
-
- rubocop-lts/rails.yml
|
|
379
|
-
- rubocop-lts/rails_rspec.yml
|
|
380
|
-
- rubocop-lts/rspec.yml
|
|
381
|
-
- rubocop-lts/ruby.yml
|
|
382
|
-
- rubocop-lts/ruby_rspec.yml
|
|
383
|
-
- rubocop-lts/rubygem.yml
|
|
384
|
-
- rubocop-lts/rubygem_rspec.yml
|
|
385
|
-
- rubocop-lts/strict/rails.yml
|
|
386
|
-
- rubocop-lts/strict/rspec.yml
|
|
387
|
-
- rubocop-lts/strict/ruby.yml
|
|
388
|
-
- rubocop.yml
|
|
389
541
|
- sig/rubocop/ruby2_2.rbs
|
|
542
|
+
- sig/rubocop/ruby2_2/version.rbs
|
|
390
543
|
homepage: https://github.com/rubocop-lts/rubocop-ruby2_2
|
|
391
544
|
licenses:
|
|
392
545
|
- MIT
|
|
393
546
|
metadata:
|
|
394
|
-
homepage_uri: https://
|
|
395
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/tree/v3.0.
|
|
396
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/blob/v3.0.
|
|
547
|
+
homepage_uri: https://rubocop-ruby2-2.galtzo.com
|
|
548
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/tree/v3.0.4
|
|
549
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/blob/v3.0.4/CHANGELOG.md
|
|
397
550
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
|
|
398
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/3.0.
|
|
399
|
-
funding_uri: https://
|
|
551
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_2/3.0.4
|
|
552
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
400
553
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_2/wiki
|
|
554
|
+
news_uri: https://www.railsbling.com/tags/rubocop-ruby2_2
|
|
555
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
401
556
|
rubygems_mfa_required: 'true'
|
|
402
|
-
rdoc_options:
|
|
557
|
+
rdoc_options:
|
|
558
|
+
- "--title"
|
|
559
|
+
- "rubocop-ruby2_2 - \U0001F9BE Rules for Rubies: Rubocop + Standard + Betterlint
|
|
560
|
+
+ Gradual"
|
|
561
|
+
- "--main"
|
|
562
|
+
- README.md
|
|
563
|
+
- "--exclude"
|
|
564
|
+
- "^sig/"
|
|
565
|
+
- "--line-numbers"
|
|
566
|
+
- "--inline-source"
|
|
567
|
+
- "--quiet"
|
|
403
568
|
require_paths:
|
|
404
569
|
- lib
|
|
405
570
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -413,7 +578,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
413
578
|
- !ruby/object:Gem::Version
|
|
414
579
|
version: '0'
|
|
415
580
|
requirements: []
|
|
416
|
-
rubygems_version: 4.0.
|
|
581
|
+
rubygems_version: 4.0.10
|
|
417
582
|
specification_version: 4
|
|
418
|
-
summary:
|
|
583
|
+
summary: "\U0001F9BE Rules for Rubies: Rubocop + Standard + Betterlint + Gradual"
|
|
419
584
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/LICENSE.txt
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 - 2023 Peter H. Boling of https://railsbling.com
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|
data/rubocop-lts/rails.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Customizations/Deviations from Standard for RuboCop-LTS Rails Coding Standards
|
|
2
|
-
inherit_from:
|
|
3
|
-
- ruby.yml
|
|
4
|
-
- strict/rails.yml
|
|
5
|
-
|
|
6
|
-
require:
|
|
7
|
-
- rubocop-rails
|
|
8
|
-
|
|
9
|
-
inherit_gem:
|
|
10
|
-
betterlint:
|
|
11
|
-
- config/default.yml
|
|
12
|
-
standard-rails:
|
|
13
|
-
- config/base.yml
|
|
14
|
-
|
|
15
|
-
# Rails specific customizations
|
data/rubocop-lts/rails_rspec.yml
DELETED
data/rubocop-lts/rspec.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
inherit_gem:
|
|
2
|
-
rubocop-lts-rspec: config/ruby-2.2.yml
|
|
3
|
-
|
|
4
|
-
inherit_from:
|
|
5
|
-
- strict/rspec.yml
|
|
6
|
-
|
|
7
|
-
Style/MethodCallWithArgsParentheses:
|
|
8
|
-
Exclude:
|
|
9
|
-
- 'spec/**/*'
|
|
10
|
-
- 'test/**/*'
|
|
11
|
-
|
|
12
|
-
Style/ClassAndModuleChildren:
|
|
13
|
-
Exclude:
|
|
14
|
-
- 'spec/**/*'
|
|
15
|
-
- 'test/**/*'
|