rubocop-lts 4.0.3 → 4.1.0
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 +11 -80
- data/CONTRIBUTING.md +25 -11
- data/README.md +107 -77
- data/SECURITY.md +31 -24
- data/config/rails.yml +2 -0
- data/config/rails_rspec.yml +2 -0
- data/config/rspec.yml +2 -0
- data/config/ruby.yml +2 -0
- data/config/ruby_rspec.yml +2 -0
- data/config/rubygem.yml +2 -0
- data/config/rubygem_rspec.yml +2 -0
- data/lib/rubocop/lts/version.rb +3 -1
- data/lib/rubocop/lts.rb +7 -0
- data/rubocop-lts.yml +14 -10
- data/sig/rubocop/lts.rbs +4 -2
- data.tar.gz.sig +0 -0
- metadata +107 -20
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a4f3f0c5d700282f35dfc9660ad695c22aa150180c58862da371676bb661418
|
4
|
+
data.tar.gz: 9a6b9e0229786535e7402fb0db9309c3d329b4784da592d26ec1249cb25640ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72b7be632e7ba9753c623513d1eef32cd2c9879c3a30b1ff9907a7f5b7a8d4d24e1b67a3e07ebb473405ded2359220199cd92c2126fe209514de4178cc300f8a
|
7
|
+
data.tar.gz: 247bf07c44e13639ae42764fc348f6dd8949f75dc90429ff8e07d3a4384dd86572e5c35fb0d8f6e5f4c19f5c1f74a6c5d440e7b5f708680d92fcd67d537ca0f3
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,111 +6,42 @@ 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
|
+
## [4.1.0] - 2023-05-22
|
14
14
|
### Removed
|
15
|
+
- Support for installs on Ruby < 2.7. Minimum runtime version is Ruby 2.7. Continues to analyze older Ruby.
|
15
16
|
|
16
17
|
## [4.0.3] - 2022-06-08
|
17
18
|
### Added
|
18
19
|
- Improve, and dry up documentation
|
19
|
-
|
20
20
|
### Fixed
|
21
21
|
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
22
22
|
|
23
|
-
## [4.0.
|
24
|
-
### Fixed
|
25
|
-
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
26
|
-
|
27
|
-
## [4.0.1] - 2022-05-23
|
28
|
-
### Fixed
|
29
|
-
- Ship rubocop config files in gem
|
30
|
-
- rubocop-lts.yml
|
31
|
-
|
32
|
-
## [4.0.0] - 2022-05-22
|
33
|
-
### Added
|
34
|
-
- Initial even release supporting Ruby >= 2.0
|
35
|
-
|
36
|
-
## [3.0.2] - 2022-05-23
|
37
|
-
### Fixed
|
38
|
-
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
39
|
-
|
40
|
-
## [3.0.1] - 2022-05-23
|
41
|
-
### Fixed
|
42
|
-
- Ship rubocop config files in gem
|
43
|
-
- rubocop-lts.yml
|
44
|
-
|
45
|
-
## [3.0.0] - 2022-05-22
|
46
|
-
### Added
|
47
|
-
- Initial odd release supporting Ruby ~> 2.0
|
48
|
-
|
49
|
-
## [2.0.5] - 2022-06-08
|
23
|
+
## [4.0.3] - 2022-06-08
|
50
24
|
### Added
|
51
25
|
- Improve, and dry up documentation
|
52
|
-
|
53
|
-
## [2.0.4] - 2022-06-08
|
54
26
|
### Fixed
|
55
27
|
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
56
28
|
|
57
|
-
## [
|
58
|
-
### Fixed
|
59
|
-
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
60
|
-
|
61
|
-
## [2.0.2] - 2022-05-23
|
62
|
-
### Fixed
|
63
|
-
- Ship rubocop config files in gem
|
64
|
-
- rubocop-lts.yml
|
65
|
-
- rubocop-lts1_8.yml
|
66
|
-
|
67
|
-
## [2.0.1] - 2022-05-22
|
68
|
-
### Fixed
|
69
|
-
- Documentation typos & gemspec URLs
|
70
|
-
|
71
|
-
## [2.0.0] - 2022-05-22
|
72
|
-
### Added
|
73
|
-
- Initial even release supporting Ruby >= 1.9
|
74
|
-
|
75
|
-
## [1.0.4] - 2022-06-08
|
76
|
-
### Added
|
77
|
-
- Security Policy @ SECURITY.md
|
78
|
-
- Improve, and dry up documentation
|
79
|
-
|
80
|
-
## [1.0.3] - 2022-05-23
|
29
|
+
## [4.0.2] - 2022-05-23
|
81
30
|
### Fixed
|
82
31
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
83
32
|
|
84
|
-
## [
|
33
|
+
## [4.0.1] - 2022-05-23
|
85
34
|
### Fixed
|
86
35
|
- Ship rubocop config files in gem
|
87
36
|
- rubocop-lts.yml
|
88
|
-
- rubocop-lts1_8.yml
|
89
|
-
|
90
|
-
## [1.0.1] - 2022-05-22
|
91
|
-
### Fixed
|
92
|
-
- Documentation typos & gemspec URLs
|
93
37
|
|
94
|
-
## [
|
38
|
+
## [4.0.0] - 2022-05-22
|
95
39
|
### Added
|
96
|
-
- Initial
|
40
|
+
- Initial even release supporting Ruby >= 2.0
|
97
41
|
|
98
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0
|
42
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.1.0...HEAD
|
43
|
+
[4.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.3...v4.1.0
|
99
44
|
[4.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v4.0.3
|
100
45
|
[4.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.1...v4.0.2
|
101
46
|
[4.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.0...v4.0.1
|
102
|
-
[4.0.0]: https://
|
103
|
-
[3.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.1...v3.0.2
|
104
|
-
[3.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.0...v3.0.1
|
105
|
-
[3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...v3.0.0
|
106
|
-
[2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
|
107
|
-
[2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
|
108
|
-
[2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
|
109
|
-
[2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
|
110
|
-
[2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
|
111
|
-
[2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.4...v2.0.0
|
112
|
-
[1.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v1.0.4
|
113
|
-
[1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
|
114
|
-
[1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
|
115
|
-
[1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
|
116
|
-
[1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
|
47
|
+
[4.0.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tags/v4.0.0
|
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
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
@@ -20,84 +20,125 @@
|
|
20
20
|
|
21
21
|
## PROJECT DOCUMENTATION
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|⊕© [Copyright](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#©-copyright)
|
38
|
-
|🤝 [Code of Conduct](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#🤝-code-of-conduct)
|
39
|
-
|📌 [Versioning](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#📌-versioning)
|
23
|
+
* 🌱 [Why Build This?][Why-Build-This]
|
24
|
+
* 🌱 [Convention > Configuration][Convention-Over-Configuration]
|
25
|
+
* 🌱 [Even Releases][Even-Major-Release] (use these!)
|
26
|
+
* 🌱 [Odd Releases][Odd-Major-Release] (deprecated)
|
27
|
+
* 🌱 [How to Upgrade Ruby (1.8 to 3.2)!][How-To-Upgrade-Ruby]
|
28
|
+
* 👩💻 [Org Health][OrgHealth]
|
29
|
+
* 🔧 [Usage][Usage]
|
30
|
+
* 🧮 [Development][Development]
|
31
|
+
* ⚡️ [Contributing][Contributing]
|
32
|
+
* 🌈 [Contributors][Contributors]
|
33
|
+
* 📄 [License][License]
|
34
|
+
* © [Copyright][Copyright]
|
35
|
+
* 🤝 [Code of Conduct][Code of Conduct]
|
36
|
+
* 📌 [Versioning][Versioning]
|
40
37
|
|
41
38
|
[Why-Build-This]: https://github.com/rubocop-lts/.github/blob/main/profile/WHY_BUILD_THIS.md
|
42
39
|
[Convention-Over-Configuration]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md
|
43
40
|
[Even-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#even-major-release
|
44
41
|
[Odd-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#odd-major-release
|
45
42
|
[How-To-Upgrade-Ruby]: https://github.com/rubocop-lts/.github/blob/main/profile/HOW_TO_UPGRADE_RUBY.md
|
43
|
+
[OrgHealth]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#org-health-
|
44
|
+
[Usage]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#usage-
|
45
|
+
[Development]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#development-
|
46
|
+
[Contributing]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#contributing-
|
47
|
+
[Contributors]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#contributors-
|
48
|
+
[License]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#license-
|
49
|
+
[Copyright]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#copyright-
|
50
|
+
[Code of Conduct]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#code-of-conduct-
|
51
|
+
[Versioning]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#versioning-
|
46
52
|
|
47
|
-
##
|
53
|
+
## This README
|
54
|
+
|
55
|
+
* 🌳 [This Branch](#this-branch-)
|
56
|
+
* 💻 [Project Health](#project-health-)
|
57
|
+
* ✨ [Installation](#installation-)
|
58
|
+
|
59
|
+
## This Branch 🌳
|
48
60
|
|
49
61
|
<!-- FIND VERSION -->
|
50
|
-
**This README is for the even release of `rubocop-lts` supporting Ruby >= 2.0
|
62
|
+
**This README is for the even release of `rubocop-lts` supporting Ruby >= 2.0.**
|
51
63
|
|
52
|
-
|
64
|
+
This gem configures many gems for you:
|
53
65
|
|
54
|
-
|
66
|
+
- rubocop
|
67
|
+
- rubocop-gradual
|
68
|
+
- rubocop-md
|
69
|
+
- rubocop-rake
|
70
|
+
- rubocop-shopify
|
71
|
+
- rubocop-thread_safety
|
72
|
+
- standard
|
73
|
+
- standard-performance (incl. rubocop-performance)
|
74
|
+
- standard-custom
|
75
|
+
- standard-rubocop-lts (ruby version-specific rules)
|
55
76
|
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
77
|
+
And optionally, if you are using RSpec:
|
78
|
+
|
79
|
+
- rubocop-rspec
|
80
|
+
|
81
|
+
And optionally, if you are building a RubyGem:
|
82
|
+
|
83
|
+
- rubocop-packaging
|
84
|
+
|
85
|
+
And optionally, if you are building a Rails app:
|
61
86
|
|
62
|
-
|
87
|
+
- standard-rails (incl. rubocop-rails)
|
88
|
+
- betterlint
|
63
89
|
|
64
|
-
|
90
|
+
## Project Health 👩💻
|
65
91
|
|
66
|
-
|
92
|
+
| Gem Name | Version | Downloads | CI | Activity |
|
93
|
+
|------------------------------|-------------------------------------|----------------------------------------------------------------------|-----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
94
|
+
| [`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] |
|
95
|
+
| [`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] |
|
96
|
+
| [`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] |
|
97
|
+
| [`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] |
|
98
|
+
| [`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] |
|
99
|
+
| [`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] |
|
100
|
+
| [`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] |
|
101
|
+
| [`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] |
|
102
|
+
| [`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] |
|
103
|
+
| [`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] |
|
104
|
+
| [`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] |
|
105
|
+
| [`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] |
|
106
|
+
| [`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] |
|
107
|
+
| [`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] |
|
67
108
|
|
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] |
|
109
|
+
## Installation ✨
|
83
110
|
|
84
|
-
|
111
|
+
Install the gem and add to the application's Gemfile by executing:
|
85
112
|
|
86
|
-
|
113
|
+
$ bundle add rubocop-lts -r false
|
87
114
|
|
88
|
-
|
115
|
+
NOTE: If you are using **Rails** remove the `-r false`,
|
116
|
+
so the Railtie will load and rake tasks will be loaded automatically.
|
89
117
|
|
90
|
-
|
118
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
119
|
+
|
120
|
+
$ gem install rubocop-lts
|
121
|
+
|
122
|
+
Or add this line to your application's Gemfile:
|
91
123
|
|
92
124
|
<!-- FIND VERSION -->
|
93
125
|
```ruby
|
94
|
-
gem
|
126
|
+
gem "rubocop-lts", "~> 4.1", require: false
|
95
127
|
```
|
96
128
|
|
97
129
|
And then execute:
|
98
130
|
|
99
131
|
$ bundle
|
100
132
|
|
133
|
+
### Dependabot Noise Reduction
|
134
|
+
|
135
|
+
Add the following to `.github/dependabot.yml` if you use Github Actions.
|
136
|
+
|
137
|
+
```yaml
|
138
|
+
ignore:
|
139
|
+
- dependency-name: "rubocop-lts"
|
140
|
+
```
|
141
|
+
|
101
142
|
<!-- columnar badge #s for Project Health table:
|
102
143
|
⛳️
|
103
144
|
🖇
|
@@ -118,8 +159,6 @@ And then execute:
|
|
118
159
|
[🚎lts-cwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
|
119
160
|
[🖐lts-hwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
|
120
161
|
[🖐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
162
|
[📗lts-io]: https://github.com/rubocop-lts/rubocop-lts/issues
|
124
163
|
[📗lts-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-lts
|
125
164
|
[🚀lts-ic]: https://github.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
|
@@ -130,6 +169,23 @@ And then execute:
|
|
130
169
|
[👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
|
131
170
|
[⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
|
132
171
|
[⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
|
172
|
+
[⛳️18-vi]: http://img.shields.io/gem/v/rubocop-ruby1_8.svg
|
173
|
+
[🖇️18-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_8.svg
|
174
|
+
[🏘️18-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_8.svg
|
175
|
+
[🚎18-cwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml
|
176
|
+
[🚎18-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml/badge.svg
|
177
|
+
[🖐18-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml
|
178
|
+
[🖐18-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml/badge.svg
|
179
|
+
[📗18-io]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues
|
180
|
+
[📗18-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_8
|
181
|
+
[🚀18-ic]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues?q=is%3Aissue+is%3Aclosed
|
182
|
+
[🚀18-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby1_8
|
183
|
+
[💄18-po]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls
|
184
|
+
[💄18-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby1_8
|
185
|
+
[👽18-pc]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls?q=is%3Apr+is%3Aclosed
|
186
|
+
[👽18-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby1_8
|
187
|
+
[⛳️18-g]: https://rubygems.org/gems/rubocop-ruby1_8
|
188
|
+
[⛳️18-gh]: https://github.com/rubocop-lts/rubocop-ruby1_8
|
133
189
|
[⛳️19-vi]: http://img.shields.io/gem/v/rubocop-ruby1_9.svg
|
134
190
|
[🖇️19-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_9.svg
|
135
191
|
[🏘️19-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_9.svg
|
@@ -137,8 +193,6 @@ And then execute:
|
|
137
193
|
[🚎19-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/current.yml/badge.svg
|
138
194
|
[🖐19-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml
|
139
195
|
[🖐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
196
|
[📗19-io]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
|
143
197
|
[📗19-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_9
|
144
198
|
[🚀19-ic]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues?q=is%3Aissue+is%3Aclosed
|
@@ -156,8 +210,6 @@ And then execute:
|
|
156
210
|
[🚎20-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/current.yml/badge.svg
|
157
211
|
[🖐20-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml
|
158
212
|
[🖐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
213
|
[📗20-io]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
|
162
214
|
[📗20-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_0
|
163
215
|
[🚀20-ic]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues?q=is%3Aissue+is%3Aclosed
|
@@ -175,8 +227,6 @@ And then execute:
|
|
175
227
|
[🚎21-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/current.yml/badge.svg
|
176
228
|
[🖐21-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml
|
177
229
|
[🖐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
230
|
[📗21-io]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
|
181
231
|
[📗21-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_1
|
182
232
|
[🚀21-ic]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues?q=is%3Aissue+is%3Aclosed
|
@@ -194,8 +244,6 @@ And then execute:
|
|
194
244
|
[🚎22-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/current.yml/badge.svg
|
195
245
|
[🖐22-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml
|
196
246
|
[🖐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
247
|
[📗22-io]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
|
200
248
|
[📗22-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_2
|
201
249
|
[🚀22-ic]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues?q=is%3Aissue+is%3Aclosed
|
@@ -213,8 +261,6 @@ And then execute:
|
|
213
261
|
[🚎23-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/current.yml/badge.svg
|
214
262
|
[🖐23-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml
|
215
263
|
[🖐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
264
|
[📗23-io]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
|
219
265
|
[📗23-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_3
|
220
266
|
[🚀23-ic]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues?q=is%3Aissue+is%3Aclosed
|
@@ -232,8 +278,6 @@ And then execute:
|
|
232
278
|
[🚎24-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/current.yml/badge.svg
|
233
279
|
[🖐24-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml
|
234
280
|
[🖐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
281
|
[📗24-io]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues
|
238
282
|
[📗24-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_4
|
239
283
|
[🚀24-ic]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues?q=is%3Aissue+is%3Aclosed
|
@@ -251,8 +295,6 @@ And then execute:
|
|
251
295
|
[🚎25-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/current.yml/badge.svg
|
252
296
|
[🖐25-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml
|
253
297
|
[🖐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
298
|
[📗25-io]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
|
257
299
|
[📗25-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_5
|
258
300
|
[🚀25-ic]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues?q=is%3Aissue+is%3Aclosed
|
@@ -270,8 +312,6 @@ And then execute:
|
|
270
312
|
[🚎26-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml/badge.svg
|
271
313
|
[🖐26-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml
|
272
314
|
[🖐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
315
|
[📗26-io]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
|
276
316
|
[📗26-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_6
|
277
317
|
[🚀26-ic]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues?q=is%3Aissue+is%3Aclosed
|
@@ -289,8 +329,6 @@ And then execute:
|
|
289
329
|
[🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
|
290
330
|
[🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
|
291
331
|
[🖐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
332
|
[📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
|
295
333
|
[📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
|
296
334
|
[🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
|
@@ -308,8 +346,6 @@ And then execute:
|
|
308
346
|
[🚎30-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml/badge.svg
|
309
347
|
[🖐30-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml
|
310
348
|
[🖐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
349
|
[📗30-io]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
|
314
350
|
[📗30-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_0
|
315
351
|
[🚀30-ic]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues?q=is%3Aissue+is%3Aclosed
|
@@ -327,8 +363,6 @@ And then execute:
|
|
327
363
|
[🚎31-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
|
328
364
|
[🖐31-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
|
329
365
|
[🖐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
366
|
[📗31-io]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
|
333
367
|
[📗31-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_1
|
334
368
|
[🚀31-ic]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues?q=is%3Aissue+is%3Aclosed
|
@@ -346,8 +380,6 @@ And then execute:
|
|
346
380
|
[🚎32-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/current.yml/badge.svg
|
347
381
|
[🖐32-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml
|
348
382
|
[🖐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
383
|
[📗32-io]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
|
352
384
|
[📗32-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_2
|
353
385
|
[🚀32-ic]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues?q=is%3Aissue+is%3Aclosed
|
@@ -391,8 +423,6 @@ And then execute:
|
|
391
423
|
|
392
424
|
[tweetme]: http://twitter.com/galtzo
|
393
425
|
|
394
|
-
[politicme]: https://nationalprogressiveparty.org
|
395
|
-
|
396
426
|
[documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
|
397
427
|
|
398
428
|
[source]: https://github.com/rubocop-lts/rubocop-lts/
|
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/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,5 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
# external libs
|
4
|
+
require "version_gem"
|
5
|
+
|
3
6
|
require_relative "lts/version"
|
4
7
|
|
5
8
|
module Rubocop
|
@@ -8,3 +11,7 @@ module Rubocop
|
|
8
11
|
# Your code goes here...
|
9
12
|
end
|
10
13
|
end
|
14
|
+
|
15
|
+
Rubocop::Lts::Version.class_eval do
|
16
|
+
extend VersionGem::Basic
|
17
|
+
end
|
data/rubocop-lts.yml
CHANGED
@@ -1,11 +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
|
14
|
+
inherit_from:
|
15
|
+
- config/ruby_rspec.yml
|
data/sig/rubocop/lts.rbs
CHANGED
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,30 +1,112 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0
|
4
|
+
version: 4.1.0
|
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-22 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rubocop-ruby2_0
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
16
44
|
requirements:
|
17
|
-
- - "
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.0.3
|
48
|
+
- - "<"
|
18
49
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
50
|
+
version: '3'
|
20
51
|
type: :runtime
|
21
52
|
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.0.3
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '3'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: version_gem
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 1.1.2
|
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.1.2
|
78
|
+
- - "<"
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '3'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: rubocop-packaging
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - "~>"
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0.5'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
22
90
|
version_requirements: !ruby/object:Gem::Requirement
|
23
91
|
requirements:
|
24
92
|
- - "~>"
|
25
93
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
27
|
-
|
94
|
+
version: '0.5'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: rubocop-rspec
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '2.22'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - "~>"
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '2.22'
|
109
|
+
description: Configure RuboCop + a bevy of friends to gradually lint Ruby code
|
28
110
|
email:
|
29
111
|
- peter.boling@gmail.com
|
30
112
|
executables: []
|
@@ -37,20 +119,28 @@ files:
|
|
37
119
|
- LICENSE.txt
|
38
120
|
- README.md
|
39
121
|
- SECURITY.md
|
122
|
+
- config/rails.yml
|
123
|
+
- config/rails_rspec.yml
|
124
|
+
- config/rspec.yml
|
125
|
+
- config/ruby.yml
|
126
|
+
- config/ruby_rspec.yml
|
127
|
+
- config/rubygem.yml
|
128
|
+
- config/rubygem_rspec.yml
|
40
129
|
- lib/rubocop/lts.rb
|
41
130
|
- lib/rubocop/lts/version.rb
|
42
131
|
- rubocop-lts.yml
|
43
132
|
- sig/rubocop/lts.rbs
|
44
|
-
homepage: https://
|
133
|
+
homepage: https://gitlab.com/rubocop-lts/rubocop-lts
|
45
134
|
licenses:
|
46
135
|
- MIT
|
47
136
|
metadata:
|
48
|
-
homepage_uri: https://
|
49
|
-
source_code_uri: https://
|
50
|
-
changelog_uri: https://
|
51
|
-
bug_tracker_uri: https://
|
52
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/4.0
|
53
|
-
wiki_uri: https://
|
137
|
+
homepage_uri: https://gitlab.com/rubocop-lts/rubocop-lts
|
138
|
+
source_code_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/v4.1.0
|
139
|
+
changelog_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/v4.1.0/CHANGELOG.md
|
140
|
+
bug_tracker_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/issues
|
141
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/4.1.0
|
142
|
+
wiki_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/wiki
|
143
|
+
funding_uri: https://liberapay.com/pboling
|
54
144
|
rubygems_mfa_required: 'true'
|
55
145
|
post_install_message:
|
56
146
|
rdoc_options: []
|
@@ -60,18 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
60
150
|
requirements:
|
61
151
|
- - ">="
|
62
152
|
- !ruby/object:Gem::Version
|
63
|
-
version: 2.
|
64
|
-
- - "<"
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: '4.0'
|
153
|
+
version: '2.7'
|
67
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
155
|
requirements:
|
69
156
|
- - ">="
|
70
157
|
- !ruby/object:Gem::Version
|
71
158
|
version: '0'
|
72
159
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
160
|
+
rubygems_version: 3.4.13
|
74
161
|
signing_key:
|
75
162
|
specification_version: 4
|
76
|
-
summary: Rubocop
|
163
|
+
summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
|
77
164
|
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|