rubocop-lts 2.0.5 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +17 -33
- data/CONTRIBUTING.md +26 -12
- data/README.md +229 -133
- data/SECURITY.md +31 -24
- data/config/base.yml +2 -0
- data/config/rails.yml +4 -0
- data/config/rails_rspec.yml +4 -0
- data/config/rspec.yml +4 -0
- data/config/ruby.yml +4 -0
- data/config/ruby_rspec.yml +4 -0
- data/config/rubygem.yml +4 -0
- data/config/rubygem_rspec.yml +4 -0
- data/lib/rubocop/lts/version.rb +3 -1
- data/lib/rubocop/lts.rb +12 -1
- data/rubocop-lts.yml +14 -18
- data/sig/rubocop/lts.rbs +4 -2
- data.tar.gz.sig +1 -0
- metadata +142 -21
- metadata.gz.sig +0 -0
- data/rubocop-lts1_8.yml +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27477779440d430f903897f2a5b2a0187ca7a94ac5a73fc7c6816fef6378e0d
|
4
|
+
data.tar.gz: 3b6b14270113ddace27b53773bfb9e9c3a612165ef41f65b258ce41f67e3712a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44b366feab96c4dde1b3af7e6bc944995cc1bbce7ac6b000a671622898aa01e9a4154ff0fe7707cc6a4443bb0a09a0ad8e6bea535c9780300e53e83b9bfec588
|
7
|
+
data.tar.gz: '02186dd953518c0e06b0dfc11fd1836414c0ff6031df3d47a35b8e3f218da7437e9b339a8832acae863f0b6a8db1b3dc4f1941b80e5a81b376c4011e8348ba9d'
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,12 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
### Added
|
9
|
-
|
10
9
|
### Changed
|
11
|
-
|
12
10
|
### Fixed
|
11
|
+
### Removed
|
13
12
|
|
13
|
+
## [2.1.1] - 2023-05-30
|
14
|
+
### Added
|
15
|
+
- `config/base.yml` for all shared configs
|
16
|
+
- `Rubocop::Lts.install_tasks` to roll-up rake tasks from dependencies (e.g. rubocop_gradual)
|
17
|
+
|
18
|
+
## [2.1.0] - 2023-05-20
|
19
|
+
### Changed
|
20
|
+
- Broadened scope of gem, updated `rubocop-ruby*_*` which configures many linting tools via `standard-rubocop-lts`
|
14
21
|
### Removed
|
22
|
+
- Install support for Ruby < 2.7 (minimum is now 2.7, analysis of older Ruby still supported)
|
23
|
+
- rubocop-lts1_8.yml - Use the new dedicated gem `rubocop-ruby1_8` instead
|
15
24
|
|
16
25
|
## [2.0.5] - 2022-06-08
|
17
26
|
### Added
|
@@ -23,7 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
23
32
|
|
24
33
|
## [2.0.3] - 2022-05-23
|
25
34
|
### Fixed
|
26
|
-
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_
|
35
|
+
- Make rubocop config files load ruby specific config from relevant `rubocop-ruby*_*` gem
|
27
36
|
|
28
37
|
## [2.0.2] - 2022-05-23
|
29
38
|
### Fixed
|
@@ -39,38 +48,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
39
48
|
### Added
|
40
49
|
- Initial even release supporting Ruby >= 1.9
|
41
50
|
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
- Improve, and dry up documentation
|
46
|
-
|
47
|
-
## [1.0.3] - 2022-05-23
|
48
|
-
### Fixed
|
49
|
-
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
50
|
-
|
51
|
-
## [1.0.2] - 2022-05-23
|
52
|
-
### Fixed
|
53
|
-
- Ship rubocop config files in gem
|
54
|
-
- rubocop-lts.yml
|
55
|
-
- rubocop-lts1_8.yml
|
56
|
-
|
57
|
-
## [1.0.1] - 2022-05-22
|
58
|
-
### Fixed
|
59
|
-
- Documentation typos & gemspec URLs
|
60
|
-
|
61
|
-
## [1.0.0] - 2022-05-22
|
62
|
-
### Added
|
63
|
-
- Initial odd release supporting Ruby ~> 1.9
|
64
|
-
|
65
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...HEAD
|
51
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.1.1...HEAD
|
52
|
+
[2.1.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.1.0...v2.1.1
|
53
|
+
[2.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...v2.1.0
|
66
54
|
[2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
|
67
55
|
[2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
|
68
56
|
[2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
|
69
57
|
[2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
|
70
58
|
[2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
|
71
|
-
[2.0.0]: https://
|
72
|
-
|
73
|
-
[1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
|
74
|
-
[1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
|
75
|
-
[1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
|
76
|
-
[1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
|
59
|
+
[2.0.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tags/v2.0.0
|
60
|
+
|
data/CONTRIBUTING.md
CHANGED
@@ -1,25 +1,39 @@
|
|
1
1
|
## Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on
|
3
|
+
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-lts][🚎src-main]
|
4
4
|
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
5
|
-
the [code of conduct][conduct].
|
5
|
+
the [code of conduct][🤝conduct].
|
6
6
|
|
7
|
-
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
|
7
|
+
To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
|
8
|
+
and post a message to the [gitter chat][🏘chat].
|
8
9
|
|
9
|
-
##
|
10
|
-
|
11
|
-
[![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-lts)][contributors]
|
10
|
+
## Release
|
12
11
|
|
13
|
-
|
12
|
+
To release a new version:
|
14
13
|
|
15
|
-
|
14
|
+
1. Run `bin/setup && bin/rake` as a tests, coverage, & linting sanity check.
|
15
|
+
2. update the version number in `version.rb`
|
16
|
+
3. Run `bin/setup && bin/rake` again as a secondary check, and to update `Gemfile.lock`.
|
17
|
+
4. run `bundle exec rake build:checksum`
|
18
|
+
5. move the built gem to project root
|
19
|
+
6. run `bin/checksum` to create the missing SHA256 checksum
|
20
|
+
7. move the built gem back to `pkg/`
|
21
|
+
8. commit the changes
|
22
|
+
9. run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org][rubygems].
|
16
23
|
|
17
|
-
|
24
|
+
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
25
|
+
`gemspec`, in order to sign the new release.
|
26
|
+
See: [RubyGems Security Guide][rubygems-security-guide]
|
18
27
|
|
19
|
-
|
28
|
+
## Contributors
|
20
29
|
|
21
|
-
|
30
|
+
See: [https://gitlab.com/rubocop-lts/rubocop-lts/-/graphs/main][🖐contributors]
|
22
31
|
|
23
32
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
24
33
|
|
25
|
-
[
|
34
|
+
[🤝conduct]: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/main/CODE_OF_CONDUCT.md
|
35
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-lts/-/graphs/main
|
36
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/main
|
37
|
+
[🏘chat]: https://gitter.im/rubocop-lts/community
|
38
|
+
[rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
39
|
+
[rubygems]: https://rubygems.org
|
data/README.md
CHANGED
@@ -16,88 +16,220 @@
|
|
16
16
|
</a>
|
17
17
|
</p>
|
18
18
|
|
19
|
-
# RuboCop LTS
|
19
|
+
# 🦾 RuboCop LTS
|
20
20
|
|
21
21
|
## PROJECT DOCUMENTATION
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
[
|
42
|
-
[
|
43
|
-
[
|
44
|
-
[
|
45
|
-
[
|
46
|
-
|
47
|
-
|
23
|
+
* 🌱 [Convention > Configuration][Convention-Over-Configuration]
|
24
|
+
* 🌱 [Releases][Even-Major-Release]
|
25
|
+
* 🌱 [How to Upgrade Ruby (1.8 to 3.2)!][How-To-Upgrade-Ruby]
|
26
|
+
* 👩💻 [Org Health][OrgHealth]
|
27
|
+
* ✨ [Installation][Installation]
|
28
|
+
* 🔧 [Usage][Usage]
|
29
|
+
* ⚡️ [Contributing][Contributing]
|
30
|
+
* 🌈 [Contributors][Contributors]
|
31
|
+
* 📄 [License][License]
|
32
|
+
* © [Copyright][Copyright]
|
33
|
+
* 🤝 [Code of Conduct][Code of Conduct]
|
34
|
+
* 📌 [Versioning][Versioning]
|
35
|
+
|
36
|
+
[Convention-Over-Configuration]: https://rubocop-lts.gitlab.io/CONV_OVER_CONF/
|
37
|
+
[Even-Major-Release]: https://rubocop-lts.gitlab.io/CONV_OVER_CONF/#even-major-release
|
38
|
+
[How-To-Upgrade-Ruby]: https://rubocop-lts.gitlab.io/HOW_TO_UPGRADE_RUBY/
|
39
|
+
[OrgHealth]: https://rubocop-lts.gitlab.io/#org-health-
|
40
|
+
[Installation]: https://rubocop-lts.gitlab.io/#installation-
|
41
|
+
[Usage]: https://rubocop-lts.gitlab.io/#usage-
|
42
|
+
[Contributing]: https://rubocop-lts.gitlab.io/#contributing-
|
43
|
+
[Contributors]: https://rubocop-lts.gitlab.io/#contributors-
|
44
|
+
[License]: https://rubocop-lts.gitlab.io/#license-
|
45
|
+
[Copyright]: https://rubocop-lts.gitlab.io/#copyright-
|
46
|
+
[Code of Conduct]: https://rubocop-lts.gitlab.io/#code-of-conduct-
|
47
|
+
[Versioning]: https://rubocop-lts.gitlab.io/#versioning-
|
48
|
+
|
49
|
+
## This README
|
50
|
+
|
51
|
+
* 🌳 [This Branch](#this-branch-)
|
52
|
+
* 💻 [Project Health](#project-health-)
|
53
|
+
* ✨ [Installation](#installation-)
|
54
|
+
|
55
|
+
## This Branch 🌳
|
48
56
|
|
49
57
|
<!-- FIND VERSION -->
|
50
58
|
**This README is for the even release of `rubocop-lts` supporting Ruby >= 1.9.**
|
51
59
|
|
52
|
-
|
60
|
+
This gem configures many gems for you:
|
53
61
|
|
54
|
-
|
62
|
+
- rubocop
|
63
|
+
- rubocop-gradual
|
64
|
+
- rubocop-md
|
65
|
+
- rubocop-rake
|
66
|
+
- rubocop-shopify
|
67
|
+
- rubocop-thread_safety
|
68
|
+
- standard
|
69
|
+
- standard-performance (incl. rubocop-performance)
|
70
|
+
- standard-custom
|
71
|
+
- standard-rubocop-lts (ruby version-specific rules)
|
55
72
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
73
|
+
And optionally, if you are using RSpec:
|
74
|
+
|
75
|
+
- rubocop-rspec
|
76
|
+
|
77
|
+
And optionally, if you are building a RubyGem:
|
78
|
+
|
79
|
+
- rubocop-packaging
|
80
|
+
|
81
|
+
And optionally, if you are building a Rails app:
|
82
|
+
|
83
|
+
- standard-rails (incl. rubocop-rails)
|
84
|
+
- betterlint
|
61
85
|
|
62
|
-
|
86
|
+
## Project Health 👩💻
|
63
87
|
|
64
|
-
|
88
|
+
| Gem Name | Version | Downloads | CI | Activity |
|
89
|
+
|------------------------------|-------------------------------------|----------------------------------------------------------------------|-----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
90
|
+
| [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] [![Heads][🖐lts-hwfi]][🖐lts-hwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
|
91
|
+
| [`rubocop-ruby1_8`][⛳️18-gh] | [![Gem Version][⛳️18-vi]][⛳️18-g] | [![Total DL][🖇️18-dti]][⛳️18-g] [![DL Rank][🏘️18-rti]][⛳️18-g] | [![Current][🚎18-cwfi]][🚎18-cwf] [![Heads][🖐18-hwfi]][🖐18-hwf] | [![Open Issues][📗18-ioi]][📗18-io] [![Closed Issues][🚀18-ici]][🚀18-ic] [![Open PRs][💄18-poi]][💄18-po] [![Closed PRs][👽18-pci]][👽18-pc] |
|
92
|
+
| [`rubocop-ruby1_9`][⛳️19-gh] | [![Gem Version][⛳️19-vi]][⛳️19-g] | [![Total DL][🖇️19-dti]][⛳️19-g] [![DL Rank][🏘️19-rti]][⛳️19-g] | [![Current][🚎19-cwfi]][🚎19-cwf] [![Heads][🖐19-hwfi]][🖐19-hwf] | [![Open Issues][📗19-ioi]][📗19-io] [![Closed Issues][🚀19-ici]][🚀19-ic] [![Open PRs][💄19-poi]][💄19-po] [![Closed PRs][👽19-pci]][👽19-pc] |
|
93
|
+
| [`rubocop-ruby2_0`][⛳️20-gh] | [![Gem Version][⛳️20-vi]][⛳️20-g] | [![Total DL][🖇️20-dti]][⛳️20-g] [![DL Rank][🏘️20-rti]][⛳️20-g] | [![Current][🚎20-cwfi]][🚎20-cwf] [![Heads][🖐20-hwfi]][🖐20-hwf] | [![Open Issues][📗20-ioi]][📗20-io] [![Closed Issues][🚀20-ici]][🚀20-ic] [![Open PRs][💄20-poi]][💄20-po] [![Closed PRs][👽20-pci]][👽20-pc] |
|
94
|
+
| [`rubocop-ruby2_1`][⛳️21-gh] | [![Gem Version][⛳️21-vi]][⛳️21-g] | [![Total DL][🖇️21-dti]][⛳️21-g] [![DL Rank][🏘️21-rti]][⛳️21-g] | [![Current][🚎21-cwfi]][🚎21-cwf] [![Heads][🖐21-hwfi]][🖐21-hwf] | [![Open Issues][📗21-ioi]][📗21-io] [![Closed Issues][🚀21-ici]][🚀21-ic] [![Open PRs][💄21-poi]][💄21-po] [![Closed PRs][👽21-pci]][👽21-pc] |
|
95
|
+
| [`rubocop-ruby2_2`][⛳️22-gh] | [![Gem Version][⛳️22-vi]][⛳️22-g] | [![Total DL][🖇️22-dti]][⛳️22-g] [![DL Rank][🏘️22-rti]][⛳️22-g] | [![Current][🚎22-cwfi]][🚎22-cwf] [![Heads][🖐22-hwfi]][🖐22-hwf] | [![Open Issues][📗22-ioi]][📗22-io] [![Closed Issues][🚀22-ici]][🚀22-ic] [![Open PRs][💄22-poi]][💄22-po] [![Closed PRs][👽22-pci]][👽22-pc] |
|
96
|
+
| [`rubocop-ruby2_3`][⛳️23-gh] | [![Gem Version][⛳️23-vi]][⛳️23-g] | [![Total DL][🖇️23-dti]][⛳️23-g] [![DL Rank][🏘️23-rti]][⛳️23-g] | [![Current][🚎23-cwfi]][🚎23-cwf] [![Heads][🖐23-hwfi]][🖐23-hwf] | [![Open Issues][📗23-ioi]][📗23-io] [![Closed Issues][🚀23-ici]][🚀23-ic] [![Open PRs][💄23-poi]][💄23-po] [![Closed PRs][👽23-pci]][👽23-pc] |
|
97
|
+
| [`rubocop-ruby2_4`][⛳️24-gh] | [![Gem Version][⛳️24-vi]][⛳️24-g] | [![Total DL][🖇️24-dti]][⛳️24-g] [![DL Rank][🏘️24-rti]][⛳️24-g] | [![Current][🚎24-cwfi]][🚎24-cwf] [![Heads][🖐24-hwfi]][🖐24-hwf] | [![Open Issues][📗24-ioi]][📗24-io] [![Closed Issues][🚀24-ici]][🚀24-ic] [![Open PRs][💄24-poi]][💄24-po] [![Closed PRs][👽24-pci]][👽24-pc] |
|
98
|
+
| [`rubocop-ruby2_5`][⛳️25-gh] | [![Gem Version][⛳️25-vi]][⛳️25-g] | [![Total DL][🖇️25-dti]][⛳️25-g] [![DL Rank][🏘️25-rti]][⛳️25-g] | [![Current][🚎25-cwfi]][🚎25-cwf] [![Heads][🖐25-hwfi]][🖐25-hwf] | [![Open Issues][📗25-ioi]][📗25-io] [![Closed Issues][🚀25-ici]][🚀25-ic] [![Open PRs][💄25-poi]][💄25-po] [![Closed PRs][👽25-pci]][👽25-pc] |
|
99
|
+
| [`rubocop-ruby2_6`][⛳️26-gh] | [![Gem Version][⛳️26-vi]][⛳️26-g] | [![Total DL][🖇️26-dti]][⛳️26-g] [![DL Rank][🏘️26-rti]][⛳️26-g] | [![Current][🚎26-cwfi]][🚎26-cwf] [![Heads][🖐26-hwfi]][🖐26-hwf] | [![Open Issues][📗26-ioi]][📗26-io] [![Closed Issues][🚀26-ici]][🚀26-ic] [![Open PRs][💄26-poi]][💄26-po] [![Closed PRs][👽26-pci]][👽26-pc] |
|
100
|
+
| [`rubocop-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-pc] |
|
101
|
+
| [`rubocop-ruby3_0`][⛳️30-gh] | [![Gem Version][⛳️30-vi]][⛳️30-g] | [![Total DL][🖇️30-dti]][⛳️30-g] [![DL Rank][🏘️30-rti]][⛳️30-g] | [![Current][🚎30-cwfi]][🚎30-cwf] [![Heads][🖐30-hwfi]][🖐30-hwf] | [![Open Issues][📗30-ioi]][📗30-io] [![Closed Issues][🚀30-ici]][🚀30-ic] [![Open PRs][💄30-poi]][💄30-po] [![Closed PRs][👽30-pci]][👽30-pc] |
|
102
|
+
| [`rubocop-ruby3_1`][⛳️31-gh] | [![Gem Version][⛳️31-vi]][⛳️31-g] | [![Total DL][🖇️31-dti]][⛳️31-g] [![DL Rank][🏘️31-rti]][⛳️31-g] | [![Current][🚎31-cwfi]][🚎31-cwf] [![Heads][🖐31-hwfi]][🖐31-hwf] | [![Open Issues][📗31-ioi]][📗31-io] [![Closed Issues][🚀31-ici]][🚀31-ic] [![Open PRs][💄31-poi]][💄31-po] [![Closed PRs][👽31-pci]][👽31-pc] |
|
103
|
+
| [`rubocop-ruby3_2`][⛳️32-gh] | [![Gem Version][⛳️32-vi]][⛳️32-g] | [![Total DL][🖇️32-dti]][⛳️32-g] [![DL Rank][🏘️32-rti]][⛳️32-g] | [![Current][🚎32-cwfi]][🚎32-cwf] [![Heads][🖐32-hwfi]][🖐32-hwf] | [![Open Issues][📗32-ioi]][📗32-io] [![Closed Issues][🚀32-ici]][🚀32-ic] [![Open PRs][💄32-poi]][💄32-po] [![Closed PRs][👽32-pci]][👽32-pc] |
|
65
104
|
|
66
|
-
##
|
105
|
+
## Installation ✨
|
67
106
|
|
68
|
-
|
69
|
-
|------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
70
|
-
| [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] [![Legacy][🧮lts-lwfi]][🧮lts-lwf] [![Heads][🖐lts-hwfi]][🖐lts-hwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
|
71
|
-
| [`rubocop-ruby1_9`][⛳️19-gh] | [![Gem Version][⛳️19-vi]][⛳️19-g] | [![Total DL][🖇️19-dti]][⛳️19-g] [![DL Rank][🏘️19-rti]][⛳️19-g] | [![Current][🚎19-cwfi]][🚎19-cwf] [![Legacy][🧮19-lwfi]][🧮19-lwf] | [![Open Issues][📗19-ioi]][📗19-io] [![Closed Issues][🚀19-ici]][🚀19-ic] [![Open PRs][💄19-poi]][💄19-po] [![Closed PRs][👽19-pci]][👽19-pc] |
|
72
|
-
| [`rubocop-ruby2_0`][⛳️20-gh] | [![Gem Version][⛳️20-vi]][⛳️20-g] | [![Total DL][🖇️20-dti]][⛳️20-g] [![DL Rank][🏘️20-rti]][⛳️20-g] | [![Current][🚎20-cwfi]][🚎20-cwf] [![Legacy][🧮20-lwfi]][🧮20-lwf] | [![Open Issues][📗20-ioi]][📗20-io] [![Closed Issues][🚀20-ici]][🚀20-ic] [![Open PRs][💄20-poi]][💄20-po] [![Closed PRs][👽20-pci]][👽20-pc] |
|
73
|
-
| [`rubocop-ruby2_1`][⛳️21-gh] | [![Gem Version][⛳️21-vi]][⛳️21-g] | [![Total DL][🖇️21-dti]][⛳️21-g] [![DL Rank][🏘️21-rti]][⛳️21-g] | [![Current][🚎21-cwfi]][🚎21-cwf] [![Legacy][🧮21-lwfi]][🧮21-lwf] | [![Open Issues][📗21-ioi]][📗21-io] [![Closed Issues][🚀21-ici]][🚀21-ic] [![Open PRs][💄21-poi]][💄21-po] [![Closed PRs][👽21-pci]][👽21-pc] |
|
74
|
-
| [`rubocop-ruby2_2`][⛳️22-gh] | [![Gem Version][⛳️22-vi]][⛳️22-g] | [![Total DL][🖇️22-dti]][⛳️22-g] [![DL Rank][🏘️22-rti]][⛳️22-g] | [![Current][🚎22-cwfi]][🚎22-cwf] [![Legacy][🧮22-lwfi]][🧮22-lwf] | [![Open Issues][📗22-ioi]][📗22-io] [![Closed Issues][🚀22-ici]][🚀22-ic] [![Open PRs][💄22-poi]][💄22-po] [![Closed PRs][👽22-pci]][👽22-pc] |
|
75
|
-
| [`rubocop-ruby2_3`][⛳️23-gh] | [![Gem Version][⛳️23-vi]][⛳️23-g] | [![Total DL][🖇️23-dti]][⛳️23-g] [![DL Rank][🏘️23-rti]][⛳️23-g] | [![Current][🚎23-cwfi]][🚎23-cwf] [![Legacy][🧮23-lwfi]][🧮23-lwf] | [![Open Issues][📗23-ioi]][📗23-io] [![Closed Issues][🚀23-ici]][🚀23-ic] [![Open PRs][💄23-poi]][💄23-po] [![Closed PRs][👽23-pci]][👽23-pc] |
|
76
|
-
| [`rubocop-ruby2_4`][⛳️24-gh] | [![Gem Version][⛳️24-vi]][⛳️24-g] | [![Total DL][🖇️24-dti]][⛳️24-g] [![DL Rank][🏘️24-rti]][⛳️24-g] | [![Current][🚎24-cwfi]][🚎24-cwf] [![Legacy][🧮24-lwfi]][🧮24-lwf] | [![Open Issues][📗24-ioi]][📗24-io] [![Closed Issues][🚀24-ici]][🚀24-ic] [![Open PRs][💄24-poi]][💄24-po] [![Closed PRs][👽24-pci]][👽24-pc] |
|
77
|
-
| [`rubocop-ruby2_5`][⛳️25-gh] | [![Gem Version][⛳️25-vi]][⛳️25-g] | [![Total DL][🖇️25-dti]][⛳️25-g] [![DL Rank][🏘️25-rti]][⛳️25-g] | [![Current][🚎25-cwfi]][🚎25-cwf] [![Heads][🖐25-hwfi]][🖐25-hwf] [![Legacy][🧮25-lwfi]][🧮25-lwf] | [![Open Issues][📗25-ioi]][📗25-io] [![Closed Issues][🚀25-ici]][🚀25-ic] [![Open PRs][💄25-poi]][💄25-po] [![Closed PRs][👽25-pci]][👽25-pc] |
|
78
|
-
| [`rubocop-ruby2_6`][⛳️26-gh] | [![Gem Version][⛳️26-vi]][⛳️26-g] | [![Total DL][🖇️26-dti]][⛳️26-g] [![DL Rank][🏘️26-rti]][⛳️26-g] | [![Current][🚎26-cwfi]][🚎26-cwf] [![Heads][🖐26-hwfi]][🖐26-hwf] [![Legacy][🧮26-lwfi]][🧮26-lwf] | [![Open Issues][📗26-ioi]][📗26-io] [![Closed Issues][🚀26-ici]][🚀26-ic] [![Open PRs][💄26-poi]][💄26-po] [![Closed PRs][👽26-pci]][👽26-pc] |
|
79
|
-
| [`rubocop-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-pc] |
|
80
|
-
| [`rubocop-ruby3_0`][⛳️30-gh] | [![Gem Version][⛳️30-vi]][⛳️30-g] | [![Total DL][🖇️30-dti]][⛳️30-g] [![DL Rank][🏘️30-rti]][⛳️30-g] | [![Current][🚎30-cwfi]][🚎30-cwf] [![Heads][🖐30-hwfi]][🖐30-hwf] | [![Open Issues][📗30-ioi]][📗30-io] [![Closed Issues][🚀30-ici]][🚀30-ic] [![Open PRs][💄30-poi]][💄30-po] [![Closed PRs][👽30-pci]][👽30-pc] |
|
81
|
-
| [`rubocop-ruby3_1`][⛳️31-gh] | [![Gem Version][⛳️31-vi]][⛳️31-g] | [![Total DL][🖇️31-dti]][⛳️31-g] [![DL Rank][🏘️31-rti]][⛳️31-g] | [![Current][🚎31-cwfi]][🚎31-cwf] [![Heads][🖐31-hwfi]][🖐31-hwf] | [![Open Issues][📗31-ioi]][📗31-io] [![Closed Issues][🚀31-ici]][🚀31-ic] [![Open PRs][💄31-poi]][💄31-po] [![Closed PRs][👽31-pci]][👽31-pc] |
|
82
|
-
| [`rubocop-ruby3_2`][⛳️32-gh] | [![Gem Version][⛳️32-vi]][⛳️32-g] | [![Total DL][🖇️32-dti]][⛳️32-g] [![DL Rank][🏘️32-rti]][⛳️32-g] | [![Current][🚎32-cwfi]][🚎32-cwf] [![Heads][🖐32-hwfi]][🖐32-hwf] | [![Open Issues][📗32-ioi]][📗32-io] [![Closed Issues][🚀32-ici]][🚀32-ic] [![Open PRs][💄32-poi]][💄32-po] [![Closed PRs][👽32-pci]][👽32-pc] |
|
107
|
+
Install the gem and add to the application's Gemfile by executing:
|
83
108
|
|
84
|
-
|
109
|
+
$ bundle add rubocop-lts -r false
|
85
110
|
|
86
|
-
|
111
|
+
NOTE: If you are using **Rails** remove the `-r false`,
|
112
|
+
so the Railtie will load and rake tasks will be loaded automatically.
|
87
113
|
|
88
|
-
|
114
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
89
115
|
|
90
|
-
|
116
|
+
$ gem install rubocop-lts
|
117
|
+
|
118
|
+
Or add this line to your application's Gemfile:
|
91
119
|
|
92
120
|
<!-- FIND VERSION -->
|
93
121
|
```ruby
|
94
|
-
gem
|
122
|
+
gem "rubocop-lts", "~> 2.1", require: false
|
95
123
|
```
|
96
124
|
|
97
125
|
And then execute:
|
98
126
|
|
99
127
|
$ bundle
|
100
128
|
|
129
|
+
## Usage with RuboCop
|
130
|
+
|
131
|
+
In your `.rubocop.yml` do the following:
|
132
|
+
|
133
|
+
🔥 Delete the following line 🔥
|
134
|
+
```yaml
|
135
|
+
inherit_from: .rubocop_todo.yml
|
136
|
+
```
|
137
|
+
|
138
|
+
You can probably 🔥 delete 🔥 most of the other lines too.
|
139
|
+
This tool is anti-bike-shedding.
|
140
|
+
You no longer need to worry about the rules!
|
141
|
+
|
142
|
+
🔥 Any of the following configs are no longer needed 🔥
|
143
|
+
```yaml
|
144
|
+
require:
|
145
|
+
- 'betterlint'
|
146
|
+
- 'rubocop-md'
|
147
|
+
- 'rubocop-packaging'
|
148
|
+
- 'rubocop-performance'
|
149
|
+
- 'rubocop-rake'
|
150
|
+
- 'rubocop-rspec'
|
151
|
+
- 'rubocop-rails'
|
152
|
+
- 'rubocop-thread_safety'
|
153
|
+
- 'rubocop/gradual/patch'
|
154
|
+
- 'standard'
|
155
|
+
- 'standard-custom'
|
156
|
+
- 'standard-performance'
|
157
|
+
- 'standard-rails'
|
158
|
+
- 'standard-rubocop-lts'
|
159
|
+
|
160
|
+
AllCops:
|
161
|
+
NewCops: enable
|
162
|
+
DisplayCopNames: true
|
163
|
+
TargetRubyVersion: X.X
|
164
|
+
```
|
165
|
+
|
166
|
+
Then pick one of the following to add!
|
167
|
+
|
168
|
+
### if Ruby with RSpec
|
169
|
+
|
170
|
+
```yaml
|
171
|
+
inherit_gem:
|
172
|
+
rubocop-lts: rubocop-lts.yml # for the ruby + rspec
|
173
|
+
# NOTE: this is the default, and as such, is equivalent to:
|
174
|
+
# rubocop-lts: config/ruby_rspec.yml
|
175
|
+
```
|
176
|
+
|
177
|
+
### if just Ruby (without RSpec)
|
178
|
+
|
179
|
+
```yaml
|
180
|
+
inherit_gem:
|
181
|
+
rubocop-lts: config/ruby.yml
|
182
|
+
```
|
183
|
+
|
184
|
+
### if Rails with RSpec
|
185
|
+
|
186
|
+
```yaml
|
187
|
+
inherit_gem:
|
188
|
+
rubocop-lts: config/rails_rspec.yml
|
189
|
+
```
|
190
|
+
|
191
|
+
### if just Rails (without RSpec)
|
192
|
+
|
193
|
+
```yaml
|
194
|
+
inherit_gem:
|
195
|
+
rubocop-lts: config/rails.yml
|
196
|
+
```
|
197
|
+
|
198
|
+
### if rubygem with RSpec
|
199
|
+
|
200
|
+
```yaml
|
201
|
+
inherit_gem:
|
202
|
+
rubocop-lts: config/rubygem_rspec.yml
|
203
|
+
```
|
204
|
+
|
205
|
+
### if just rubygem (without RSpec)
|
206
|
+
|
207
|
+
```yaml
|
208
|
+
inherit_gem:
|
209
|
+
rubocop-lts: config/rubygem.yml
|
210
|
+
```
|
211
|
+
|
212
|
+
### Load Rake Tasks
|
213
|
+
|
214
|
+
NOTE: On Rails it is **automatic**, via Railtie, so you can skip this.
|
215
|
+
|
216
|
+
In a non-Rails environment add the following to your `Rakefile`:
|
217
|
+
```ruby
|
218
|
+
require "rubocop/lts"
|
219
|
+
Rubocop::Lts.install_tasks
|
220
|
+
```
|
221
|
+
|
222
|
+
This will load the `rubocop_gradual` rake task, and alias it as `rubocop`.
|
223
|
+
|
224
|
+
### Dependabot Noise Reduction
|
225
|
+
|
226
|
+
Add the following to `.github/dependabot.yml` if you use Github Actions.
|
227
|
+
|
228
|
+
```yaml
|
229
|
+
ignore:
|
230
|
+
- dependency-name: "rubocop-lts"
|
231
|
+
```
|
232
|
+
|
101
233
|
<!-- columnar badge #s for Project Health table:
|
102
234
|
⛳️
|
103
235
|
🖇
|
@@ -118,8 +250,6 @@ And then execute:
|
|
118
250
|
[🚎lts-cwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
|
119
251
|
[🖐lts-hwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
|
120
252
|
[🖐lts-hwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml/badge.svg
|
121
|
-
[🧮lts-lwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml
|
122
|
-
[🧮lts-lwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml/badge.svg
|
123
253
|
[📗lts-io]: https://github.com/rubocop-lts/rubocop-lts/issues
|
124
254
|
[📗lts-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-lts
|
125
255
|
[🚀lts-ic]: https://github.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
|
@@ -130,6 +260,23 @@ And then execute:
|
|
130
260
|
[👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
|
131
261
|
[⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
|
132
262
|
[⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
|
263
|
+
[⛳️18-vi]: http://img.shields.io/gem/v/rubocop-ruby1_8.svg
|
264
|
+
[🖇️18-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_8.svg
|
265
|
+
[🏘️18-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_8.svg
|
266
|
+
[🚎18-cwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml
|
267
|
+
[🚎18-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml/badge.svg
|
268
|
+
[🖐18-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml
|
269
|
+
[🖐18-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml/badge.svg
|
270
|
+
[📗18-io]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues
|
271
|
+
[📗18-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_8
|
272
|
+
[🚀18-ic]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues?q=is%3Aissue+is%3Aclosed
|
273
|
+
[🚀18-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby1_8
|
274
|
+
[💄18-po]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls
|
275
|
+
[💄18-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby1_8
|
276
|
+
[👽18-pc]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls?q=is%3Apr+is%3Aclosed
|
277
|
+
[👽18-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby1_8
|
278
|
+
[⛳️18-g]: https://rubygems.org/gems/rubocop-ruby1_8
|
279
|
+
[⛳️18-gh]: https://github.com/rubocop-lts/rubocop-ruby1_8
|
133
280
|
[⛳️19-vi]: http://img.shields.io/gem/v/rubocop-ruby1_9.svg
|
134
281
|
[🖇️19-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_9.svg
|
135
282
|
[🏘️19-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_9.svg
|
@@ -137,8 +284,6 @@ And then execute:
|
|
137
284
|
[🚎19-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/current.yml/badge.svg
|
138
285
|
[🖐19-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml
|
139
286
|
[🖐19-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml/badge.svg
|
140
|
-
[🧮19-lwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml
|
141
|
-
[🧮19-lwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml/badge.svg
|
142
287
|
[📗19-io]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
|
143
288
|
[📗19-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_9
|
144
289
|
[🚀19-ic]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues?q=is%3Aissue+is%3Aclosed
|
@@ -156,8 +301,6 @@ And then execute:
|
|
156
301
|
[🚎20-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/current.yml/badge.svg
|
157
302
|
[🖐20-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml
|
158
303
|
[🖐20-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml/badge.svg
|
159
|
-
[🧮20-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml
|
160
|
-
[🧮20-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml/badge.svg
|
161
304
|
[📗20-io]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
|
162
305
|
[📗20-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_0
|
163
306
|
[🚀20-ic]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues?q=is%3Aissue+is%3Aclosed
|
@@ -175,8 +318,6 @@ And then execute:
|
|
175
318
|
[🚎21-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/current.yml/badge.svg
|
176
319
|
[🖐21-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml
|
177
320
|
[🖐21-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml/badge.svg
|
178
|
-
[🧮21-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml
|
179
|
-
[🧮21-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml/badge.svg
|
180
321
|
[📗21-io]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
|
181
322
|
[📗21-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_1
|
182
323
|
[🚀21-ic]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues?q=is%3Aissue+is%3Aclosed
|
@@ -194,8 +335,6 @@ And then execute:
|
|
194
335
|
[🚎22-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/current.yml/badge.svg
|
195
336
|
[🖐22-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml
|
196
337
|
[🖐22-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml/badge.svg
|
197
|
-
[🧮22-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml
|
198
|
-
[🧮22-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml/badge.svg
|
199
338
|
[📗22-io]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
|
200
339
|
[📗22-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_2
|
201
340
|
[🚀22-ic]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues?q=is%3Aissue+is%3Aclosed
|
@@ -213,8 +352,6 @@ And then execute:
|
|
213
352
|
[🚎23-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/current.yml/badge.svg
|
214
353
|
[🖐23-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml
|
215
354
|
[🖐23-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml/badge.svg
|
216
|
-
[🧮23-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml
|
217
|
-
[🧮23-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml/badge.svg
|
218
355
|
[📗23-io]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
|
219
356
|
[📗23-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_3
|
220
357
|
[🚀23-ic]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues?q=is%3Aissue+is%3Aclosed
|
@@ -232,8 +369,6 @@ And then execute:
|
|
232
369
|
[🚎24-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/current.yml/badge.svg
|
233
370
|
[🖐24-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml
|
234
371
|
[🖐24-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml/badge.svg
|
235
|
-
[🧮24-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml
|
236
|
-
[🧮24-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml/badge.svg
|
237
372
|
[📗24-io]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues
|
238
373
|
[📗24-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_4
|
239
374
|
[🚀24-ic]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues?q=is%3Aissue+is%3Aclosed
|
@@ -251,8 +386,6 @@ And then execute:
|
|
251
386
|
[🚎25-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/current.yml/badge.svg
|
252
387
|
[🖐25-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml
|
253
388
|
[🖐25-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml/badge.svg
|
254
|
-
[🧮25-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml
|
255
|
-
[🧮25-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml/badge.svg
|
256
389
|
[📗25-io]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
|
257
390
|
[📗25-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_5
|
258
391
|
[🚀25-ic]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues?q=is%3Aissue+is%3Aclosed
|
@@ -270,8 +403,6 @@ And then execute:
|
|
270
403
|
[🚎26-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml/badge.svg
|
271
404
|
[🖐26-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml
|
272
405
|
[🖐26-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml/badge.svg
|
273
|
-
[🧮26-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml
|
274
|
-
[🧮26-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml/badge.svg
|
275
406
|
[📗26-io]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
|
276
407
|
[📗26-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_6
|
277
408
|
[🚀26-ic]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues?q=is%3Aissue+is%3Aclosed
|
@@ -289,8 +420,6 @@ And then execute:
|
|
289
420
|
[🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
|
290
421
|
[🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
|
291
422
|
[🖐27-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml/badge.svg
|
292
|
-
[🧮27-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml
|
293
|
-
[🧮27-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml/badge.svg
|
294
423
|
[📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
|
295
424
|
[📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
|
296
425
|
[🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
|
@@ -308,8 +437,6 @@ And then execute:
|
|
308
437
|
[🚎30-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml/badge.svg
|
309
438
|
[🖐30-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml
|
310
439
|
[🖐30-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml/badge.svg
|
311
|
-
[🧮30-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml
|
312
|
-
[🧮30-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml/badge.svg
|
313
440
|
[📗30-io]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
|
314
441
|
[📗30-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_0
|
315
442
|
[🚀30-ic]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues?q=is%3Aissue+is%3Aclosed
|
@@ -327,8 +454,6 @@ And then execute:
|
|
327
454
|
[🚎31-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
|
328
455
|
[🖐31-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
|
329
456
|
[🖐31-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml/badge.svg
|
330
|
-
[🧮31-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml
|
331
|
-
[🧮31-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml/badge.svg
|
332
457
|
[📗31-io]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
|
333
458
|
[📗31-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_1
|
334
459
|
[🚀31-ic]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues?q=is%3Aissue+is%3Aclosed
|
@@ -346,8 +471,6 @@ And then execute:
|
|
346
471
|
[🚎32-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/current.yml/badge.svg
|
347
472
|
[🖐32-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml
|
348
473
|
[🖐32-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml/badge.svg
|
349
|
-
[🧮32-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml
|
350
|
-
[🧮32-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml/badge.svg
|
351
474
|
[📗32-io]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
|
352
475
|
[📗32-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_2
|
353
476
|
[🚀32-ic]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues?q=is%3Aissue+is%3Aclosed
|
@@ -359,60 +482,33 @@ And then execute:
|
|
359
482
|
[⛳️32-g]: https://rubygems.org/gems/rubocop-ruby3_2
|
360
483
|
[⛳️32-gh]: https://github.com/rubocop-lts/rubocop-ruby3_2
|
361
484
|
|
485
|
+
[aboutme]: https://about.me/peter.boling
|
486
|
+
[actions]: https://github.com/rubocop-lts/rubocop-lts/actions
|
487
|
+
[angelme]: https://angel.co/peter-boling
|
488
|
+
[blogpage]: http://www.railsbling.com/tags/rubocop-lts/
|
489
|
+
[codecov_coverage]: https://codecov.io/gh/rubocop-lts/rubocop-lts
|
490
|
+
[code_triage]: https://www.codetriage.com/rubocop-lts/rubocop-lts
|
491
|
+
[chat]: https://gitter.im/rubocop-lts/rubocop-lts?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
492
|
+
[climate_coverage]: https://codeclimate.com/github/rubocop-lts/rubocop-lts/test_coverage
|
493
|
+
[climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-lts/maintainability
|
362
494
|
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
363
|
-
|
495
|
+
[conduct]: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/main/CODE_OF_CONDUCT.md
|
496
|
+
[contributing]: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/main/CONTRIBUTING.md
|
497
|
+
[devto]: https://dev.to/galtzo
|
498
|
+
[documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
|
499
|
+
[followme]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
|
364
500
|
[gh_discussions]: https://github.com/rubocop-lts/rubocop-lts/discussions
|
365
|
-
|
366
|
-
[
|
367
|
-
|
368
|
-
[
|
369
|
-
|
370
|
-
[security]: https://github.com/rubocop-lts/rubocop-lts/blob/main/SECURITY.md
|
371
|
-
|
372
|
-
[license]: https://github.com/rubocop-lts/rubocop-lts/blob/main/LICENSE.txt
|
373
|
-
|
501
|
+
[gh_sponsors]: https://github.com/sponsors/pboling
|
502
|
+
[issues]: https://github.com/rubocop-lts/rubocop-lts/issues
|
503
|
+
[liberapay_donate]: https://liberapay.com/pboling/donate
|
504
|
+
[license]: LICENSE.txt
|
374
505
|
[license-ref]: https://opensource.org/licenses/MIT
|
375
|
-
|
376
|
-
[
|
377
|
-
|
506
|
+
[license-img]: https://img.shields.io/badge/License-MIT-green.svg
|
507
|
+
[peterboling]: http://www.peterboling.com
|
378
508
|
[pvc]: http://guides.rubygems.org/patterns/#pessimistic-version-constraint
|
379
|
-
|
380
509
|
[railsbling]: http://www.railsbling.com
|
381
|
-
|
382
|
-
[peterboling]: http://www.peterboling.com
|
383
|
-
|
384
|
-
[aboutme]: https://about.me/peter.boling
|
385
|
-
|
386
|
-
[angelme]: https://angel.co/peter-boling
|
387
|
-
|
388
|
-
[coderme]:http://coderwall.com/pboling
|
389
|
-
|
390
|
-
[followme-img]: https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow
|
391
|
-
|
392
|
-
[tweetme]: http://twitter.com/galtzo
|
393
|
-
|
394
|
-
[politicme]: https://nationalprogressiveparty.org
|
395
|
-
|
396
|
-
[documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
|
397
|
-
|
398
|
-
[source]: https://github.com/rubocop-lts/rubocop-lts/
|
399
|
-
|
400
|
-
[actions]: https://github.com/rubocop-lts/rubocop-lts/actions
|
401
|
-
|
402
|
-
[issues]: https://github.com/rubocop-lts/rubocop-lts/issues
|
403
|
-
|
404
|
-
[climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-lts/maintainability
|
405
|
-
|
406
|
-
[code_triage]: https://www.codetriage.com/rubocop-lts/rubocop-lts
|
407
|
-
|
408
|
-
[blogpage]: http://www.railsbling.com/tags/rubocop-lts/
|
409
|
-
|
410
510
|
[rubygems]: https://rubygems.org/gems/rubocop-lts
|
411
|
-
|
412
|
-
[
|
413
|
-
|
414
|
-
[
|
415
|
-
|
416
|
-
[liberapay_donate]: https://liberapay.com/pboling/donate
|
417
|
-
|
418
|
-
[gh_sponsors]: https://github.com/sponsors/pboling
|
511
|
+
[security]: https://github.com/rubocop-lts/rubocop-lts/blob/main/SECURITY.md
|
512
|
+
[semver]: http://semver.org/
|
513
|
+
[source]: https://github.com/rubocop-lts/rubocop-lts/
|
514
|
+
[tweetme]: http://twitter.com/galtzo
|
data/SECURITY.md
CHANGED
@@ -2,30 +2,37 @@
|
|
2
2
|
|
3
3
|
## Supported Versions
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
|
10
|
-
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
5
|
+
Major even versions are supported.
|
6
|
+
|
7
|
+
Major odd versions are not supported, and no further odd major releases are planned.
|
8
|
+
|
9
|
+
| Version | Supported |
|
10
|
+
|-----------|-----------|
|
11
|
+
| 0.latest | ✅ |
|
12
|
+
| 1.latest | ❌ |
|
13
|
+
| 2.latest | ✅ |
|
14
|
+
| 3.latest | ❌ |
|
15
|
+
| 4.latest | ✅ |
|
16
|
+
| 5.latest | ❌ |
|
17
|
+
| 6.latest | ✅ |
|
18
|
+
| 7.latest | ❌ |
|
19
|
+
| 8.latest | ✅ |
|
20
|
+
| 9.latest | ❌ |
|
21
|
+
| 10.latest | ✅ |
|
22
|
+
| 11.latest | ❌ |
|
23
|
+
| 12.latest | ✅ |
|
24
|
+
| 13.latest | ❌ |
|
25
|
+
| 14.latest | ✅ |
|
26
|
+
| 15.latest | ❌ |
|
27
|
+
| 16.latest | ✅ |
|
28
|
+
| 17.latest | ❌ |
|
29
|
+
| 18.latest | ✅ |
|
30
|
+
| 19.latest | ❌ |
|
31
|
+
| 20.latest | ✅ |
|
32
|
+
| 21.latest | ❌ |
|
33
|
+
| 22.latest | ✅ |
|
34
|
+
| 23.latest | ❌ |
|
35
|
+
| 24.latest | ✅ |
|
29
36
|
|
30
37
|
## Reporting a Vulnerability
|
31
38
|
|
data/config/base.yml
ADDED
data/config/rails.yml
ADDED
data/config/rspec.yml
ADDED
data/config/ruby.yml
ADDED
data/config/rubygem.yml
ADDED
data/lib/rubocop/lts/version.rb
CHANGED
data/lib/rubocop/lts.rb
CHANGED
@@ -1,11 +1,22 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
|
+
# external libs
|
5
|
+
require "version_gem"
|
6
|
+
require "rubocop/ruby1_9"
|
7
|
+
|
4
8
|
require_relative "lts/version"
|
5
9
|
|
6
10
|
module Rubocop
|
7
11
|
module Lts
|
8
12
|
class Error < StandardError; end
|
9
|
-
|
13
|
+
|
14
|
+
module_function def install_tasks
|
15
|
+
Rubocop::Ruby19.install_tasks
|
16
|
+
end
|
10
17
|
end
|
11
18
|
end
|
19
|
+
|
20
|
+
Rubocop::Lts::Version.class_eval do
|
21
|
+
extend VersionGem::Basic
|
22
|
+
end
|
data/rubocop-lts.yml
CHANGED
@@ -1,19 +1,15 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Change the file you inherit if you:
|
2
|
+
# * use Rails,
|
3
|
+
# * are creating a RubyGem, or
|
4
|
+
# * don't use RSpec
|
5
|
+
# As follows:
|
6
|
+
# inherit_gem:
|
7
|
+
# # Pick one:
|
8
|
+
# # rubocop-lts: config/rails_rspec.yml # or config/rails.yml w/o rspec
|
9
|
+
# # rubocop-lts: config/ruby_rspec.yml # or config/ruby.yml w/o rspec
|
10
|
+
# # rubocop-lts: config/rubygem_rspec.yml # or config/rubygem.yml w/o rspec
|
11
|
+
# # Convention over configuration, hence loading this file just only Ruby and RSpec defaults:
|
12
|
+
# rubocop-lts: rubocop-lts.yml # for the ruby + rspec
|
3
13
|
|
4
|
-
|
5
|
-
|
6
|
-
# See:
|
7
|
-
# * https://github.com/rubocop/rubocop/issues/7641
|
8
|
-
# * https://github.com/rubocop/rubocop/pull/7643
|
9
|
-
Style/BracesAroundHashParameters:
|
10
|
-
Enabled: true
|
11
|
-
EnforcedStyle: context_dependent
|
12
|
-
|
13
|
-
# The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
|
14
|
-
# Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
|
15
|
-
# See:
|
16
|
-
# * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
|
17
|
-
Style/Encoding:
|
18
|
-
Enabled: true
|
19
|
-
EnforcedStyle: always
|
14
|
+
inherit_from:
|
15
|
+
- config/ruby_rspec.yml
|
data/sig/rubocop/lts.rbs
CHANGED
data.tar.gz.sig
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
��P�"����d�O�3�]�3x�D�!�i��n��m��������jB�e,��k�7j���ma��R��q�6�����4��¤�]7{�r�VxF��4SH<��-/t3�Qh�)l�I��C����ҳC� ��`X�E�@ѕR��.u��7?���¥>�9>CN�F��^�������:�mw�����lC�BP�T�
|
metadata
CHANGED
@@ -1,30 +1,146 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
|
16
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
|
18
|
+
8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
|
19
|
+
0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
|
20
|
+
LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
|
21
|
+
O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
|
22
|
+
3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
|
23
|
+
emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
|
24
|
+
CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
|
25
|
+
srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
|
27
|
+
lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
28
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
29
|
+
ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
+
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
+
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
+
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
+
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
+
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
+
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
+
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
+
4/bR9A==
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rubocop-ruby1_9
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.0.4
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '3'
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.0.4
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: standard-rubocop-lts
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.0.3
|
68
|
+
- - "<"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '3'
|
71
|
+
type: :runtime
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.0.3
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '3'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: version_gem
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ">="
|
18
86
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
87
|
+
version: 1.1.2
|
88
|
+
- - "<"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '3'
|
20
91
|
type: :runtime
|
21
92
|
prerelease: false
|
22
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 1.1.2
|
98
|
+
- - "<"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '3'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rubocop-packaging
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0.5'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0.5'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: rubocop-rspec
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
23
118
|
requirements:
|
24
119
|
- - "~>"
|
25
120
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
|
121
|
+
version: '2.22'
|
122
|
+
type: :development
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '2.22'
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: rspec-block_is_expected
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - "~>"
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '1.0'
|
136
|
+
type: :development
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - "~>"
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '1.0'
|
143
|
+
description: Configure RuboCop + a bevy of friends to gradually lint Ruby code
|
28
144
|
email:
|
29
145
|
- peter.boling@gmail.com
|
30
146
|
executables: []
|
@@ -37,21 +153,29 @@ files:
|
|
37
153
|
- LICENSE.txt
|
38
154
|
- README.md
|
39
155
|
- SECURITY.md
|
156
|
+
- config/base.yml
|
157
|
+
- config/rails.yml
|
158
|
+
- config/rails_rspec.yml
|
159
|
+
- config/rspec.yml
|
160
|
+
- config/ruby.yml
|
161
|
+
- config/ruby_rspec.yml
|
162
|
+
- config/rubygem.yml
|
163
|
+
- config/rubygem_rspec.yml
|
40
164
|
- lib/rubocop/lts.rb
|
41
165
|
- lib/rubocop/lts/version.rb
|
42
166
|
- rubocop-lts.yml
|
43
|
-
- rubocop-lts1_8.yml
|
44
167
|
- sig/rubocop/lts.rbs
|
45
|
-
homepage: https://
|
168
|
+
homepage: https://gitlab.com/rubocop-lts/rubocop-lts
|
46
169
|
licenses:
|
47
170
|
- MIT
|
48
171
|
metadata:
|
49
|
-
homepage_uri: https://
|
50
|
-
source_code_uri: https://
|
51
|
-
changelog_uri: https://
|
52
|
-
bug_tracker_uri: https://
|
53
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.
|
54
|
-
wiki_uri: https://
|
172
|
+
homepage_uri: https://rubocop-lts.gitlab.io/
|
173
|
+
source_code_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/v2.1.1
|
174
|
+
changelog_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/v2.1.1/CHANGELOG.md
|
175
|
+
bug_tracker_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/issues
|
176
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.1.1
|
177
|
+
wiki_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/wiki
|
178
|
+
funding_uri: https://liberapay.com/pboling
|
55
179
|
rubygems_mfa_required: 'true'
|
56
180
|
post_install_message:
|
57
181
|
rdoc_options: []
|
@@ -61,18 +185,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
61
185
|
requirements:
|
62
186
|
- - ">="
|
63
187
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
65
|
-
- - "<"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '4.0'
|
188
|
+
version: '2.7'
|
68
189
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
190
|
requirements:
|
70
191
|
- - ">="
|
71
192
|
- !ruby/object:Gem::Version
|
72
193
|
version: '0'
|
73
194
|
requirements: []
|
74
|
-
rubygems_version: 3.
|
195
|
+
rubygems_version: 3.4.13
|
75
196
|
signing_key:
|
76
197
|
specification_version: 4
|
77
|
-
summary: Rubocop
|
198
|
+
summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
|
78
199
|
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|
data/rubocop-lts1_8.yml
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
inherit_gem:
|
2
|
-
rubocop-ruby1_9: rubocop-ruby1_8.yml
|
3
|
-
|
4
|
-
###################################################################
|
5
|
-
# Rules that allow preservation of ruby 1.8.7 / ree compatibility #
|
6
|
-
###################################################################
|
7
|
-
|
8
|
-
Style/Documentation:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
# Ruby 1.8.7 needs the . on chain of method calls at the end of a line
|
12
|
-
Style/DotPosition:
|
13
|
-
EnforcedStyle: trailing
|
14
|
-
|
15
|
-
Style/FrozenStringLiteralComment:
|
16
|
-
Enabled: true
|
17
|
-
|
18
|
-
# Ruby 1.8.7 doesn't have 1.9 style hash syntax
|
19
|
-
Style/HashSyntax:
|
20
|
-
EnforcedStyle: hash_rockets
|
21
|
-
|
22
|
-
# Ruby 1.8.7 doesn't have the -> lambda
|
23
|
-
Style/Lambda:
|
24
|
-
Enabled: false
|
25
|
-
|
26
|
-
Style/PercentLiteralDelimiters:
|
27
|
-
Enabled: false
|
28
|
-
|
29
|
-
Style/SymbolArray:
|
30
|
-
EnforcedStyle: brackets
|
31
|
-
|
32
|
-
Style/WordArray:
|
33
|
-
EnforcedStyle: brackets
|
34
|
-
|