rubocop-lts 2.0.5 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2b2b87a631afa0602083acdfbac7e499c69c2ad49578c1ae0437e45680857da
4
- data.tar.gz: 9ce85ddef604eee342972363a41c9f2e0f706fc1a4455a0021f06755e165ad6f
3
+ metadata.gz: 67e634bdae0bbc4f218296a4237992086e4edb45d74bcbea1a37ed93e922e341
4
+ data.tar.gz: ed42afbffff58b26d24e546e3a6a2b379e87d96788b1c2364d23b0274144556b
5
5
  SHA512:
6
- metadata.gz: 8268962c598dd7f7b0b8d78cefa0ca20fad88cab234a9d3ea6f63fd23dcbe6fa75b8205cf26ca64259805159dbf1c51d7d6fc06fa10ea33f085cf382f7ef14da
7
- data.tar.gz: dee3b439386797cdfcde550d0adad955c2fcba9bc8a6f97e8bf1d9f9e3bd9b6ce23f27364613172daf37f8796fe9170d58e2192ecb60581647c7f106e64cd9c3
6
+ metadata.gz: b32164e5bcd37a4b89631c10fa8f195389f387f41fd3f8d7c54c95df8f0dd804c220d4556b5e2f11ffb5a12a0d0ec4aeda8712a478633ac855a2c0b780ed26d0
7
+ data.tar.gz: feb9f0793dc3eadedd40b55b6ed7744e512452ab3d37b2669b10301b2f4abd0d9669d8034562f0ad20a3de2e87077635ea629b0732b771989411f177b4fbc4e5
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -6,12 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
  ### Added
9
-
10
9
  ### Changed
11
-
12
10
  ### Fixed
11
+ ### Removed
13
12
 
13
+ ## [2.1.0] - 2023-05-20
14
+ ### Changed
15
+ - Broadened scope of gem, updated `rubocop-ruby*_*` which configures many linting tools via `standard-rubocop-lts`
14
16
  ### Removed
17
+ - Install support for Ruby < 2.7 (minimum is now 2.7, analysis of older Ruby still supported)
18
+ - rubocop-lts1_8.yml - Use the new dedicated gem `rubocop-ruby1_8` instead
15
19
 
16
20
  ## [2.0.5] - 2022-06-08
17
21
  ### Added
@@ -23,7 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
27
 
24
28
  ## [2.0.3] - 2022-05-23
25
29
  ### Fixed
26
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
30
+ - Make rubocop config files load ruby specific config from relevant `rubocop-ruby*_*` gem
27
31
 
28
32
  ## [2.0.2] - 2022-05-23
29
33
  ### Fixed
@@ -39,38 +43,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
43
  ### Added
40
44
  - Initial even release supporting Ruby >= 1.9
41
45
 
42
- ## [1.0.4] - 2022-06-08
43
- ### Added
44
- - Security Policy @ SECURITY.md
45
- - Improve, and dry up documentation
46
-
47
- ## [1.0.3] - 2022-05-23
48
- ### Fixed
49
- - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
50
-
51
- ## [1.0.2] - 2022-05-23
52
- ### Fixed
53
- - Ship rubocop config files in gem
54
- - rubocop-lts.yml
55
- - rubocop-lts1_8.yml
56
-
57
- ## [1.0.1] - 2022-05-22
58
- ### Fixed
59
- - Documentation typos & gemspec URLs
60
-
61
- ## [1.0.0] - 2022-05-22
62
- ### Added
63
- - Initial odd release supporting Ruby ~> 1.9
64
-
65
- [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...HEAD
46
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.1.0...HEAD
47
+ [2.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...v2.1.0
66
48
  [2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
67
49
  [2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
68
50
  [2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
69
51
  [2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
70
52
  [2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
71
- [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.4...v2.0.0
72
- [1.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v1.0.4
73
- [1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
74
- [1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
75
- [1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
76
- [1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
53
+ [2.0.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tags/v2.0.0
54
+
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
@@ -20,84 +20,125 @@
20
20
 
21
21
  ## PROJECT DOCUMENTATION
22
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](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#👩‍💻-project-health])
29
- --⊕👩‍💻 [Project Health](#👩‍💻-project-health)
30
- |🌳 [This Branch](#🌳-this-branch)
31
- |✨ [Installation](#✨-installation)
32
- |🔧 [Usage](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#🔧-usage)
33
- |🏗️ [Development](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#🏗️-development)
34
- --⊕⚡️ [Contributing](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#⚡️-contributing)
35
- --⊕🌈 [Contributors](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#🌈-contributors)
36
- |📄 [License](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#📄-license)
37
- |⊕© [Copyright](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#©-copyright)
38
- |🤝 [Code of Conduct](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#🤝-code-of-conduct)
39
- |📌 [Versioning](https://github.com/rubocop-lts/.github/blob/main/profile/README.md#📌-versioning)
23
+ * 🌱 [Why Build This?][Why-Build-This]
24
+ * 🌱 [Convention > Configuration][Convention-Over-Configuration]
25
+ * 🌱 [Even Releases][Even-Major-Release] (use these!)
26
+ * 🌱 [Odd Releases][Odd-Major-Release] (deprecated)
27
+ * 🌱 [How to Upgrade Ruby (1.8 to 3.2)!][How-To-Upgrade-Ruby]
28
+ * 👩‍💻 [Org Health][OrgHealth]
29
+ * 🔧 [Usage][Usage]
30
+ * 🧮 [Development][Development]
31
+ * ⚡️ [Contributing][Contributing]
32
+ * 🌈 [Contributors][Contributors]
33
+ * 📄 [License][License]
34
+ * © [Copyright][Copyright]
35
+ * 🤝 [Code of Conduct][Code of Conduct]
36
+ * 📌 [Versioning][Versioning]
40
37
 
41
38
  [Why-Build-This]: https://github.com/rubocop-lts/.github/blob/main/profile/WHY_BUILD_THIS.md
42
39
  [Convention-Over-Configuration]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md
43
40
  [Even-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#even-major-release
44
41
  [Odd-Major-Release]: https://github.com/rubocop-lts/.github/blob/main/profile/CONV_OVER_CONF.md#odd-major-release
45
42
  [How-To-Upgrade-Ruby]: https://github.com/rubocop-lts/.github/blob/main/profile/HOW_TO_UPGRADE_RUBY.md
43
+ [OrgHealth]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#org-health-
44
+ [Usage]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#usage-
45
+ [Development]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#development-
46
+ [Contributing]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#contributing-
47
+ [Contributors]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#contributors-
48
+ [License]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#license-
49
+ [Copyright]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#copyright-
50
+ [Code of Conduct]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#code-of-conduct-
51
+ [Versioning]: https://github.com/rubocop-lts/.github/blob/main/profile/README.md#versioning-
46
52
 
47
- ## 🌳 This Branch
53
+ ## This README
54
+
55
+ * 🌳 [This Branch](#this-branch-)
56
+ * ‍💻 [Project Health](#project-health-)
57
+ * ✨ [Installation](#installation-)
58
+
59
+ ## This Branch 🌳
48
60
 
49
61
  <!-- FIND VERSION -->
50
62
  **This README is for the even release of `rubocop-lts` supporting Ruby >= 1.9.**
51
63
 
52
- ### 📼 Supporting Ruby 1.8
64
+ This gem configures many gems for you:
53
65
 
54
- Have a library still supporting Ruby 1.8.7, or looking to drop support for Ruby 1.8.7 in a SemVer-compliant manner?
66
+ - rubocop
67
+ - rubocop-gradual
68
+ - rubocop-md
69
+ - rubocop-rake
70
+ - rubocop-shopify
71
+ - rubocop-thread_safety
72
+ - standard
73
+ - standard-performance (incl. rubocop-performance)
74
+ - standard-custom
75
+ - standard-rubocop-lts (ruby version-specific rules)
55
76
 
56
- Simply use `rubocop-lts`, version 1.x or 2.x, which support Ruby 1.9.3 for installation, and 1.8.7 for syntax.
57
- ```yaml
58
- inherit_gem:
59
- rubocop-lts: rubocop-lts1_8.yml
60
- ```
77
+ And optionally, if you are using RSpec:
78
+
79
+ - rubocop-rspec
80
+
81
+ And optionally, if you are building a RubyGem:
82
+
83
+ - rubocop-packaging
84
+
85
+ And optionally, if you are building a Rails app:
61
86
 
62
- > NOTE: For more on how Ruby 1.8 support works, look [here][what1_8]
87
+ - standard-rails (incl. rubocop-rails)
88
+ - betterlint
63
89
 
64
- [what1_8]: https://github.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
90
+ ## Project Health 👩‍💻
65
91
 
66
- ## 👩‍💻 Project Health
92
+ | Gem Name | Version | Downloads | CI | Activity |
93
+ |------------------------------|-------------------------------------|----------------------------------------------------------------------|-----------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
94
+ | [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] [![Heads][🖐lts-hwfi]][🖐lts-hwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
95
+ | [`rubocop-ruby1_8`][⛳️18-gh] | [![Gem Version][⛳️18-vi]][⛳️18-g] | [![Total DL][🖇️18-dti]][⛳️18-g] [![DL Rank][🏘️18-rti]][⛳️18-g] | [![Current][🚎18-cwfi]][🚎18-cwf] [![Heads][🖐18-hwfi]][🖐18-hwf] | [![Open Issues][📗18-ioi]][📗18-io] [![Closed Issues][🚀18-ici]][🚀18-ic] [![Open PRs][💄18-poi]][💄18-po] [![Closed PRs][👽18-pci]][👽18-pc] |
96
+ | [`rubocop-ruby1_9`][⛳️19-gh] | [![Gem Version][⛳️19-vi]][⛳️19-g] | [![Total DL][🖇️19-dti]][⛳️19-g] [![DL Rank][🏘️19-rti]][⛳️19-g] | [![Current][🚎19-cwfi]][🚎19-cwf] [![Heads][🖐19-hwfi]][🖐19-hwf] | [![Open Issues][📗19-ioi]][📗19-io] [![Closed Issues][🚀19-ici]][🚀19-ic] [![Open PRs][💄19-poi]][💄19-po] [![Closed PRs][👽19-pci]][👽19-pc] |
97
+ | [`rubocop-ruby2_0`][⛳️20-gh] | [![Gem Version][⛳️20-vi]][⛳️20-g] | [![Total DL][🖇️20-dti]][⛳️20-g] [![DL Rank][🏘️20-rti]][⛳️20-g] | [![Current][🚎20-cwfi]][🚎20-cwf] [![Heads][🖐20-hwfi]][🖐20-hwf] | [![Open Issues][📗20-ioi]][📗20-io] [![Closed Issues][🚀20-ici]][🚀20-ic] [![Open PRs][💄20-poi]][💄20-po] [![Closed PRs][👽20-pci]][👽20-pc] |
98
+ | [`rubocop-ruby2_1`][⛳️21-gh] | [![Gem Version][⛳️21-vi]][⛳️21-g] | [![Total DL][🖇️21-dti]][⛳️21-g] [![DL Rank][🏘️21-rti]][⛳️21-g] | [![Current][🚎21-cwfi]][🚎21-cwf] [![Heads][🖐21-hwfi]][🖐21-hwf] | [![Open Issues][📗21-ioi]][📗21-io] [![Closed Issues][🚀21-ici]][🚀21-ic] [![Open PRs][💄21-poi]][💄21-po] [![Closed PRs][👽21-pci]][👽21-pc] |
99
+ | [`rubocop-ruby2_2`][⛳️22-gh] | [![Gem Version][⛳️22-vi]][⛳️22-g] | [![Total DL][🖇️22-dti]][⛳️22-g] [![DL Rank][🏘️22-rti]][⛳️22-g] | [![Current][🚎22-cwfi]][🚎22-cwf] [![Heads][🖐22-hwfi]][🖐22-hwf] | [![Open Issues][📗22-ioi]][📗22-io] [![Closed Issues][🚀22-ici]][🚀22-ic] [![Open PRs][💄22-poi]][💄22-po] [![Closed PRs][👽22-pci]][👽22-pc] |
100
+ | [`rubocop-ruby2_3`][⛳️23-gh] | [![Gem Version][⛳️23-vi]][⛳️23-g] | [![Total DL][🖇️23-dti]][⛳️23-g] [![DL Rank][🏘️23-rti]][⛳️23-g] | [![Current][🚎23-cwfi]][🚎23-cwf] [![Heads][🖐23-hwfi]][🖐23-hwf] | [![Open Issues][📗23-ioi]][📗23-io] [![Closed Issues][🚀23-ici]][🚀23-ic] [![Open PRs][💄23-poi]][💄23-po] [![Closed PRs][👽23-pci]][👽23-pc] |
101
+ | [`rubocop-ruby2_4`][⛳️24-gh] | [![Gem Version][⛳️24-vi]][⛳️24-g] | [![Total DL][🖇️24-dti]][⛳️24-g] [![DL Rank][🏘️24-rti]][⛳️24-g] | [![Current][🚎24-cwfi]][🚎24-cwf] [![Heads][🖐24-hwfi]][🖐24-hwf] | [![Open Issues][📗24-ioi]][📗24-io] [![Closed Issues][🚀24-ici]][🚀24-ic] [![Open PRs][💄24-poi]][💄24-po] [![Closed PRs][👽24-pci]][👽24-pc] |
102
+ | [`rubocop-ruby2_5`][⛳️25-gh] | [![Gem Version][⛳️25-vi]][⛳️25-g] | [![Total DL][🖇️25-dti]][⛳️25-g] [![DL Rank][🏘️25-rti]][⛳️25-g] | [![Current][🚎25-cwfi]][🚎25-cwf] [![Heads][🖐25-hwfi]][🖐25-hwf] | [![Open Issues][📗25-ioi]][📗25-io] [![Closed Issues][🚀25-ici]][🚀25-ic] [![Open PRs][💄25-poi]][💄25-po] [![Closed PRs][👽25-pci]][👽25-pc] |
103
+ | [`rubocop-ruby2_6`][⛳️26-gh] | [![Gem Version][⛳️26-vi]][⛳️26-g] | [![Total DL][🖇️26-dti]][⛳️26-g] [![DL Rank][🏘️26-rti]][⛳️26-g] | [![Current][🚎26-cwfi]][🚎26-cwf] [![Heads][🖐26-hwfi]][🖐26-hwf] | [![Open Issues][📗26-ioi]][📗26-io] [![Closed Issues][🚀26-ici]][🚀26-ic] [![Open PRs][💄26-poi]][💄26-po] [![Closed PRs][👽26-pci]][👽26-pc] |
104
+ | [`rubocop-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-pc] |
105
+ | [`rubocop-ruby3_0`][⛳️30-gh] | [![Gem Version][⛳️30-vi]][⛳️30-g] | [![Total DL][🖇️30-dti]][⛳️30-g] [![DL Rank][🏘️30-rti]][⛳️30-g] | [![Current][🚎30-cwfi]][🚎30-cwf] [![Heads][🖐30-hwfi]][🖐30-hwf] | [![Open Issues][📗30-ioi]][📗30-io] [![Closed Issues][🚀30-ici]][🚀30-ic] [![Open PRs][💄30-poi]][💄30-po] [![Closed PRs][👽30-pci]][👽30-pc] |
106
+ | [`rubocop-ruby3_1`][⛳️31-gh] | [![Gem Version][⛳️31-vi]][⛳️31-g] | [![Total DL][🖇️31-dti]][⛳️31-g] [![DL Rank][🏘️31-rti]][⛳️31-g] | [![Current][🚎31-cwfi]][🚎31-cwf] [![Heads][🖐31-hwfi]][🖐31-hwf] | [![Open Issues][📗31-ioi]][📗31-io] [![Closed Issues][🚀31-ici]][🚀31-ic] [![Open PRs][💄31-poi]][💄31-po] [![Closed PRs][👽31-pci]][👽31-pc] |
107
+ | [`rubocop-ruby3_2`][⛳️32-gh] | [![Gem Version][⛳️32-vi]][⛳️32-g] | [![Total DL][🖇️32-dti]][⛳️32-g] [![DL Rank][🏘️32-rti]][⛳️32-g] | [![Current][🚎32-cwfi]][🚎32-cwf] [![Heads][🖐32-hwfi]][🖐32-hwf] | [![Open Issues][📗32-ioi]][📗32-io] [![Closed Issues][🚀32-ici]][🚀32-ic] [![Open PRs][💄32-poi]][💄32-po] [![Closed PRs][👽32-pci]][👽32-pc] |
67
108
 
68
- | Gem Name | Version | Downloads | CI | Activity |
69
- |------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
70
- | [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] [![Legacy][🧮lts-lwfi]][🧮lts-lwf] [![Heads][🖐lts-hwfi]][🖐lts-hwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
71
- | [`rubocop-ruby1_9`][⛳️19-gh] | [![Gem Version][⛳️19-vi]][⛳️19-g] | [![Total DL][🖇️19-dti]][⛳️19-g] [![DL Rank][🏘️19-rti]][⛳️19-g] | [![Current][🚎19-cwfi]][🚎19-cwf] [![Legacy][🧮19-lwfi]][🧮19-lwf] | [![Open Issues][📗19-ioi]][📗19-io] [![Closed Issues][🚀19-ici]][🚀19-ic] [![Open PRs][💄19-poi]][💄19-po] [![Closed PRs][👽19-pci]][👽19-pc] |
72
- | [`rubocop-ruby2_0`][⛳️20-gh] | [![Gem Version][⛳️20-vi]][⛳️20-g] | [![Total DL][🖇️20-dti]][⛳️20-g] [![DL Rank][🏘️20-rti]][⛳️20-g] | [![Current][🚎20-cwfi]][🚎20-cwf] [![Legacy][🧮20-lwfi]][🧮20-lwf] | [![Open Issues][📗20-ioi]][📗20-io] [![Closed Issues][🚀20-ici]][🚀20-ic] [![Open PRs][💄20-poi]][💄20-po] [![Closed PRs][👽20-pci]][👽20-pc] |
73
- | [`rubocop-ruby2_1`][⛳️21-gh] | [![Gem Version][⛳️21-vi]][⛳️21-g] | [![Total DL][🖇️21-dti]][⛳️21-g] [![DL Rank][🏘️21-rti]][⛳️21-g] | [![Current][🚎21-cwfi]][🚎21-cwf] [![Legacy][🧮21-lwfi]][🧮21-lwf] | [![Open Issues][📗21-ioi]][📗21-io] [![Closed Issues][🚀21-ici]][🚀21-ic] [![Open PRs][💄21-poi]][💄21-po] [![Closed PRs][👽21-pci]][👽21-pc] |
74
- | [`rubocop-ruby2_2`][⛳️22-gh] | [![Gem Version][⛳️22-vi]][⛳️22-g] | [![Total DL][🖇️22-dti]][⛳️22-g] [![DL Rank][🏘️22-rti]][⛳️22-g] | [![Current][🚎22-cwfi]][🚎22-cwf] [![Legacy][🧮22-lwfi]][🧮22-lwf] | [![Open Issues][📗22-ioi]][📗22-io] [![Closed Issues][🚀22-ici]][🚀22-ic] [![Open PRs][💄22-poi]][💄22-po] [![Closed PRs][👽22-pci]][👽22-pc] |
75
- | [`rubocop-ruby2_3`][⛳️23-gh] | [![Gem Version][⛳️23-vi]][⛳️23-g] | [![Total DL][🖇️23-dti]][⛳️23-g] [![DL Rank][🏘️23-rti]][⛳️23-g] | [![Current][🚎23-cwfi]][🚎23-cwf] [![Legacy][🧮23-lwfi]][🧮23-lwf] | [![Open Issues][📗23-ioi]][📗23-io] [![Closed Issues][🚀23-ici]][🚀23-ic] [![Open PRs][💄23-poi]][💄23-po] [![Closed PRs][👽23-pci]][👽23-pc] |
76
- | [`rubocop-ruby2_4`][⛳️24-gh] | [![Gem Version][⛳️24-vi]][⛳️24-g] | [![Total DL][🖇️24-dti]][⛳️24-g] [![DL Rank][🏘️24-rti]][⛳️24-g] | [![Current][🚎24-cwfi]][🚎24-cwf] [![Legacy][🧮24-lwfi]][🧮24-lwf] | [![Open Issues][📗24-ioi]][📗24-io] [![Closed Issues][🚀24-ici]][🚀24-ic] [![Open PRs][💄24-poi]][💄24-po] [![Closed PRs][👽24-pci]][👽24-pc] |
77
- | [`rubocop-ruby2_5`][⛳️25-gh] | [![Gem Version][⛳️25-vi]][⛳️25-g] | [![Total DL][🖇️25-dti]][⛳️25-g] [![DL Rank][🏘️25-rti]][⛳️25-g] | [![Current][🚎25-cwfi]][🚎25-cwf] [![Heads][🖐25-hwfi]][🖐25-hwf] [![Legacy][🧮25-lwfi]][🧮25-lwf] | [![Open Issues][📗25-ioi]][📗25-io] [![Closed Issues][🚀25-ici]][🚀25-ic] [![Open PRs][💄25-poi]][💄25-po] [![Closed PRs][👽25-pci]][👽25-pc] |
78
- | [`rubocop-ruby2_6`][⛳️26-gh] | [![Gem Version][⛳️26-vi]][⛳️26-g] | [![Total DL][🖇️26-dti]][⛳️26-g] [![DL Rank][🏘️26-rti]][⛳️26-g] | [![Current][🚎26-cwfi]][🚎26-cwf] [![Heads][🖐26-hwfi]][🖐26-hwf] [![Legacy][🧮26-lwfi]][🧮26-lwf] | [![Open Issues][📗26-ioi]][📗26-io] [![Closed Issues][🚀26-ici]][🚀26-ic] [![Open PRs][💄26-poi]][💄26-po] [![Closed PRs][👽26-pci]][👽26-pc] |
79
- | [`rubocop-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-pc] |
80
- | [`rubocop-ruby3_0`][⛳️30-gh] | [![Gem Version][⛳️30-vi]][⛳️30-g] | [![Total DL][🖇️30-dti]][⛳️30-g] [![DL Rank][🏘️30-rti]][⛳️30-g] | [![Current][🚎30-cwfi]][🚎30-cwf] [![Heads][🖐30-hwfi]][🖐30-hwf] | [![Open Issues][📗30-ioi]][📗30-io] [![Closed Issues][🚀30-ici]][🚀30-ic] [![Open PRs][💄30-poi]][💄30-po] [![Closed PRs][👽30-pci]][👽30-pc] |
81
- | [`rubocop-ruby3_1`][⛳️31-gh] | [![Gem Version][⛳️31-vi]][⛳️31-g] | [![Total DL][🖇️31-dti]][⛳️31-g] [![DL Rank][🏘️31-rti]][⛳️31-g] | [![Current][🚎31-cwfi]][🚎31-cwf] [![Heads][🖐31-hwfi]][🖐31-hwf] | [![Open Issues][📗31-ioi]][📗31-io] [![Closed Issues][🚀31-ici]][🚀31-ic] [![Open PRs][💄31-poi]][💄31-po] [![Closed PRs][👽31-pci]][👽31-pc] |
82
- | [`rubocop-ruby3_2`][⛳️32-gh] | [![Gem Version][⛳️32-vi]][⛳️32-g] | [![Total DL][🖇️32-dti]][⛳️32-g] [![DL Rank][🏘️32-rti]][⛳️32-g] | [![Current][🚎32-cwfi]][🚎32-cwf] [![Heads][🖐32-hwfi]][🖐32-hwf] | [![Open Issues][📗32-ioi]][📗32-io] [![Closed Issues][🚀32-ici]][🚀32-ic] [![Open PRs][💄32-poi]][💄32-po] [![Closed PRs][👽32-pci]][👽32-pc] |
109
+ ## Installation
83
110
 
84
- ## Installation
111
+ Install the gem and add to the application's Gemfile by executing:
85
112
 
86
- Without bundler execute:
113
+ $ bundle add rubocop-lts -r false
87
114
 
88
- $ gem install
115
+ NOTE: If you are using **Rails** remove the `-r false`,
116
+ so the Railtie will load and rake tasks will be loaded automatically.
89
117
 
90
- Add this line to your application's Gemfile:
118
+ If bundler is not being used to manage dependencies, install the gem by executing:
119
+
120
+ $ gem install rubocop-lts
121
+
122
+ Or add this line to your application's Gemfile:
91
123
 
92
124
  <!-- FIND VERSION -->
93
125
  ```ruby
94
- gem 'rubocop-lts', '~> 2.0', require: false
126
+ gem "rubocop-lts", "~> 2.1", require: false
95
127
  ```
96
128
 
97
129
  And then execute:
98
130
 
99
131
  $ bundle
100
132
 
133
+ ### Dependabot Noise Reduction
134
+
135
+ Add the following to `.github/dependabot.yml` if you use Github Actions.
136
+
137
+ ```yaml
138
+ ignore:
139
+ - dependency-name: "rubocop-lts"
140
+ ```
141
+
101
142
  <!-- columnar badge #s for Project Health table:
102
143
  ⛳️
103
144
  🖇
@@ -118,8 +159,6 @@ And then execute:
118
159
  [🚎lts-cwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
119
160
  [🖐lts-hwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
120
161
  [🖐lts-hwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml/badge.svg
121
- [🧮lts-lwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml
122
- [🧮lts-lwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml/badge.svg
123
162
  [📗lts-io]: https://github.com/rubocop-lts/rubocop-lts/issues
124
163
  [📗lts-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-lts
125
164
  [🚀lts-ic]: https://github.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
@@ -130,6 +169,23 @@ And then execute:
130
169
  [👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
131
170
  [⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
132
171
  [⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
172
+ [⛳️18-vi]: http://img.shields.io/gem/v/rubocop-ruby1_8.svg
173
+ [🖇️18-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_8.svg
174
+ [🏘️18-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_8.svg
175
+ [🚎18-cwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml
176
+ [🚎18-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/current.yml/badge.svg
177
+ [🖐18-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml
178
+ [🖐18-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_8/actions/workflows/heads.yml/badge.svg
179
+ [📗18-io]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues
180
+ [📗18-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_8
181
+ [🚀18-ic]: https://github.com/rubocop-lts/rubocop-ruby1_8/issues?q=is%3Aissue+is%3Aclosed
182
+ [🚀18-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby1_8
183
+ [💄18-po]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls
184
+ [💄18-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby1_8
185
+ [👽18-pc]: https://github.com/rubocop-lts/rubocop-ruby1_8/pulls?q=is%3Apr+is%3Aclosed
186
+ [👽18-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby1_8
187
+ [⛳️18-g]: https://rubygems.org/gems/rubocop-ruby1_8
188
+ [⛳️18-gh]: https://github.com/rubocop-lts/rubocop-ruby1_8
133
189
  [⛳️19-vi]: http://img.shields.io/gem/v/rubocop-ruby1_9.svg
134
190
  [🖇️19-dti]: https://img.shields.io/gem/dt/rubocop-ruby1_9.svg
135
191
  [🏘️19-rti]: https://img.shields.io/gem/rt/rubocop-ruby1_9.svg
@@ -137,8 +193,6 @@ And then execute:
137
193
  [🚎19-cwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/current.yml/badge.svg
138
194
  [🖐19-hwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml
139
195
  [🖐19-hwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/heads.yml/badge.svg
140
- [🧮19-lwf]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml
141
- [🧮19-lwfi]: https://github.com/rubocop-lts/rubocop-ruby1_9/actions/workflows/legacy.yml/badge.svg
142
196
  [📗19-io]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
143
197
  [📗19-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby1_9
144
198
  [🚀19-ic]: https://github.com/rubocop-lts/rubocop-ruby1_9/issues?q=is%3Aissue+is%3Aclosed
@@ -156,8 +210,6 @@ And then execute:
156
210
  [🚎20-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/current.yml/badge.svg
157
211
  [🖐20-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml
158
212
  [🖐20-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/heads.yml/badge.svg
159
- [🧮20-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml
160
- [🧮20-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_0/actions/workflows/legacy.yml/badge.svg
161
213
  [📗20-io]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues
162
214
  [📗20-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_0
163
215
  [🚀20-ic]: https://github.com/rubocop-lts/rubocop-ruby2_0/issues?q=is%3Aissue+is%3Aclosed
@@ -175,8 +227,6 @@ And then execute:
175
227
  [🚎21-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/current.yml/badge.svg
176
228
  [🖐21-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml
177
229
  [🖐21-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/heads.yml/badge.svg
178
- [🧮21-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml
179
- [🧮21-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions/workflows/legacy.yml/badge.svg
180
230
  [📗21-io]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
181
231
  [📗21-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_1
182
232
  [🚀21-ic]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues?q=is%3Aissue+is%3Aclosed
@@ -194,8 +244,6 @@ And then execute:
194
244
  [🚎22-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/current.yml/badge.svg
195
245
  [🖐22-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml
196
246
  [🖐22-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/heads.yml/badge.svg
197
- [🧮22-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml
198
- [🧮22-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_2/actions/workflows/legacy.yml/badge.svg
199
247
  [📗22-io]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues
200
248
  [📗22-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_2
201
249
  [🚀22-ic]: https://github.com/rubocop-lts/rubocop-ruby2_2/issues?q=is%3Aissue+is%3Aclosed
@@ -213,8 +261,6 @@ And then execute:
213
261
  [🚎23-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/current.yml/badge.svg
214
262
  [🖐23-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml
215
263
  [🖐23-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/heads.yml/badge.svg
216
- [🧮23-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml
217
- [🧮23-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_3/actions/workflows/legacy.yml/badge.svg
218
264
  [📗23-io]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues
219
265
  [📗23-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_3
220
266
  [🚀23-ic]: https://github.com/rubocop-lts/rubocop-ruby2_3/issues?q=is%3Aissue+is%3Aclosed
@@ -232,8 +278,6 @@ And then execute:
232
278
  [🚎24-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/current.yml/badge.svg
233
279
  [🖐24-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml
234
280
  [🖐24-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/heads.yml/badge.svg
235
- [🧮24-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml
236
- [🧮24-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_4/actions/workflows/legacy.yml/badge.svg
237
281
  [📗24-io]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues
238
282
  [📗24-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_4
239
283
  [🚀24-ic]: https://github.com/rubocop-lts/rubocop-ruby2_4/issues?q=is%3Aissue+is%3Aclosed
@@ -251,8 +295,6 @@ And then execute:
251
295
  [🚎25-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/current.yml/badge.svg
252
296
  [🖐25-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml
253
297
  [🖐25-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/heads.yml/badge.svg
254
- [🧮25-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml
255
- [🧮25-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions/workflows/legacy.yml/badge.svg
256
298
  [📗25-io]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
257
299
  [📗25-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_5
258
300
  [🚀25-ic]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues?q=is%3Aissue+is%3Aclosed
@@ -270,8 +312,6 @@ And then execute:
270
312
  [🚎26-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml/badge.svg
271
313
  [🖐26-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml
272
314
  [🖐26-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml/badge.svg
273
- [🧮26-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml
274
- [🧮26-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml/badge.svg
275
315
  [📗26-io]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
276
316
  [📗26-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_6
277
317
  [🚀26-ic]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues?q=is%3Aissue+is%3Aclosed
@@ -289,8 +329,6 @@ And then execute:
289
329
  [🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
290
330
  [🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
291
331
  [🖐27-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml/badge.svg
292
- [🧮27-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml
293
- [🧮27-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml/badge.svg
294
332
  [📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
295
333
  [📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
296
334
  [🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
@@ -308,8 +346,6 @@ And then execute:
308
346
  [🚎30-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml/badge.svg
309
347
  [🖐30-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml
310
348
  [🖐30-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml/badge.svg
311
- [🧮30-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml
312
- [🧮30-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml/badge.svg
313
349
  [📗30-io]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
314
350
  [📗30-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_0
315
351
  [🚀30-ic]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues?q=is%3Aissue+is%3Aclosed
@@ -327,8 +363,6 @@ And then execute:
327
363
  [🚎31-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
328
364
  [🖐31-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
329
365
  [🖐31-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml/badge.svg
330
- [🧮31-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml
331
- [🧮31-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml/badge.svg
332
366
  [📗31-io]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
333
367
  [📗31-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_1
334
368
  [🚀31-ic]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues?q=is%3Aissue+is%3Aclosed
@@ -346,8 +380,6 @@ And then execute:
346
380
  [🚎32-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/current.yml/badge.svg
347
381
  [🖐32-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml
348
382
  [🖐32-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/heads.yml/badge.svg
349
- [🧮32-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml
350
- [🧮32-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_2/actions/workflows/legacy.yml/badge.svg
351
383
  [📗32-io]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues
352
384
  [📗32-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_2
353
385
  [🚀32-ic]: https://github.com/rubocop-lts/rubocop-ruby3_2/issues?q=is%3Aissue+is%3Aclosed
@@ -391,8 +423,6 @@ And then execute:
391
423
 
392
424
  [tweetme]: http://twitter.com/galtzo
393
425
 
394
- [politicme]: https://nationalprogressiveparty.org
395
-
396
426
  [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-lts/main
397
427
 
398
428
  [source]: https://github.com/rubocop-lts/rubocop-lts/
data/SECURITY.md CHANGED
@@ -2,30 +2,37 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- | 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-ruby1_9: rubocop-lts/rails.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/rails_rspec.yml
data/config/rspec.yml ADDED
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/rspec.yml
data/config/ruby.yml ADDED
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/ruby.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/ruby_rspec.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/rubygem.yml
@@ -0,0 +1,2 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-lts/rubygem_rspec.yml
@@ -3,6 +3,8 @@
3
3
 
4
4
  module Rubocop
5
5
  module Lts
6
- VERSION = "2.0.5".freeze
6
+ module Version
7
+ VERSION = "2.1.0"
8
+ end
7
9
  end
8
10
  end
data/lib/rubocop/lts.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  # encoding: utf-8
2
2
  # frozen_string_literal: true
3
3
 
4
+ # external libs
5
+ require "version_gem"
6
+
4
7
  require_relative "lts/version"
5
8
 
6
9
  module Rubocop
@@ -9,3 +12,7 @@ module Rubocop
9
12
  # Your code goes here...
10
13
  end
11
14
  end
15
+
16
+ Rubocop::Lts::Version.class_eval do
17
+ extend VersionGem::Basic
18
+ end
data/rubocop-lts.yml CHANGED
@@ -1,19 +1,15 @@
1
- inherit_gem:
2
- rubocop-ruby1_9: 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
3
13
 
4
- # Removed as of 0.80.0
5
- # braces setting is for compatibility with Ruby 2.7+
6
- # See:
7
- # * https://github.com/rubocop/rubocop/issues/7641
8
- # * https://github.com/rubocop/rubocop/pull/7643
9
- Style/BracesAroundHashParameters:
10
- Enabled: true
11
- EnforcedStyle: context_dependent
12
-
13
- # The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
14
- # Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
15
- # See:
16
- # * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
17
- Style/Encoding:
18
- Enabled: true
19
- EnforcedStyle: always
14
+ inherit_from:
15
+ - config/ruby_rspec.yml
data/sig/rubocop/lts.rbs CHANGED
@@ -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: 2.0.5
4
+ version: 2.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-08 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-ruby1_9
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
- - - "~>"
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.0.4
48
+ - - "<"
18
49
  - !ruby/object:Gem::Version
19
- version: 1.0.5
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.4
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.5
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,27 @@ 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
- - rubocop-lts1_8.yml
44
132
  - sig/rubocop/lts.rbs
45
133
  homepage: https://github.com/rubocop-lts/rubocop-lts
46
134
  licenses:
47
135
  - MIT
48
136
  metadata:
49
137
  homepage_uri: https://github.com/rubocop-lts/rubocop-lts
50
- source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v2.0.5
51
- changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v2.0.5/CHANGELOG.md
138
+ source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v2.1.0
139
+ changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v2.1.0/CHANGELOG.md
52
140
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
53
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.0.5
141
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.1.0
142
+ funding_uri: https://liberapay.com/pboling
54
143
  wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
55
144
  rubygems_mfa_required: 'true'
56
145
  post_install_message:
@@ -61,18 +150,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
150
  requirements:
62
151
  - - ">="
63
152
  - !ruby/object:Gem::Version
64
- version: 1.9.0
65
- - - "<"
66
- - !ruby/object:Gem::Version
67
- version: '4.0'
153
+ version: '2.7'
68
154
  required_rubygems_version: !ruby/object:Gem::Requirement
69
155
  requirements:
70
156
  - - ">="
71
157
  - !ruby/object:Gem::Version
72
158
  version: '0'
73
159
  requirements: []
74
- rubygems_version: 3.3.15
160
+ rubygems_version: 3.4.13
75
161
  signing_key:
76
162
  specification_version: 4
77
- summary: Rubocop LTS - Semantically Versioned
163
+ summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
78
164
  test_files: []
metadata.gz.sig ADDED
Binary file
data/rubocop-lts1_8.yml DELETED
@@ -1,34 +0,0 @@
1
- inherit_gem:
2
- rubocop-ruby1_9: rubocop-ruby1_8.yml
3
-
4
- ###################################################################
5
- # Rules that allow preservation of ruby 1.8.7 / ree compatibility #
6
- ###################################################################
7
-
8
- Style/Documentation:
9
- Enabled: false
10
-
11
- # Ruby 1.8.7 needs the . on chain of method calls at the end of a line
12
- Style/DotPosition:
13
- EnforcedStyle: trailing
14
-
15
- Style/FrozenStringLiteralComment:
16
- Enabled: true
17
-
18
- # Ruby 1.8.7 doesn't have 1.9 style hash syntax
19
- Style/HashSyntax:
20
- EnforcedStyle: hash_rockets
21
-
22
- # Ruby 1.8.7 doesn't have the -> lambda
23
- Style/Lambda:
24
- Enabled: false
25
-
26
- Style/PercentLiteralDelimiters:
27
- Enabled: false
28
-
29
- Style/SymbolArray:
30
- EnforcedStyle: brackets
31
-
32
- Style/WordArray:
33
- EnforcedStyle: brackets
34
-