rubocop-lts 20.0.1 → 20.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 +28 -5
- data/CONTRIBUTING.md +24 -11
- data/README.md +63 -294
- data/SECURITY.md +24 -24
- data/lib/rubocop/lts/version.rb +1 -1
- data.tar.gz.sig +2 -0
- metadata +38 -9
- 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: b31f4aed3441e01324994f684a4ffc23bb94efeb1f2fb09b3821d44f24be3a84
|
4
|
+
data.tar.gz: 5f2e5ce39dd5fd399aa7234389f0de2e3066547977921c62b7f20b6753e7ab01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80c180e99cf0da6cb9c2f606cf12fb6d2c2255b3faf6e36ecb1637b9e453e7e46cfae89f94063f08483cbc27db678e529f73d8a28b4576794f88a6608398b668
|
7
|
+
data.tar.gz: a2b325603620d55c005db1b13b736fb06c292b2ad327b6fe031ed1c51dda35528e87f66bc9faa599adda50634cb4a5cb65f4fa96822e7d503c0e98bc87df6ed9
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,13 +6,22 @@ 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
|
13
|
-
|
14
11
|
### Removed
|
15
12
|
|
13
|
+
## [20.1.0] - 2023-03-17
|
14
|
+
### Added
|
15
|
+
- Certificate for signing gem releases
|
16
|
+
- Gemspec metadata
|
17
|
+
- funding_uri
|
18
|
+
- SHA256 and SHA512 Checksums for release
|
19
|
+
### Changed
|
20
|
+
- Bumped dependency rubocop-ruby3_0 to ~> 1.1.2
|
21
|
+
- Allows rubocop ~> 1.48.1
|
22
|
+
- Compatible with rubocop-packaging ~> 0.5.2
|
23
|
+
- Gem releases are now cryptographically signed
|
24
|
+
|
16
25
|
## [20.0.1] - 2022-06-09
|
17
26
|
### Added
|
18
27
|
- Improve, and dry up documentation
|
@@ -25,6 +34,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
25
34
|
### Added
|
26
35
|
- Initial even release supporting Ruby >= 3.0
|
27
36
|
|
37
|
+
## [19.1.0] - 2023-03-17
|
38
|
+
### Added
|
39
|
+
- Certificate for signing gem releases
|
40
|
+
- Gemspec metadata
|
41
|
+
- funding_uri
|
42
|
+
- SHA256 and SHA512 Checksums for release
|
43
|
+
### Changed
|
44
|
+
- Bumped dependency rubocop-ruby3_0 to ~> 1.1.2
|
45
|
+
- Allows rubocop ~> 1.48.1
|
46
|
+
- Compatible with rubocop-packaging ~> 0.5.2
|
47
|
+
- Gem releases are now cryptographically signed
|
48
|
+
|
28
49
|
## [19.0.1] - 2022-06-09
|
29
50
|
### Added
|
30
51
|
- Improve, and dry up documentation
|
@@ -261,9 +282,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
261
282
|
### Added
|
262
283
|
- Initial odd release supporting Ruby ~> 1.9
|
263
284
|
|
264
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v20.0
|
285
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v20.1.0...HEAD
|
286
|
+
[20.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v20.0.1...v20.1.0
|
265
287
|
[20.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v20.0.0...v20.0.1
|
266
|
-
[20.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v19.0
|
288
|
+
[20.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v19.1.0...v20.0.0
|
289
|
+
[19.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v19.0.1...v19.1.0
|
267
290
|
[19.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v19.0.0...v19.0.1
|
268
291
|
[19.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v18.0.1...v19.0.0
|
269
292
|
[18.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v18.0.0...v18.0.1
|
data/CONTRIBUTING.md
CHANGED
@@ -1,25 +1,38 @@
|
|
1
1
|
## Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-lts][
|
3
|
+
Bug reports and pull requests are welcome on GitHub at [https://github.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 `bundle exec rake build:checksum`
|
17
|
+
4. move the built gem to project root
|
18
|
+
5. run `bin/checksum` to create the missing SHA256 checksum
|
19
|
+
6. move the built gem back to `pkg/`
|
20
|
+
7. commit the changes
|
21
|
+
8. 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
22
|
|
17
|
-
|
23
|
+
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
24
|
+
`gemspec`, in order to sign the new release.
|
25
|
+
See: [RubyGems Security Guide][rubygems-security-guide]
|
18
26
|
|
19
|
-
|
27
|
+
## Contributors
|
20
28
|
|
21
|
-
|
29
|
+
See: [https://gitlab.com/rubocop-lts/rubocop-lts/-/graphs/main][🖐contributors]
|
22
30
|
|
23
31
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
24
32
|
|
25
|
-
[
|
33
|
+
[conduct]: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/main/CODE_OF_CONDUCT.md
|
34
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-lts/-/graphs/main
|
35
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/main
|
36
|
+
[🏘chat]: https://gitter.im/rubocop-lts/community
|
37
|
+
[rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
38
|
+
[rubygems]: https://rubygems.org
|
data/README.md
CHANGED
@@ -18,321 +18,92 @@
|
|
18
18
|
|
19
19
|
# RuboCop LTS
|
20
20
|
|
21
|
-
##
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
21
|
+
## PROJECT DOCUMENTATION
|
22
|
+
|
23
|
+
* 🌱 [Why Build This?][Why-Build-This]
|
24
|
+
* 🌱 [Convention > Configuration][Convention-Over-Configuration]
|
25
|
+
* 🌱 [Even Releases][Even-Major-Release]
|
26
|
+
* 🌱 [Odd Releases][Odd-Major-Release]
|
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]
|
37
|
+
|
38
|
+
[Why-Build-This]: https://github.com/rubocop-lts/.github/blob/main/profile/WHY_BUILD_THIS.md
|
39
|
+
[Convention-Over-Configuration]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md
|
40
|
+
[Even-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#even-major-release
|
41
|
+
[Odd-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#odd-major-release
|
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-
|
52
|
+
|
53
|
+
## This README
|
54
|
+
|
55
|
+
* 🌳 [This Branch](#this-branch-)
|
56
|
+
* 💻 [Project Health](#project-health-)
|
57
|
+
* ✨ [Installation](#installation-)
|
58
|
+
|
59
|
+
## This Branch 🌳
|
36
60
|
|
37
61
|
<!-- FIND VERSION -->
|
38
62
|
**This README is for the even release of `rubocop-lts` supporting Ruby >= 3.0.0.**
|
39
63
|
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
Intended for applications and libraries that only lint against a single Ruby version.
|
59
|
-
|
60
|
-
Odd versions should be attached to a project's trunk (e.g. the main branch), for long-term stability (ahem, _lts_, anyone?) of the style rules.
|
61
|
-
|
62
|
-
| Your Ruby | Your Gemfile | Your Gemfile.lock | Your .rubocop.yml |
|
63
|
-
|-----------------------------------|--------------------------------|-------------------|------------------------------------------------|
|
64
|
-
| `1.9.x` (`['>= 1.9.0', '< 2']`) | `gem "rubocop-lts", "~> 1.0"` | `rubocop-ruby1_9` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
65
|
-
| `2.0.x` (`['>= 2.0.0', '< 2.1']`) | `gem "rubocop-lts", "~> 3.0"` | `rubocop-ruby2_0` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
66
|
-
| `2.1.x` (`['>= 2.1.0', '< 2.2']`) | `gem "rubocop-lts", "~> 5.0"` | `rubocop-ruby2_1` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
67
|
-
| `2.2.x` (`['>= 2.2.0', '< 2.3']`) | `gem "rubocop-lts", "~> 7.0"` | `rubocop-ruby2_2` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
68
|
-
| `2.3.x` (`['>= 2.3.0', '< 2.4']`) | `gem "rubocop-lts", "~> 9.0"` | `rubocop-ruby2_3` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
69
|
-
| `2.4.x` (`['>= 2.4.0', '< 2.5']`) | `gem "rubocop-lts", "~> 11.0"` | `rubocop-ruby2_4` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
70
|
-
| `2.5.x` (`['>= 2.5.0', '< 2.6']`) | `gem "rubocop-lts", "~> 13.0"` | `rubocop-ruby2_5` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
71
|
-
| `2.6.x` (`['>= 2.6.0', '< 2.7']`) | `gem "rubocop-lts", "~> 15.0"` | `rubocop-ruby2_6` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
72
|
-
| `2.7.x` (`['>= 2.7.0', '< 3.0']`) | `gem "rubocop-lts", "~> 17.0"` | `rubocop-ruby2_7` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
73
|
-
| `3.0.x` (`['>= 3.0.0', '< 3.1']`) | `gem "rubocop-lts", "~> 19.0"` | `rubocop-ruby3_0` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
74
|
-
| `3.1.x` (`['>= 3.1.0', '< 3.2']`) | `gem "rubocop-lts", "~> 21.0"` | `rubocop-ruby3_1` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
75
|
-
| `3.2.x` / ruby-head | `gem "rubocop-lts", "~> 23.0"` | `rubocop-ruby3_2` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
76
|
-
|
77
|
-
### Even Major Release
|
78
|
-
|
79
|
-
Versions like:
|
80
|
-
```ruby
|
81
|
-
"2.0.0"
|
82
|
-
"4.0.0"
|
83
|
-
"6.0.0"
|
84
|
-
# ... etc
|
85
|
-
```
|
86
|
-
Locked to the forward range of Rubies on which the gem can be installed (though rubocop may not execute on all),
|
87
|
-
e.g. version 16.0 has a `required_ruby_version` of `['>= 2.6.0', '< 3.2']` will install on any released version
|
88
|
-
of ruby from `2.6` on.
|
89
|
-
|
90
|
-
#### Implementation
|
91
|
-
|
92
|
-
Intended for applications and libraries that lint against a range of Ruby versions.
|
93
|
-
|
94
|
-
Even versions will help projects upgrade to newer Rubies while keeping the same underlying version of RuboCop version, so change can be introduced one step at a time.
|
95
|
-
|
96
|
-
| Minimum Ruby | Your Gemfile | Your Gemfile.lock | Your .rubocop.yml |
|
97
|
-
|-----------------------------------|--------------------------------|-------------------|------------------------------------------------|
|
98
|
-
| `1.9.x` (`['>= 1.9.0', '< 3.2']`) | `gem "rubocop-lts", "~> 2.0"` | `rubocop-ruby1_9` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
99
|
-
| `2.0.x` (`['>= 2.0.0', '< 3.2']`) | `gem "rubocop-lts", "~> 4.0"` | `rubocop-ruby2_0` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
100
|
-
| `2.1.x` (`['>= 2.1.0', '< 3.2']`) | `gem "rubocop-lts", "~> 6.0"` | `rubocop-ruby2_1` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
101
|
-
| `2.2.x` (`['>= 2.2.0', '< 3.2']`) | `gem "rubocop-lts", "~> 8.0"` | `rubocop-ruby2_2` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
102
|
-
| `2.3.x` (`['>= 2.3.0', '< 3.2']`) | `gem "rubocop-lts", "~> 10.0"` | `rubocop-ruby2_3` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
103
|
-
| `2.4.x` (`['>= 2.4.0', '< 3.2']`) | `gem "rubocop-lts", "~> 12.0"` | `rubocop-ruby2_4` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
104
|
-
| `2.5.x` (`['>= 2.5.0', '< 3.2']`) | `gem "rubocop-lts", "~> 14.0"` | `rubocop-ruby2_5` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
105
|
-
| `2.6.x` (`['>= 2.6.0', '< 3.2']`) | `gem "rubocop-lts", "~> 16.0"` | `rubocop-ruby2_6` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
106
|
-
| `2.7.x` (`['>= 2.7.0', '< 3.2']`) | `gem "rubocop-lts", "~> 18.0"` | `rubocop-ruby2_7` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
107
|
-
| `3.0.x` (`['>= 3.0.0', '< 3.2']`) | `gem "rubocop-lts", "~> 20.0"` | `rubocop-ruby3_0` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
108
|
-
| `3.1.x` (`['>= 3.1.0', '< 3.2']`) | `gem "rubocop-lts", "~> 22.0"` | `rubocop-ruby3_1` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
109
|
-
| `3.2.x` / ruby-head | `gem "rubocop-lts", "~> 24.0"` | `rubocop-ruby3_2` | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
110
|
-
|
111
|
-
### All together now!
|
112
|
-
|
113
|
-
Upgrading a single step from odd to even will allow upgrading Ruby.
|
114
|
-
|
115
|
-
Upgrading a single step from even to odd will keep the same version of Ruby, and instead upgrade to the next RuboCop milestone.
|
116
|
-
|
117
|
-
Each major version will have a tracking branch named accordingly, [for development](https://github.com/rubocop-lts/rubocop-lts#git-branch-names).
|
118
|
-
|
119
|
-
### 🪢 How To Untie Gorgon's Knot
|
120
|
-
|
121
|
-
> NOTE: The ruby specific versions, e.g. `rubocop-ruby2_7`, can be used if you won't be upgrading ruby. Keep scrolling down for links to each of them.
|
122
|
-
|
123
|
-
How to upgrade a project from yesterday, to today.
|
124
|
-
|
125
|
-
1. Have good code coverage.
|
126
|
-
2. Upgrade one step at a time.
|
127
|
-
3. Re-run `bundle exec rubocop -a` in between each step.
|
128
|
-
4. Re-run `bundle exec rubocop --auto-gen-config` in between each step.
|
129
|
-
5. Commit and push to CI in between each step.
|
130
|
-
|
131
|
-
| Your Ruby | Your Gemfile | required_ruby_version | Your Gemfile.lock | Your .rubocop.yml |
|
132
|
-
|---------------|--------------------------------------|-------------------------|------------------------------|------------------------------------------------|
|
133
|
-
| `1.9.x` | `gem "rubocop-lts", "~> 1.0"` | `['>= 1.9.0', '< 2']` | [`rubocop-ruby1_9`][⛳️19-gh] | `inherit_gem:\n rubocop-lts: rubocop-lts.yml` |
|
134
|
-
| ⬆️ to `2.0.x` | ⬆️ to `gem "rubocop-lts", "~> 2.0"` | `['>= 1.9.0', '< 3.2']` | no change | no change |
|
135
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 3.0"` | `['>= 2.0.0', '< 2.1']` | [`rubocop-ruby2_0`][⛳️20-gh] | no change |
|
136
|
-
| ⬆️ to `2.1.x` | ⬆️ to `gem "rubocop-lts", "~> 4.0"` | `['>= 2.0.0', '< 3.2']` | no change | no change |
|
137
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 5.0"` | `['>= 2.1.0', '< 2.2']` | [`rubocop-ruby2_1`][⛳️21-gh] | no change |
|
138
|
-
| ⬆️ to `2.2.x` | ⬆️ to `gem "rubocop-lts", "~> 6.0"` | `['>= 2.1.0', '< 3.2']` | no change | no change |
|
139
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 7.0"` | `['>= 2.2.0', '< 2.3']` | [`rubocop-ruby2_2`][⛳️22-gh] | no change |
|
140
|
-
| ⬆️ to `2.3.x` | ⬆️ to `gem "rubocop-lts", "~> 8.0"` | `['>= 2.2.0', '< 3.2']` | no change | no change |
|
141
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 9.0"` | `['>= 2.3.0', '< 2.4']` | [`rubocop-ruby2_3`][⛳️23-gh] | no change |
|
142
|
-
| ⬆️ to `2.4.x` | ⬆️ to `gem "rubocop-lts", "~> 10.0"` | `['>= 2.3.0', '< 3.2']` | no change | no change |
|
143
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 11.0"` | `['>= 2.4.0', '< 2.5']` | [`rubocop-ruby2_4`][⛳️24-gh] | no change |
|
144
|
-
| ⬆️ to `2.5.x` | ⬆️ to `gem "rubocop-lts", "~> 12.0"` | `['>= 2.4.0', '< 3.2']` | no change | no change |
|
145
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 13.0"` | `['>= 2.5.0', '< 2.6']` | [`rubocop-ruby2_5`][⛳️25-gh] | no change |
|
146
|
-
| ⬆️ to `2.6.x` | ⬆️ to `gem "rubocop-lts", "~> 14.0"` | `['>= 2.5.0', '< 3.2']` | no change | no change |
|
147
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 15.0"` | `['>= 2.6.0', '< 2.7']` | [`rubocop-ruby2_6`][⛳️26-gh] | no change |
|
148
|
-
| ⬆️ to `2.7.x` | ⬆️ to `gem "rubocop-lts", "~> 16.0"` | `['>= 2.6.0', '< 3.2']` | no change | no change |
|
149
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 17.0"` | `['>= 2.7.0', '< 3.0']` | [`rubocop-ruby2_7`][⛳️27-gh] | no change |
|
150
|
-
| ⬆️ to `3.0.x` | ⬆️ to `gem "rubocop-lts", "~> 18.0"` | `['>= 2.7.0', '< 3.2']` | no change | no change |
|
151
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 19.0"` | `['>= 3.0.0', '< 3.1']` | [`rubocop-ruby3_0`][⛳️30-gh] | no change |
|
152
|
-
| ⬆️ to `3.1.x` | ⬆️ to `gem "rubocop-lts", "~> 20.0"` | `['>= 3.0.0', '< 3.2']` | no change | no change |
|
153
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 21.0"` | `['>= 3.1.0', '< 3.2']` | [`rubocop-ruby3_1`][⛳️31-gh] | no change |
|
154
|
-
| ⬆️ to `3.2.x` | ⬆️ to `gem "rubocop-lts", "~> 22.0"` | `['>= 3.1.0', '< 3.2']` | no change | no change |
|
155
|
-
| no change | ⬆️ to `gem "rubocop-lts", "~> 23.0"` | `['>= 3.2.0', '< 3.3']` | [`rubocop-ruby3_2`][⛳️32-gh] | no change |
|
156
|
-
| ⬆️ to `3.3.x` | ⬆️ to `gem "rubocop-lts", "~> 24.0"` | `['>= 3.2.0', '< 3.3']` | no change | no change |
|
157
|
-
|
158
|
-
> NOTE: `required_ruby_version` means the gem will install on a version of Ruby within the range.
|
159
|
-
> Versions of this gem intended for ancient Rubies may not execute on more modern Rubies, _despite installing_.
|
160
|
-
> As such you might consider limiting linting to only a single version of Ruby, the oldest one supported.
|
161
|
-
> Speaking of old rubies... 👇
|
162
|
-
|
163
|
-
### 📼 Supporting Ruby 1.8
|
164
|
-
|
165
|
-
Have a library still supporting Ruby 1.8.7, or looking to drop support for Ruby 1.8.7 in a SemVer-compliant manner?
|
166
|
-
|
167
|
-
Simply use `rubocop-lts`, version 1.x or 2.x, which support Ruby 1.9.3 for installation, and 1.8.7 for syntax.
|
168
|
-
```yaml
|
169
|
-
inherit_gem:
|
170
|
-
rubocop-lts: rubocop-lts1_8.yml
|
171
|
-
```
|
172
|
-
|
173
|
-
> NOTE: For more on how Ruby 1.8 support works, look [here][what1_8]
|
174
|
-
|
175
|
-
[what1_8]: https://github.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
|
176
|
-
|
177
|
-
## 👩💻 Project Health
|
178
|
-
|
179
|
-
| Gem Name | Version | Downloads | CI | Activity |
|
180
|
-
|------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
181
|
-
| [`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] |
|
182
|
-
| [`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] |
|
183
|
-
| [`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] |
|
184
|
-
| [`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] |
|
185
|
-
| [`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] |
|
186
|
-
| [`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] |
|
187
|
-
| [`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] |
|
188
|
-
| [`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] |
|
189
|
-
| [`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] |
|
190
|
-
| [`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] |
|
191
|
-
| [`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] |
|
192
|
-
| [`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] |
|
193
|
-
| [`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] |
|
194
|
-
|
195
|
-
## ✨ Installation
|
64
|
+
## Project Health 👩💻
|
65
|
+
|
66
|
+
| Gem Name | Version | Downloads | CI | Activity |
|
67
|
+
|------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
68
|
+
| [`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] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
|
69
|
+
| [`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] |
|
70
|
+
| [`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] |
|
71
|
+
| [`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] |
|
72
|
+
| [`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] |
|
73
|
+
| [`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] |
|
74
|
+
| [`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] |
|
75
|
+
| [`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] |
|
76
|
+
| [`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] |
|
77
|
+
| [`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] |
|
78
|
+
| [`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] |
|
79
|
+
| [`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] |
|
80
|
+
|
81
|
+
## Installation ✨
|
196
82
|
|
197
83
|
Without bundler execute:
|
198
84
|
|
199
|
-
$ gem install
|
85
|
+
$ gem install
|
200
86
|
|
201
87
|
Add this line to your application's Gemfile:
|
202
88
|
|
203
89
|
<!-- FIND VERSION -->
|
204
90
|
```ruby
|
205
|
-
gem
|
91
|
+
gem "rubocop-lts", "~> 20.1", require: false
|
206
92
|
```
|
207
93
|
|
208
94
|
And then execute:
|
209
95
|
|
210
96
|
$ bundle
|
211
97
|
|
212
|
-
|
98
|
+
### Dependabot Noise Reduction
|
213
99
|
|
214
|
-
|
215
|
-
|
216
|
-
Add to the top of your project's `.rubocop.yml` configuration file:
|
100
|
+
Add the following to `.github/dependabot.yml` if you use Github Actions.
|
217
101
|
|
218
102
|
```yaml
|
219
|
-
|
220
|
-
|
103
|
+
ignore:
|
104
|
+
- dependency-name: "rubocop-lts"
|
221
105
|
```
|
222
106
|
|
223
|
-
## Development
|
224
|
-
|
225
|
-
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
226
|
-
|
227
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
228
|
-
|
229
|
-
### Git Branch Names
|
230
|
-
|
231
|
-
#### Naming Scheme
|
232
|
-
|
233
|
-
```ruby
|
234
|
-
"r{{ ruby major }}_{{ ruby minor }}-{{ parity }}-v{{ gem-version }}"
|
235
|
-
```
|
236
|
-
|
237
|
-
##### Parity
|
238
|
-
|
239
|
-
Even versions use the token `even` in the branch name.
|
240
|
-
Odd versions use the token `odd` in the branch name.
|
241
|
-
|
242
|
-
#### Version - Branch Matrix
|
243
|
-
|
244
|
-
| Ruby Version | Parity | Gem Version | Branch Name | Purpose |
|
245
|
-
|-----------------|--------|-------------|-----------------|-----------------------------------|
|
246
|
-
| 1.9 | odd | 1.x | `r1_9-odd-v1` | LTS, trunk, single-ruby-linting |
|
247
|
-
| 1.9 | even | 2.x | `r1_9-even-v2` | Upgrade, feat, multi-ruby-linting |
|
248
|
-
| 2.0 | odd | 3.x | `r2_0-odd-v3` | LTS, trunk, single-ruby-linting |
|
249
|
-
| 2.0 | even | 4.x | `r2_0-even-v4` | Upgrade, feat, multi-ruby-linting |
|
250
|
-
| 2.1 | odd | 5.x | `r2_1-odd-v5` | LTS, trunk, single-ruby-linting |
|
251
|
-
| 2.1 | even | 6.x | `r2_1-even-v6` | Upgrade, feat, multi-ruby-linting |
|
252
|
-
| 2.2 | odd | 7.x | `r2_2-odd-v7` | LTS, trunk, single-ruby-linting |
|
253
|
-
| 2.2 | even | 8.x | `r2_2-even-v8` | Upgrade, feat, multi-ruby-linting |
|
254
|
-
| 2.3 | odd | 9.x | `r2_3-odd-v9` | LTS, trunk, single-ruby-linting |
|
255
|
-
| 2.3 | even | 10.x | `r2_3-even-v10` | Upgrade, feat, multi-ruby-linting |
|
256
|
-
| 2.4 | odd | 11.x | `r2_4-odd-v11` | LTS, trunk, single-ruby-linting |
|
257
|
-
| 2.4 | even | 12.x | `r2_4-even-v12` | Upgrade, feat, multi-ruby-linting |
|
258
|
-
| 2.5 | odd | 13.x | `r2_5-odd-v13` | LTS, trunk, single-ruby-linting |
|
259
|
-
| 2.5 | even | 14.x | `r2_5-even-v14` | Upgrade, feat, multi-ruby-linting |
|
260
|
-
| 2.6 | odd | 15.x | `r2_6-odd-v15` | LTS, trunk, single-ruby-linting |
|
261
|
-
| 2.6 | even | 16.x | `r2_6-even-v16` | Upgrade, feat, multi-ruby-linting |
|
262
|
-
| 2.7 | odd | 17.x | `r2_7-odd-v17` | LTS, trunk, single-ruby-linting |
|
263
|
-
| 2.7 | even | 18.x | `r2_7-even-v18` | Upgrade, feat, multi-ruby-linting |
|
264
|
-
| 3.0 | odd | 19.x | `r3_0-odd-v19` | LTS, trunk, single-ruby-linting |
|
265
|
-
| 3.0 | even | 20.x | `r3_0-even-v20` | Upgrade, feat, multi-ruby-linting |
|
266
|
-
| 3.1 | odd | 21.x | `r3_1-odd-v21` | LTS, trunk, single-ruby-linting |
|
267
|
-
| 3.1 | even | 22.x | `r3_1-even-v22` | Upgrade, feat, multi-ruby-linting |
|
268
|
-
| 3.2 / ruby-head | odd | 23.x | `r3_2-odd-v23` | LTS, trunk, single-ruby-linting |
|
269
|
-
| 3.2 / ruby-head | even | 24.x | `r3_2-even-v24` | Upgrade, feat, multi-ruby-linting |
|
270
|
-
|
271
|
-
> NOTE: For more on how Ruby 1.8 support works, see [above][lts1_8]
|
272
|
-
|
273
|
-
[lts1_8]: https://github.com/rubocop-lts/rubocop-lts#supporting-ruby-18
|
274
|
-
|
275
|
-
## ⚡️ Contributing
|
276
|
-
|
277
|
-
See [CONTRIBUTING.md][contributing]
|
278
|
-
|
279
|
-
## 🌈 Contributors
|
280
|
-
|
281
|
-
[![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-lts)]("https://github.com/rubocop-lts/rubocop-lts/graphs/contributors")
|
282
|
-
|
283
|
-
Made with [contributors-img](https://contrib.rocks).
|
284
|
-
|
285
|
-
## 📄 License
|
286
|
-
|
287
|
-
The gem is available as open source under the terms of
|
288
|
-
the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
|
289
|
-
See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
|
290
|
-
|
291
|
-
<details>
|
292
|
-
<summary>Project Logos (rubocop-lts)</summary>
|
293
|
-
|
294
|
-
See [docs/images/logo/README.txt][project-logos]
|
295
|
-
</details>
|
296
|
-
|
297
|
-
<details>
|
298
|
-
<summary>Organization Logo (rubocop-semver)</summary>
|
299
|
-
|
300
|
-
Author: [Yusuf Evli][org-logo-author]
|
301
|
-
Source: [Unsplash][org-logo-source]
|
302
|
-
License: [Unsplash License][org-logo-license]
|
303
|
-
</details>
|
304
|
-
|
305
|
-
[project-logos]: https://github.com/rubocop-lts/rubocop-lts/blob/main/docs/images/logo/README.txt
|
306
|
-
[org-logo-author]: https://unsplash.com/@yusufevli
|
307
|
-
[org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
|
308
|
-
[org-logo-license]: https://unsplash.com/license
|
309
|
-
|
310
|
-
### © Copyright
|
311
|
-
|
312
|
-
* Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
|
313
|
-
|
314
|
-
## 🤝 Code of Conduct
|
315
|
-
|
316
|
-
Everyone interacting in RuboCop LTS codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-lts/blob/main/CODE_OF_CONDUCT.md).
|
317
|
-
|
318
|
-
## 📌 Versioning
|
319
|
-
|
320
|
-
This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations of this scheme should be reported as
|
321
|
-
bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be
|
322
|
-
immediately released that restores compatibility. Breaking changes to the public API will only be introduced with new
|
323
|
-
major versions.
|
324
|
-
|
325
|
-
As a result of this policy, you can (and should) specify a dependency on this gem using
|
326
|
-
the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
327
|
-
|
328
|
-
For example:
|
329
|
-
|
330
|
-
<!-- FIND VERSION -->
|
331
|
-
```ruby
|
332
|
-
spec.add_dependency "rubocop-lts", "~> 20.0"
|
333
|
-
```
|
334
|
-
|
335
|
-
|
336
107
|
<!-- columnar badge #s for Project Health table:
|
337
108
|
⛳️
|
338
109
|
🖇
|
@@ -626,8 +397,6 @@ spec.add_dependency "rubocop-lts", "~> 20.0"
|
|
626
397
|
|
627
398
|
[tweetme]: http://twitter.com/galtzo
|
628
399
|
|
629
|
-
[politicme]: https://nationalprogressiveparty.org
|
630
|
-
|
631
400
|
[documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
|
632
401
|
|
633
402
|
[source]: https://github.com/rubocop-lts/rubocop-lts/
|
data/SECURITY.md
CHANGED
@@ -2,30 +2,30 @@
|
|
2
2
|
|
3
3
|
## Supported Versions
|
4
4
|
|
5
|
-
| Version
|
6
|
-
|
7
|
-
| 1.
|
8
|
-
| 2.
|
9
|
-
| 3.
|
10
|
-
| 4.
|
11
|
-
| 5.
|
12
|
-
| 6.
|
13
|
-
| 7.
|
14
|
-
| 8.
|
15
|
-
| 9.
|
16
|
-
| 10.
|
17
|
-
| 11.
|
18
|
-
| 12.
|
19
|
-
| 13.
|
20
|
-
| 14.
|
21
|
-
| 15.
|
22
|
-
| 16.
|
23
|
-
| 17.
|
24
|
-
| 18.
|
25
|
-
| 19.
|
26
|
-
| 20.
|
27
|
-
| 21.
|
28
|
-
| 22.
|
5
|
+
| Version | Supported |
|
6
|
+
|-----------|-----------|
|
7
|
+
| 1.latest | ✅ |
|
8
|
+
| 2.latest | ✅ |
|
9
|
+
| 3.latest | ✅ |
|
10
|
+
| 4.latest | ✅ |
|
11
|
+
| 5.latest | ✅ |
|
12
|
+
| 6.latest | ✅ |
|
13
|
+
| 7.latest | ✅ |
|
14
|
+
| 8.latest | ✅ |
|
15
|
+
| 9.latest | ✅ |
|
16
|
+
| 10.latest | ✅ |
|
17
|
+
| 11.latest | ✅ |
|
18
|
+
| 12.latest | ✅ |
|
19
|
+
| 13.latest | ✅ |
|
20
|
+
| 14.latest | ✅ |
|
21
|
+
| 15.latest | ✅ |
|
22
|
+
| 16.latest | ✅ |
|
23
|
+
| 17.latest | ✅ |
|
24
|
+
| 18.latest | ✅ |
|
25
|
+
| 19.latest | ✅ |
|
26
|
+
| 20.latest | ✅ |
|
27
|
+
| 21.latest | ✅ |
|
28
|
+
| 22.latest | ✅ |
|
29
29
|
|
30
30
|
## Reporting a Vulnerability
|
31
31
|
|
data/lib/rubocop/lts/version.rb
CHANGED
data.tar.gz.sig
ADDED
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 20.0
|
4
|
+
version: 20.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-03-17 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rubocop-ruby3_0
|
@@ -16,14 +44,14 @@ dependencies:
|
|
16
44
|
requirements:
|
17
45
|
- - "~>"
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
47
|
+
version: 1.1.2
|
20
48
|
type: :runtime
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
52
|
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
54
|
+
version: 1.1.2
|
27
55
|
description: Rubocop LTS - Chaos Reduction In a Bottle
|
28
56
|
email:
|
29
57
|
- peter.boling@gmail.com
|
@@ -46,10 +74,11 @@ licenses:
|
|
46
74
|
- MIT
|
47
75
|
metadata:
|
48
76
|
homepage_uri: https://github.com/rubocop-lts/rubocop-lts
|
49
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v20.0
|
50
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v20.0
|
77
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v20.1.0
|
78
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v20.1.0/CHANGELOG.md
|
51
79
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
52
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/20.0
|
80
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/20.1.0
|
81
|
+
funding_uri: https://liberapay.com/pboling
|
53
82
|
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
54
83
|
rubygems_mfa_required: 'true'
|
55
84
|
post_install_message:
|
@@ -70,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
99
|
- !ruby/object:Gem::Version
|
71
100
|
version: '0'
|
72
101
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.4.8
|
74
103
|
signing_key:
|
75
104
|
specification_version: 4
|
76
105
|
summary: Rubocop LTS - Semantically Versioned
|
metadata.gz.sig
ADDED
Binary file
|