rubocop-ruby1_8 2.0.2 → 2.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 +90 -8
- 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 +10 -0
- data/README.md +423 -331
- data/RUBOCOP.md +71 -0
- data/SECURITY.md +3 -4
- data/certs/pboling.pem +27 -0
- data/lib/rubocop/ruby1_8/version.rb +2 -1
- data/lib/rubocop/ruby1_8.rb +2 -2
- data/sig/rubocop/ruby1_8/version.rbs +8 -0
- data/sig/rubocop/ruby1_8.rbs +0 -1
- data.tar.gz.sig +0 -0
- metadata +232 -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/ruby1_8.rb
CHANGED
|
@@ -5,9 +5,9 @@ require "version_gem"
|
|
|
5
5
|
|
|
6
6
|
# this gem
|
|
7
7
|
require_relative "ruby1_8/version"
|
|
8
|
-
# :
|
|
8
|
+
# simplecov:disable
|
|
9
9
|
require_relative "ruby1_8/railtie" if defined?(Rails::Railtie)
|
|
10
|
-
# :
|
|
10
|
+
# simplecov:enable
|
|
11
11
|
|
|
12
12
|
module Rubocop
|
|
13
13
|
# Namespace of this library
|
data/sig/rubocop/ruby1_8.rbs
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-ruby1_8
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- Peter Boling
|
|
7
|
+
- Peter H. Boling
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain:
|
|
10
10
|
- |
|
|
@@ -37,26 +37,6 @@ cert_chain:
|
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
38
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
39
39
|
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
40
|
- !ruby/object:Gem::Dependency
|
|
61
41
|
name: rubocop-gradual
|
|
62
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -157,6 +137,60 @@ dependencies:
|
|
|
157
137
|
- - ">="
|
|
158
138
|
- !ruby/object:Gem::Version
|
|
159
139
|
version: 2.0.3
|
|
140
|
+
- !ruby/object:Gem::Dependency
|
|
141
|
+
name: version_gem
|
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
- - "~>"
|
|
145
|
+
- !ruby/object:Gem::Version
|
|
146
|
+
version: '1.1'
|
|
147
|
+
- - ">="
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: 1.1.13
|
|
150
|
+
type: :runtime
|
|
151
|
+
prerelease: false
|
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
153
|
+
requirements:
|
|
154
|
+
- - "~>"
|
|
155
|
+
- !ruby/object:Gem::Version
|
|
156
|
+
version: '1.1'
|
|
157
|
+
- - ">="
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: 1.1.13
|
|
160
|
+
- !ruby/object:Gem::Dependency
|
|
161
|
+
name: kettle-dev
|
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - "~>"
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: '2.2'
|
|
167
|
+
- - ">="
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: 2.2.18
|
|
170
|
+
type: :development
|
|
171
|
+
prerelease: false
|
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
173
|
+
requirements:
|
|
174
|
+
- - "~>"
|
|
175
|
+
- !ruby/object:Gem::Version
|
|
176
|
+
version: '2.2'
|
|
177
|
+
- - ">="
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: 2.2.18
|
|
180
|
+
- !ruby/object:Gem::Dependency
|
|
181
|
+
name: bundler-audit
|
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - "~>"
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: 0.9.3
|
|
187
|
+
type: :development
|
|
188
|
+
prerelease: false
|
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
190
|
+
requirements:
|
|
191
|
+
- - "~>"
|
|
192
|
+
- !ruby/object:Gem::Version
|
|
193
|
+
version: 0.9.3
|
|
160
194
|
- !ruby/object:Gem::Dependency
|
|
161
195
|
name: rake
|
|
162
196
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -178,67 +212,101 @@ dependencies:
|
|
|
178
212
|
- !ruby/object:Gem::Version
|
|
179
213
|
version: 13.4.2
|
|
180
214
|
- !ruby/object:Gem::Dependency
|
|
181
|
-
name:
|
|
215
|
+
name: require_bench
|
|
182
216
|
requirement: !ruby/object:Gem::Requirement
|
|
183
217
|
requirements:
|
|
184
218
|
- - "~>"
|
|
185
219
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '1.
|
|
220
|
+
version: '1.0'
|
|
187
221
|
- - ">="
|
|
188
222
|
- !ruby/object:Gem::Version
|
|
189
|
-
version: 1.
|
|
223
|
+
version: 1.0.4
|
|
190
224
|
type: :development
|
|
191
225
|
prerelease: false
|
|
192
226
|
version_requirements: !ruby/object:Gem::Requirement
|
|
193
227
|
requirements:
|
|
194
228
|
- - "~>"
|
|
195
229
|
- !ruby/object:Gem::Version
|
|
196
|
-
version: '1.
|
|
230
|
+
version: '1.0'
|
|
197
231
|
- - ">="
|
|
198
232
|
- !ruby/object:Gem::Version
|
|
199
|
-
version: 1.
|
|
233
|
+
version: 1.0.4
|
|
200
234
|
- !ruby/object:Gem::Dependency
|
|
201
|
-
name:
|
|
235
|
+
name: appraisal2
|
|
202
236
|
requirement: !ruby/object:Gem::Requirement
|
|
203
237
|
requirements:
|
|
204
238
|
- - "~>"
|
|
205
239
|
- !ruby/object:Gem::Version
|
|
206
|
-
version: '
|
|
240
|
+
version: '3.1'
|
|
207
241
|
- - ">="
|
|
208
242
|
- !ruby/object:Gem::Version
|
|
209
|
-
version:
|
|
243
|
+
version: 3.1.3
|
|
210
244
|
type: :development
|
|
211
245
|
prerelease: false
|
|
212
246
|
version_requirements: !ruby/object:Gem::Requirement
|
|
213
247
|
requirements:
|
|
214
248
|
- - "~>"
|
|
215
249
|
- !ruby/object:Gem::Version
|
|
216
|
-
version: '
|
|
250
|
+
version: '3.1'
|
|
217
251
|
- - ">="
|
|
218
252
|
- !ruby/object:Gem::Version
|
|
219
|
-
version:
|
|
253
|
+
version: 3.1.3
|
|
220
254
|
- !ruby/object:Gem::Dependency
|
|
221
|
-
name:
|
|
255
|
+
name: kettle-test
|
|
222
256
|
requirement: !ruby/object:Gem::Requirement
|
|
223
257
|
requirements:
|
|
224
258
|
- - "~>"
|
|
225
259
|
- !ruby/object:Gem::Version
|
|
226
|
-
version: '0
|
|
260
|
+
version: '2.0'
|
|
227
261
|
- - ">="
|
|
228
262
|
- !ruby/object:Gem::Version
|
|
229
|
-
version: 0.
|
|
263
|
+
version: 2.0.7
|
|
230
264
|
type: :development
|
|
231
265
|
prerelease: false
|
|
232
266
|
version_requirements: !ruby/object:Gem::Requirement
|
|
233
267
|
requirements:
|
|
234
268
|
- - "~>"
|
|
235
269
|
- !ruby/object:Gem::Version
|
|
236
|
-
version: '0
|
|
270
|
+
version: '2.0'
|
|
237
271
|
- - ">="
|
|
238
272
|
- !ruby/object:Gem::Version
|
|
239
|
-
version: 0.
|
|
273
|
+
version: 2.0.7
|
|
240
274
|
- !ruby/object:Gem::Dependency
|
|
241
|
-
name:
|
|
275
|
+
name: turbo_tests2
|
|
276
|
+
requirement: !ruby/object:Gem::Requirement
|
|
277
|
+
requirements:
|
|
278
|
+
- - "~>"
|
|
279
|
+
- !ruby/object:Gem::Version
|
|
280
|
+
version: '3.1'
|
|
281
|
+
- - ">="
|
|
282
|
+
- !ruby/object:Gem::Version
|
|
283
|
+
version: 3.1.5
|
|
284
|
+
type: :development
|
|
285
|
+
prerelease: false
|
|
286
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
287
|
+
requirements:
|
|
288
|
+
- - "~>"
|
|
289
|
+
- !ruby/object:Gem::Version
|
|
290
|
+
version: '3.1'
|
|
291
|
+
- - ">="
|
|
292
|
+
- !ruby/object:Gem::Version
|
|
293
|
+
version: 3.1.5
|
|
294
|
+
- !ruby/object:Gem::Dependency
|
|
295
|
+
name: ruby-progressbar
|
|
296
|
+
requirement: !ruby/object:Gem::Requirement
|
|
297
|
+
requirements:
|
|
298
|
+
- - "~>"
|
|
299
|
+
- !ruby/object:Gem::Version
|
|
300
|
+
version: '1.13'
|
|
301
|
+
type: :development
|
|
302
|
+
prerelease: false
|
|
303
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
304
|
+
requirements:
|
|
305
|
+
- - "~>"
|
|
306
|
+
- !ruby/object:Gem::Version
|
|
307
|
+
version: '1.13'
|
|
308
|
+
- !ruby/object:Gem::Dependency
|
|
309
|
+
name: stone_checksums
|
|
242
310
|
requirement: !ruby/object:Gem::Requirement
|
|
243
311
|
requirements:
|
|
244
312
|
- - "~>"
|
|
@@ -246,7 +314,7 @@ dependencies:
|
|
|
246
314
|
version: '1.0'
|
|
247
315
|
- - ">="
|
|
248
316
|
- !ruby/object:Gem::Version
|
|
249
|
-
version: 1.0.
|
|
317
|
+
version: 1.0.3
|
|
250
318
|
type: :development
|
|
251
319
|
prerelease: false
|
|
252
320
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -256,27 +324,47 @@ dependencies:
|
|
|
256
324
|
version: '1.0'
|
|
257
325
|
- - ">="
|
|
258
326
|
- !ruby/object:Gem::Version
|
|
259
|
-
version: 1.0.
|
|
327
|
+
version: 1.0.3
|
|
260
328
|
- !ruby/object:Gem::Dependency
|
|
261
|
-
name:
|
|
329
|
+
name: gitmoji-regex
|
|
262
330
|
requirement: !ruby/object:Gem::Requirement
|
|
263
331
|
requirements:
|
|
264
332
|
- - "~>"
|
|
265
333
|
- !ruby/object:Gem::Version
|
|
266
|
-
version: '0
|
|
334
|
+
version: '2.0'
|
|
267
335
|
- - ">="
|
|
268
336
|
- !ruby/object:Gem::Version
|
|
269
|
-
version: 0.
|
|
337
|
+
version: 2.0.3
|
|
270
338
|
type: :development
|
|
271
339
|
prerelease: false
|
|
272
340
|
version_requirements: !ruby/object:Gem::Requirement
|
|
273
341
|
requirements:
|
|
274
342
|
- - "~>"
|
|
275
343
|
- !ruby/object:Gem::Version
|
|
276
|
-
version: '0
|
|
344
|
+
version: '2.0'
|
|
277
345
|
- - ">="
|
|
278
346
|
- !ruby/object:Gem::Version
|
|
279
|
-
version: 0.
|
|
347
|
+
version: 2.0.3
|
|
348
|
+
- !ruby/object:Gem::Dependency
|
|
349
|
+
name: kramdown
|
|
350
|
+
requirement: !ruby/object:Gem::Requirement
|
|
351
|
+
requirements:
|
|
352
|
+
- - "~>"
|
|
353
|
+
- !ruby/object:Gem::Version
|
|
354
|
+
version: '2.5'
|
|
355
|
+
- - ">="
|
|
356
|
+
- !ruby/object:Gem::Version
|
|
357
|
+
version: 2.5.2
|
|
358
|
+
type: :development
|
|
359
|
+
prerelease: false
|
|
360
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
361
|
+
requirements:
|
|
362
|
+
- - "~>"
|
|
363
|
+
- !ruby/object:Gem::Version
|
|
364
|
+
version: '2.5'
|
|
365
|
+
- - ">="
|
|
366
|
+
- !ruby/object:Gem::Version
|
|
367
|
+
version: 2.5.2
|
|
280
368
|
- !ruby/object:Gem::Dependency
|
|
281
369
|
name: rspec
|
|
282
370
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -357,49 +445,125 @@ dependencies:
|
|
|
357
445
|
- - ">="
|
|
358
446
|
- !ruby/object:Gem::Version
|
|
359
447
|
version: 1.0.4
|
|
360
|
-
|
|
448
|
+
- !ruby/object:Gem::Dependency
|
|
449
|
+
name: rubocop-lts-rspec
|
|
450
|
+
requirement: !ruby/object:Gem::Requirement
|
|
451
|
+
requirements:
|
|
452
|
+
- - "~>"
|
|
453
|
+
- !ruby/object:Gem::Version
|
|
454
|
+
version: '1.0'
|
|
455
|
+
- - ">="
|
|
456
|
+
- !ruby/object:Gem::Version
|
|
457
|
+
version: 1.0.2
|
|
458
|
+
type: :development
|
|
459
|
+
prerelease: false
|
|
460
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
461
|
+
requirements:
|
|
462
|
+
- - "~>"
|
|
463
|
+
- !ruby/object:Gem::Version
|
|
464
|
+
version: '1.0'
|
|
465
|
+
- - ">="
|
|
466
|
+
- !ruby/object:Gem::Version
|
|
467
|
+
version: 1.0.2
|
|
468
|
+
- !ruby/object:Gem::Dependency
|
|
469
|
+
name: rubocop-packaging
|
|
470
|
+
requirement: !ruby/object:Gem::Requirement
|
|
471
|
+
requirements:
|
|
472
|
+
- - "~>"
|
|
473
|
+
- !ruby/object:Gem::Version
|
|
474
|
+
version: '0.6'
|
|
475
|
+
- - ">="
|
|
476
|
+
- !ruby/object:Gem::Version
|
|
477
|
+
version: 0.6.0
|
|
478
|
+
type: :development
|
|
479
|
+
prerelease: false
|
|
480
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
481
|
+
requirements:
|
|
482
|
+
- - "~>"
|
|
483
|
+
- !ruby/object:Gem::Version
|
|
484
|
+
version: '0.6'
|
|
485
|
+
- - ">="
|
|
486
|
+
- !ruby/object:Gem::Version
|
|
487
|
+
version: 0.6.0
|
|
488
|
+
- !ruby/object:Gem::Dependency
|
|
489
|
+
name: yard
|
|
490
|
+
requirement: !ruby/object:Gem::Requirement
|
|
491
|
+
requirements:
|
|
492
|
+
- - "~>"
|
|
493
|
+
- !ruby/object:Gem::Version
|
|
494
|
+
version: '0.9'
|
|
495
|
+
- - ">="
|
|
496
|
+
- !ruby/object:Gem::Version
|
|
497
|
+
version: 0.9.44
|
|
498
|
+
type: :development
|
|
499
|
+
prerelease: false
|
|
500
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
501
|
+
requirements:
|
|
502
|
+
- - "~>"
|
|
503
|
+
- !ruby/object:Gem::Version
|
|
504
|
+
version: '0.9'
|
|
505
|
+
- - ">="
|
|
506
|
+
- !ruby/object:Gem::Version
|
|
507
|
+
version: 0.9.44
|
|
508
|
+
description: "\U0001F9BE Configure RuboCop + a bevy of friends to gradually lint Ruby
|
|
509
|
+
1.8 code"
|
|
361
510
|
email:
|
|
362
|
-
-
|
|
511
|
+
- floss@galtzo.com
|
|
363
512
|
executables: []
|
|
364
513
|
extensions: []
|
|
365
|
-
extra_rdoc_files:
|
|
514
|
+
extra_rdoc_files:
|
|
515
|
+
- CHANGELOG.md
|
|
516
|
+
- CITATION.cff
|
|
517
|
+
- CODE_OF_CONDUCT.md
|
|
518
|
+
- CONTRIBUTING.md
|
|
519
|
+
- FUNDING.md
|
|
520
|
+
- LICENSE.md
|
|
521
|
+
- README.md
|
|
522
|
+
- RUBOCOP.md
|
|
523
|
+
- SECURITY.md
|
|
366
524
|
files:
|
|
367
525
|
- CHANGELOG.md
|
|
526
|
+
- CITATION.cff
|
|
368
527
|
- CODE_OF_CONDUCT.md
|
|
369
528
|
- CONTRIBUTING.md
|
|
370
|
-
-
|
|
529
|
+
- FUNDING.md
|
|
530
|
+
- LICENSE.md
|
|
371
531
|
- README.md
|
|
532
|
+
- RUBOCOP.md
|
|
372
533
|
- SECURITY.md
|
|
534
|
+
- certs/pboling.pem
|
|
373
535
|
- lib/rubocop/ruby1_8.rb
|
|
374
536
|
- lib/rubocop/ruby1_8/railtie.rb
|
|
375
537
|
- lib/rubocop/ruby1_8/rakelib/rubocop_gradual.rake
|
|
376
538
|
- lib/rubocop/ruby1_8/tasks.rb
|
|
377
539
|
- lib/rubocop/ruby1_8/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
540
|
- sig/rubocop/ruby1_8.rbs
|
|
541
|
+
- sig/rubocop/ruby1_8/version.rbs
|
|
390
542
|
homepage: https://github.com/rubocop-lts/rubocop-ruby1_8
|
|
391
543
|
licenses:
|
|
392
544
|
- MIT
|
|
393
545
|
metadata:
|
|
394
|
-
homepage_uri: https://
|
|
395
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/tree/v2.0.
|
|
396
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/blob/v2.0.
|
|
546
|
+
homepage_uri: https://rubocop-ruby1-8.galtzo.com
|
|
547
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/tree/v2.0.4
|
|
548
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/blob/v2.0.4/CHANGELOG.md
|
|
397
549
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/issues
|
|
398
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_8/2.0.
|
|
399
|
-
funding_uri: https://
|
|
550
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_8/2.0.4
|
|
551
|
+
funding_uri: https://github.com/sponsors/pboling
|
|
400
552
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby1_8/wiki
|
|
553
|
+
news_uri: https://www.railsbling.com/tags/rubocop-ruby1_8
|
|
554
|
+
discord_uri: https://discord.gg/3qme4XHNKN
|
|
401
555
|
rubygems_mfa_required: 'true'
|
|
402
|
-
rdoc_options:
|
|
556
|
+
rdoc_options:
|
|
557
|
+
- "--title"
|
|
558
|
+
- "rubocop-ruby1_8 - \U0001F9BE Rules for Rubies: Rubocop + Standard + Betterlint
|
|
559
|
+
+ Gradual"
|
|
560
|
+
- "--main"
|
|
561
|
+
- README.md
|
|
562
|
+
- "--exclude"
|
|
563
|
+
- "^sig/"
|
|
564
|
+
- "--line-numbers"
|
|
565
|
+
- "--inline-source"
|
|
566
|
+
- "--quiet"
|
|
403
567
|
require_paths:
|
|
404
568
|
- lib
|
|
405
569
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -413,7 +577,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
413
577
|
- !ruby/object:Gem::Version
|
|
414
578
|
version: '0'
|
|
415
579
|
requirements: []
|
|
416
|
-
rubygems_version: 4.0.
|
|
580
|
+
rubygems_version: 4.0.10
|
|
417
581
|
specification_version: 4
|
|
418
|
-
summary:
|
|
582
|
+
summary: "\U0001F9BE Rules for Rubies: Rubocop + Standard + Betterlint + Gradual"
|
|
419
583
|
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-1.8.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/**/*'
|