rubocop-lts 14.0.1 → 14.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d91054d1a9363745f182658e76d1cad1d818aac0c8c3ea89d6be1a50ad9c32
4
- data.tar.gz: 4cee94dc7a54395a661eae30efef1c28b840ac4e87d8245441103aff0aa03a01
3
+ metadata.gz: e906bf824c0cf4981f4909ff66658021acb35e8e476f0998ed1ab8c690b0dfe9
4
+ data.tar.gz: 2a6b36bff2f6acd03167af9a9dae98acdb623b439f84baba2a63ec506c779df2
5
5
  SHA512:
6
- metadata.gz: e4b962c0256547ec09fc4b903d8b0bffe53cc0417adcac09fe173c7c97a640225773ffdd6661dbd36255aded58cd49d1f58d83407a1f4304eaaac397e1f521e7
7
- data.tar.gz: 992711eea0ccb328c26180ce35b8c5976a95925147afc04ca3d6134d350895c593058a65454a6efd3956593797857ea88192fb42d4276b7c32c17bae7c403a6c
6
+ metadata.gz: ce3c15c7b969ac071ab2e86db8c636723a420e91d350153f45c4ef2a029636879038e74789dfafb51644fed0bdb895021ccfdee56662f2a6fbb72f4513e1a8ad
7
+ data.tar.gz: 992b4bbfaa367e720adf18c3deeb3ffe77c92ef6e2540c55f9a4faf83ad053b796f6f898e09fc4996f31f6a36e59b485e4178f9d39d9a3a6c15c8fd7abe3ae87
checksums.yaml.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ >N��:�(�f޼�T��y��nSg�MJ��@Dg���S�+ �E-������JO^��\�D��D �n ޾��t.����ގ < Q���>+m<� �mYA{����#ȫ��+�nt��H
2
+ ��I�7FE�jD�����i됇�Q5�Q�"�X�Qȷ�[�e7�&���V&���q�Y����qv<9`4�����g;k4���an��� ���x��%h���MW%{�n�H޼��ē�'���L�f�_;�`�,������w��V$T��hXĘb�e���\�1�R���N��mx�M��v*��T园�w�k��w��'��[�QG;�:eoa�CQ�"r7����
data/CHANGELOG.md CHANGED
@@ -6,12 +6,13 @@ 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
+ ## [14.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
  ## [14.0.1] - 2022-06-09
17
18
  ### Fixed
@@ -23,216 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
24
  ### Added
24
25
  - Initial even release supporting Ruby >= 2.5
25
26
 
26
- ## [13.0.1] - 2022-06-09
27
- ### Added
28
- - Improve, and dry up documentation
29
-
30
- ## [13.0.0] - 2022-05-23
31
- ### Added
32
- - Initial odd release supporting Ruby ~> 2.5
33
-
34
- ## [12.0.1] - 2022-06-09
35
- ### Fixed
36
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
37
- ### Added
38
- - Improve, and dry up documentation
39
-
40
- ## [12.0.0] - 2022-05-23
41
- ### Added
42
- - Initial even release supporting Ruby >= 2.4
43
-
44
- ## [11.0.2] - 2022-06-09
45
- ### Added
46
- - Improve, and dry up documentation
47
- ## 11.0.1 - 2022-06-09 (YANKED)
48
- - accidentally removed required_ruby_version from gemspec
49
-
50
- ## [11.0.0] - 2022-05-23
51
- ### Added
52
- - Initial odd release supporting Ruby ~> 2.4
53
-
54
- ## [10.0.1] - 2022-06-09
55
- ### Fixed
56
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
57
- ### Added
58
- - Improve, and dry up documentation
59
-
60
- ## [10.0.0] - 2022-05-23
61
- ### Added
62
- - Initial even release supporting Ruby >= 2.3
63
-
64
- ## [9.0.1] - 2022-06-09
65
- ### Added
66
- - Improve, and dry up documentation
67
-
68
- ## [9.0.0] - 2022-05-23
69
- ### Added
70
- - Initial odd release supporting Ruby ~> 2.3
71
-
72
- ## [8.0.2] - 2022-06-09
73
- ### Fixed
74
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
75
-
76
- ## [8.0.1] - 2022-06-09
77
- ### Added
78
- - Improve, and dry up documentation
79
-
80
- ## [8.0.0] - 2022-05-23
81
- ### Added
82
- - Initial even release supporting Ruby >= 2.2
83
-
84
- ## [7.0.1] - 2022-06-08
85
- ### Added
86
- - Improve, and dry up documentation
87
-
88
- ## [7.0.0] - 2022-05-23
89
- ### Added
90
- - Initial odd release supporting Ruby ~> 2.2
91
-
92
- ## [6.0.1] - 2022-06-08
93
- ### Fixed
94
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
95
- ### Added
96
- - Improve, and dry up documentation
97
-
98
- ## [6.0.0] - 2022-05-23
99
- ### Added
100
- - Initial even release supporting Ruby >= 2.1
101
-
102
- ## [5.0.2] - 2022-06-08
103
- ### Added
104
- - Improve, and dry up documentation
105
-
106
- ## [5.0.1] - 2022-05-23
107
- ### Fixed
108
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
109
-
110
- ## [5.0.0] - 2022-05-23
111
- ### Added
112
- - Initial odd release supporting Ruby ~> 2.1
113
-
114
- ## [4.0.3] - 2022-06-08
115
- ### Fixed
116
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
117
-
118
- ## [4.0.2] - 2022-05-23
119
- ### Fixed
120
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
121
-
122
- ## [4.0.1] - 2022-05-23
123
- ### Fixed
124
- - Ship rubocop config files in gem
125
- - rubocop-lts.yml
126
-
127
- ## [4.0.0] - 2022-05-22
128
- ### Added
129
- - Initial even release supporting Ruby >= 2.0
130
-
131
- ## [3.0.3] - 2022-06-08
132
- ### Added
133
- - Improve, and dry up documentation
134
-
135
- ## [3.0.2] - 2022-05-23
136
- ### Fixed
137
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
138
-
139
- ## [3.0.1] - 2022-05-23
140
- ### Fixed
141
- - Ship rubocop config files in gem
142
- - rubocop-lts.yml
143
-
144
- ## [3.0.0] - 2022-05-22
145
- ### Added
146
- - Initial odd release supporting Ruby ~> 2.0
147
-
148
- ## [2.0.5] - 2022-06-08
149
- ### Added
150
- - Improve, and dry up documentation
151
-
152
- ## [2.0.4] - 2022-06-08
153
- ### Fixed
154
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
155
-
156
- ## [2.0.3] - 2022-05-23
157
- ### Fixed
158
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
159
-
160
- ## [2.0.2] - 2022-05-23
161
- ### Fixed
162
- - Ship rubocop config files in gem
163
- - rubocop-lts.yml
164
- - rubocop-lts1_8.yml
165
-
166
- ## [2.0.1] - 2022-05-22
167
- ### Fixed
168
- - Documentation typos & gemspec URLs
169
-
170
- ## [2.0.0] - 2022-05-22
171
- ### Added
172
- - Initial even release supporting Ruby >= 1.9
173
-
174
- ## [1.0.4] - 2022-06-08
175
- ### Added
176
- - Security Policy @ SECURITY.md
177
- - Improve, and dry up documentation
178
-
179
- ## [1.0.3] - 2022-05-23
180
- ### Fixed
181
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
182
-
183
- ## [1.0.2] - 2022-05-23
184
- ### Fixed
185
- - Ship rubocop config files in gem
186
- - rubocop-lts.yml
187
- - rubocop-lts1_8.yml
188
-
189
- ## [1.0.1] - 2022-05-22
190
- ### Fixed
191
- - Documentation typos & gemspec URLs
192
-
193
- ## [1.0.0] - 2022-05-22
194
- ### Added
195
- - Initial odd release supporting Ruby ~> 1.9
196
-
197
- [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v14.0.1...HEAD
27
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v14.1.0...HEAD
28
+ [14.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v14.0.1...v14.1.0
198
29
  [14.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v14.0.0...v14.0.1
199
- [14.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v13.0.1...v14.0.0
200
- [13.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v13.0.0...v13.0.1
201
- [13.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.1...v13.0.0
202
- [12.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.0...v12.0.1
203
- [12.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.2...v12.0.0
204
- [11.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.0...v11.0.2
205
- [11.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.1...v11.0.0
206
- [10.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.0...v10.0.1
207
- [10.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.1...v10.0.0
208
- [9.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.0...v9.0.1
209
- [9.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.2...v9.0.0
210
- [8.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.1...v8.0.2
211
- [8.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.0...v8.0.1
212
- [8.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.1...v8.0.0
213
- [7.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.0...v7.0.1
214
- [7.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.1...v7.0.0
215
- [6.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.0...v6.0.1
216
- [6.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.2...v6.0.0
217
- [5.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.1...v5.0.2
218
- [5.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.0...v5.0.1
219
- [5.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.3...v5.0.0
220
- [4.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v4.0.3
221
- [4.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.1...v4.0.2
222
- [4.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.0...v4.0.1
223
- [4.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.3...v4.0.0
224
- [3.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.2...v3.0.3
225
- [3.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.1...v3.0.2
226
- [3.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.0...v3.0.1
227
- [3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...v3.0.0
228
- [2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
229
- [2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
230
- [2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
231
- [2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
232
- [2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
233
- [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.4...v2.0.0
234
- [1.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v1.0.4
235
- [1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
236
- [1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
237
- [1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
238
- [1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
30
+ [14.0.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tags/v14.0.0
data/CONTRIBUTING.md CHANGED
@@ -1,25 +1,39 @@
1
1
  ## Contributing
2
2
 
3
- Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-lts][source]
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
- ## Contributors
10
-
11
- [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-lts)][contributors]
10
+ ## Release
12
11
 
13
- Made with [contributors-img][contrib-rocks].
12
+ To release a new version:
14
13
 
15
- [comment]: <> (Following links are used by README, CONTRIBUTING)
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
- [conduct]: https://github.com/rubocop-lts/rubocop-lts/blob/main/CODE_OF_CONDUCT.md
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
- [contrib-rocks]: https://contrib.rocks
28
+ ## Contributors
20
29
 
21
- [contributors]: https://github.com/rubocop-lts/rubocop-lts/graphs/contributors
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
- [source]: https://github.com/rubocop-lts/rubocop-lts/
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
@@ -18,321 +18,127 @@
18
18
 
19
19
  # RuboCop LTS
20
20
 
21
- ## 🙋‍♀️ How often has RuboCop broken your build?
22
-
23
- This is both good (literally its job) _and_ bad (when it's for the wrong reasons).
24
-
25
- It's supposed to break the build when it finds violations.
26
- It should not break the build due to incompatibility with your environment. RuboCop
27
- doesn't [follow SemVer](https://dev.to/pboling/rubocop-ruby-matrix-gems-nj), and occasionally it will unexpectedly break things.
28
-
29
- ## 🗿 Stable
30
-
31
- All releases are stable releases. The major version you need depends on the supported version(s) of Ruby for your project.
32
-
33
- Projects that support a single version of Ruby (like many closed-source applications) will use the [Odd releases][even-release].
34
-
35
- Projects that support multiple versions of Ruby simultaneously (like many open-source applications and libraries) will use the [Even releases][even-release].
21
+ ## PROJECT DOCUMENTATION
22
+
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]
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
- **This README is for the even release of `rubocop-lts` supporting Ruby >= 2.5.0.**
39
-
40
- [odd-release]: https://github.com/rubocop-lts/rubocop-lts#odd-major-release
41
- [even-release]: https://github.com/rubocop-lts/rubocop-lts#even-major-release
62
+ **This README is for the even release of `rubocop-lts` supporting Ruby >= 2.5.**
42
63
 
43
- ## Version Conventions
64
+ This gem configures many gems for you:
44
65
 
45
- ### Odd Major Release
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)
46
76
 
47
- Versions like:
48
- ```ruby
49
- "1.0.0"
50
- "3.0.0"
51
- "5.0.0"
52
- # ... etc
53
- ```
54
- Locked to a single minor version of Ruby, e.g. version 15.0 has a `required_ruby_version` of `['>= 2.6.0', '< 2.7']`, which will install only on `2.6.x` versions of Ruby.
77
+ And optionally, if you are using RSpec:
55
78
 
56
- #### Implementation
79
+ - rubocop-rspec
57
80
 
58
- Intended for applications and libraries that only lint against a single Ruby version.
81
+ And optionally, if you are building a RubyGem:
59
82
 
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.
83
+ - rubocop-packaging
61
84
 
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` |
85
+ And optionally, if you are building a Rails app:
76
86
 
77
- ### Even Major Release
87
+ - standard-rails (incl. rubocop-rails)
88
+ - betterlint
78
89
 
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
- ```
90
+ ## Project Health 👩‍💻
172
91
 
173
- > NOTE: For more on how Ruby 1.8 support works, look [here][what1_8]
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] |
174
108
 
175
- [what1_8]: https://github.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
109
+ ## Installation ✨
176
110
 
177
- ## 👩‍💻 Project Health
111
+ Install the gem and add to the application's Gemfile by executing:
178
112
 
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] |
113
+ $ bundle add rubocop-lts -r false
194
114
 
195
- ## Installation
115
+ NOTE: If you are using **Rails** remove the `-r false`,
116
+ so the Railtie will load and rake tasks will be loaded automatically.
196
117
 
197
- Without bundler execute:
118
+ If bundler is not being used to manage dependencies, install the gem by executing:
198
119
 
199
- $ gem install
120
+ $ gem install rubocop-lts
200
121
 
201
- Add this line to your application's Gemfile:
122
+ Or add this line to your application's Gemfile:
202
123
 
203
124
  <!-- FIND VERSION -->
204
125
  ```ruby
205
- gem 'rubocop-lts', '~> 14.0', require: false
126
+ gem "rubocop-lts", "~> 14.1", require: false
206
127
  ```
207
128
 
208
129
  And then execute:
209
130
 
210
131
  $ bundle
211
132
 
212
- ## 🔧 Usage
213
-
214
- The following is optional. We'll discuss why you might want to do this after you see what it does.
133
+ ### Dependabot Noise Reduction
215
134
 
216
- Add to the top of your project's `.rubocop.yml` configuration file:
135
+ Add the following to `.github/dependabot.yml` if you use Github Actions.
217
136
 
218
137
  ```yaml
219
- inherit_gem:
220
- - rubocop-lts.yml
221
- ```
222
-
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", "~> 14.0"
138
+ ignore:
139
+ - dependency-name: "rubocop-lts"
333
140
  ```
334
141
 
335
-
336
142
  <!-- columnar badge #s for Project Health table:
337
143
  ⛳️
338
144
  🖇
@@ -353,8 +159,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
353
159
  [🚎lts-cwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
354
160
  [🖐lts-hwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
355
161
  [🖐lts-hwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml/badge.svg
356
- [🧮lts-lwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml
357
- [🧮lts-lwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml/badge.svg
358
162
  [📗lts-io]: https://github.com/rubocop-lts/rubocop-lts/issues
359
163
  [📗lts-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-lts
360
164
  [🚀lts-ic]: https://github.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
@@ -365,6 +169,23 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
365
169
  [👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
366
170
  [⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
367
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
368
189
  [⛳️19-vi]: http://img.shields.io/gem/v/rubocop-ruby1_9.svg
369
190
  [🖇️19-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_9.svg
370
191
  [🏘️19-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_9.svg
@@ -372,8 +193,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
372
193
  [🚎19-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/current.yml/badge.svg
373
194
  [🖐19-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml
374
195
  [🖐19-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml/badge.svg
375
- [🧮19-lwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml
376
- [🧮19-lwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml/badge.svg
377
196
  [📗19-io]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
378
197
  [📗19-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_9
379
198
  [🚀19-ic]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues?q=is%3Aissue+is%3Aclosed
@@ -391,8 +210,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
391
210
  [🚎20-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/current.yml/badge.svg
392
211
  [🖐20-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml
393
212
  [🖐20-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml/badge.svg
394
- [🧮20-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml
395
- [🧮20-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml/badge.svg
396
213
  [📗20-io]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
397
214
  [📗20-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_0
398
215
  [🚀20-ic]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues?q=is%3Aissue+is%3Aclosed
@@ -410,8 +227,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
410
227
  [🚎21-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/current.yml/badge.svg
411
228
  [🖐21-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml
412
229
  [🖐21-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml/badge.svg
413
- [🧮21-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml
414
- [🧮21-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml/badge.svg
415
230
  [📗21-io]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
416
231
  [📗21-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_1
417
232
  [🚀21-ic]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues?q=is%3Aissue+is%3Aclosed
@@ -429,8 +244,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
429
244
  [🚎22-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/current.yml/badge.svg
430
245
  [🖐22-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml
431
246
  [🖐22-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml/badge.svg
432
- [🧮22-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml
433
- [🧮22-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml/badge.svg
434
247
  [📗22-io]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
435
248
  [📗22-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_2
436
249
  [🚀22-ic]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues?q=is%3Aissue+is%3Aclosed
@@ -448,8 +261,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
448
261
  [🚎23-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/current.yml/badge.svg
449
262
  [🖐23-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml
450
263
  [🖐23-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml/badge.svg
451
- [🧮23-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml
452
- [🧮23-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml/badge.svg
453
264
  [📗23-io]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
454
265
  [📗23-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_3
455
266
  [🚀23-ic]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues?q=is%3Aissue+is%3Aclosed
@@ -467,8 +278,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
467
278
  [🚎24-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/current.yml/badge.svg
468
279
  [🖐24-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml
469
280
  [🖐24-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml/badge.svg
470
- [🧮24-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml
471
- [🧮24-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml/badge.svg
472
281
  [📗24-io]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues
473
282
  [📗24-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_4
474
283
  [🚀24-ic]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues?q=is%3Aissue+is%3Aclosed
@@ -486,8 +295,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
486
295
  [🚎25-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/current.yml/badge.svg
487
296
  [🖐25-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml
488
297
  [🖐25-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml/badge.svg
489
- [🧮25-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml
490
- [🧮25-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml/badge.svg
491
298
  [📗25-io]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
492
299
  [📗25-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_5
493
300
  [🚀25-ic]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues?q=is%3Aissue+is%3Aclosed
@@ -505,8 +312,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
505
312
  [🚎26-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml/badge.svg
506
313
  [🖐26-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml
507
314
  [🖐26-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml/badge.svg
508
- [🧮26-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml
509
- [🧮26-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml/badge.svg
510
315
  [📗26-io]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
511
316
  [📗26-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_6
512
317
  [🚀26-ic]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues?q=is%3Aissue+is%3Aclosed
@@ -524,8 +329,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
524
329
  [🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
525
330
  [🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
526
331
  [🖐27-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml/badge.svg
527
- [🧮27-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml
528
- [🧮27-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml/badge.svg
529
332
  [📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
530
333
  [📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
531
334
  [🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
@@ -543,8 +346,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
543
346
  [🚎30-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml/badge.svg
544
347
  [🖐30-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml
545
348
  [🖐30-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml/badge.svg
546
- [🧮30-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml
547
- [🧮30-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml/badge.svg
548
349
  [📗30-io]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
549
350
  [📗30-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_0
550
351
  [🚀30-ic]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues?q=is%3Aissue+is%3Aclosed
@@ -562,8 +363,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
562
363
  [🚎31-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
563
364
  [🖐31-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
564
365
  [🖐31-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml/badge.svg
565
- [🧮31-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml
566
- [🧮31-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml/badge.svg
567
366
  [📗31-io]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
568
367
  [📗31-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_1
569
368
  [🚀31-ic]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues?q=is%3Aissue+is%3Aclosed
@@ -581,8 +380,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
581
380
  [🚎32-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/current.yml/badge.svg
582
381
  [🖐32-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml
583
382
  [🖐32-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml/badge.svg
584
- [🧮32-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml
585
- [🧮32-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml/badge.svg
586
383
  [📗32-io]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
587
384
  [📗32-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_2
588
385
  [🚀32-ic]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues?q=is%3Aissue+is%3Aclosed
@@ -626,8 +423,6 @@ spec.add_dependency "rubocop-lts", "~> 14.0"
626
423
 
627
424
  [tweetme]: http://twitter.com/galtzo
628
425
 
629
- [politicme]: https://nationalprogressiveparty.org
630
-
631
426
  [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
632
427
 
633
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
- | Version | Supported |
6
- |---------|--------------------|
7
- | 1.x | :white_check_mark: |
8
- | 2.x | :white_check_mark: |
9
- | 3.x | :white_check_mark: |
10
- | 4.x | :white_check_mark: |
11
- | 5.x | :white_check_mark: |
12
- | 6.x | :white_check_mark: |
13
- | 7.x | :white_check_mark: |
14
- | 8.x | :white_check_mark: |
15
- | 9.x | :white_check_mark: |
16
- | 10.x | :white_check_mark: |
17
- | 11.x | :white_check_mark: |
18
- | 12.x | :white_check_mark: |
19
- | 13.x | :white_check_mark: |
20
- | 14.x | :white_check_mark: |
21
- | 15.x | :white_check_mark: |
22
- | 16.x | :white_check_mark: |
23
- | 17.x | :white_check_mark: |
24
- | 18.x | :white_check_mark: |
25
- | 19.x | :white_check_mark: |
26
- | 20.x | :white_check_mark: |
27
- | 21.x | :white_check_mark: |
28
- | 22.x | :white_check_mark: |
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
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/rails.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/rails_rspec.yml
data/config/rspec.yml ADDED
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/rspec.yml
data/config/ruby.yml ADDED
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/ruby.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/ruby_rspec.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/rubygem.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby2_5: rubocop-lts/rubygem_rspec.yml
@@ -2,6 +2,8 @@
2
2
 
3
3
  module Rubocop
4
4
  module Lts
5
- VERSION = "14.0.1"
5
+ module Version
6
+ VERSION = "14.1.0"
7
+ end
6
8
  end
7
9
  end
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,2 +1,15 @@
1
- inherit_gem:
2
- rubocop-ruby2_5: rubocop.yml
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
13
+
14
+ inherit_from:
15
+ - config/ruby_rspec.yml
data/sig/rubocop/lts.rbs CHANGED
@@ -1,6 +1,8 @@
1
1
  module Rubocop
2
2
  module Lts
3
- VERSION: String
4
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
3
+ module Version
4
+ VERSION: String
5
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
+ end
5
7
  end
6
8
  end
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: 14.0.1
4
+ version: 14.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
8
  autorequire:
9
9
  bindir: exe
10
- cert_chain: []
11
- date: 2022-06-09 00:00:00.000000000 Z
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_5
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: 1.0.3
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: 1.0.3
27
- description: Rubocop LTS - Chaos Reduction In a Bottle
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://github.com/rubocop-lts/rubocop-lts
133
+ homepage: https://gitlab.com/rubocop-lts/rubocop-lts
45
134
  licenses:
46
135
  - MIT
47
136
  metadata:
48
- homepage_uri: https://github.com/rubocop-lts/rubocop-lts
49
- source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v14.0.1
50
- changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v14.0.1/CHANGELOG.md
51
- bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
52
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/14.0.1
53
- wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
137
+ homepage_uri: https://gitlab.com/rubocop-lts/rubocop-lts
138
+ source_code_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/v14.1.0
139
+ changelog_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/v14.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/14.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.5.0
64
- - - "<"
65
- - !ruby/object:Gem::Version
66
- version: '3.2'
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.3.15
160
+ rubygems_version: 3.4.13
74
161
  signing_key:
75
162
  specification_version: 4
76
- summary: Rubocop LTS - Semantically Versioned
163
+ summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
77
164
  test_files: []
metadata.gz.sig ADDED
Binary file