standard-rubocop-lts 2.0.10 → 2.0.11
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +93 -1
- data/LICENSE.md +1 -1
- data/README.md +43 -47
- data/config/base.yml +4 -0
- data/lib/standard/rubocop/lts/version.rb +4 -1
- data/lib/standard/rubocop/lts.rb +0 -6
- data/lib/standard-rubocop-lts.rb +6 -0
- data/sig/standard/rubocop/lts.rbs +2 -0
- data.tar.gz.sig +0 -0
- metadata +67 -64
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -275
- data/FUNDING.md +0 -70
- data/MIT.md +0 -21
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/standard/rubocop/lts/version.rbs +0 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4fa9e6b8de7d49b00c42cec88958c45023ea3c8381493eca6d29a7ea415bb887
|
|
4
|
+
data.tar.gz: 11a103b88dd6f359b429d344615ec3d6de7e96ab0c5406fecedf4bbd46833a1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84d0a30ea204e33b350309b57c278bdc3015d45157510c1e3f75421374d250da350aaafb7610eb3ae86e2d525c649882bb84cad965e9ded44635bae60c5d5830
|
|
7
|
+
data.tar.gz: 15ce43a0ff03d45f8d7336704cdc654b121b22019b9b6204650c8b07f3bf73aa1eb16ebc124a91b6b2a32030dfd26c19c4ac2303130c0015f3d388374e5aecf0
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,96 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [2.0.11] - 2026-09-07
|
|
34
|
+
|
|
35
|
+
- TAG: [v2.0.11][2.0.11t]
|
|
36
|
+
- COVERAGE: 100.00% -- 19/19 lines in 4 files
|
|
37
|
+
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 4 files
|
|
38
|
+
- 100.00% documented
|
|
39
|
+
|
|
40
|
+
### Added
|
|
41
|
+
|
|
42
|
+
- kettle-jem-template-20260720-005 - README Support & Community links now
|
|
43
|
+
include RubyForum.
|
|
44
|
+
- kettle-jem-template-20260726-001 - Projects now include YARD lint
|
|
45
|
+
configuration and documentation dependencies so documentation issues fail
|
|
46
|
+
before generated docs are refreshed.
|
|
47
|
+
- kettle-jem-template-20260727-001 - Spec harness documentation now lists the
|
|
48
|
+
RSpec helpers provided by `kettle-test`.
|
|
49
|
+
|
|
50
|
+
- Enable the shared rubocop-lts-ruby API compatibility plugin in every versioned LTS profile.
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
|
|
54
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
55
|
+
files, reducing package noise for downstream packagers.
|
|
56
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
57
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
58
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
59
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
60
|
+
specs are not managed for the project.
|
|
61
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
62
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
63
|
+
installing the main Gemfile bundle.
|
|
64
|
+
|
|
65
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
66
|
+
use ClickGems instead of BestGems.
|
|
67
|
+
|
|
68
|
+
- [kc] kettle-jem/prepare: updated 55 project files:
|
|
69
|
+
- configuration (1)
|
|
70
|
+
- dependencies (52)
|
|
71
|
+
- other (2)
|
|
72
|
+
|
|
73
|
+
- [kc] kettle-jem/template: updated 59 project files:
|
|
74
|
+
- code and tests (5)
|
|
75
|
+
- configuration (1)
|
|
76
|
+
- dependencies (40)
|
|
77
|
+
- documentation (2)
|
|
78
|
+
- other (10)
|
|
79
|
+
- workflows (1)
|
|
80
|
+
|
|
81
|
+
### Fixed
|
|
82
|
+
|
|
83
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
84
|
+
uses the installed `smorg-rb` driver command.
|
|
85
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
86
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
87
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
88
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
89
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
90
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
91
|
+
coverage thresholds still pass.
|
|
92
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
93
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
94
|
+
installs are not reported as project lint debt.
|
|
95
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
96
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
97
|
+
before the test suite starts.
|
|
98
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
99
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
100
|
+
lockfile parser failures on Git and path dependencies.
|
|
101
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
102
|
+
missing canonical version spec when a project only has shim namespace version
|
|
103
|
+
specs.
|
|
104
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
105
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
106
|
+
even when the gemspec is loaded from another working directory.
|
|
107
|
+
|
|
108
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
109
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
110
|
+
parameter names from producing invalid configuration after a merge.
|
|
111
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
112
|
+
documentation now normalize configured underscore hostnames to valid
|
|
113
|
+
hyphenated hostnames.
|
|
114
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
115
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
116
|
+
matching Galtzo-hosted asset exists.
|
|
117
|
+
|
|
118
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
119
|
+
preserving comments and trailing commas during template updates.
|
|
120
|
+
|
|
121
|
+
- Updated the License-Eye dependency override for standard 1.56.0 so the license compatibility workflow recognizes the locked dependency.
|
|
122
|
+
|
|
33
123
|
## [2.0.10] - 2026-07-03
|
|
34
124
|
|
|
35
125
|
- TAG: [v2.0.10][2.0.10t]
|
|
@@ -322,7 +412,9 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
322
412
|
|
|
323
413
|
- Initial release
|
|
324
414
|
|
|
325
|
-
[Unreleased]: https://github.com/rubocop-lts/standard-rubocop-lts/compare/v2.0.
|
|
415
|
+
[Unreleased]: https://github.com/rubocop-lts/standard-rubocop-lts/compare/v2.0.11...HEAD
|
|
416
|
+
[2.0.11]: https://github.com/rubocop-lts/standard-rubocop-lts/compare/v2.0.10...v2.0.11
|
|
417
|
+
[2.0.11t]: https://github.com/rubocop-lts/standard-rubocop-lts/releases/tag/v2.0.11
|
|
326
418
|
[2.0.10]: https://github.com/rubocop-lts/standard-rubocop-lts/compare/v2.0.9...v2.0.10
|
|
327
419
|
[2.0.10t]: https://github.com/rubocop-lts/standard-rubocop-lts/releases/tag/v2.0.10
|
|
328
420
|
[2.0.9]: https://github.com/rubocop-lts/standard-rubocop-lts/compare/v2.0.8...v2.0.9
|
data/LICENSE.md
CHANGED
data/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<a href="https://github.com/rubocop-lts"><img alt="rubocop-lts Logo by
|
|
1
|
+
<a href="https://github.com/rubocop-lts"><img alt="rubocop-lts Logo by GitHub" src="https://github.com/rubocop-lts.png?size=192" width="14%" align="right"/></a>
|
|
2
2
|
|
|
3
3
|
# 🦾 Standard::Rubocop::Lts
|
|
4
4
|
|
|
5
|
-
[![Version][👽versioni]][👽version] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![
|
|
5
|
+
[![Version][👽versioni]][👽version] [![Ruby Users Forum][✉️ruby-forum-top-img]][✉️ruby-forum] [![GitHub tag (latest SemVer)][⛳️tag-img]][⛳️tag] [![License: MIT][📄license-img]][📄license] [![Total downloads][👽dl-ranki]][👽dl-rank] [![CodeCov Test Coverage][🏀codecovi]][🏀codecov] [![Coveralls Test Coverage][🏀coveralls-img]][🏀coveralls] [![QLTY Test Coverage][🏀qlty-covi]][🏀qlty-cov] [![QLTY Maintainability][🏀qlty-mnti]][🏀qlty-mnt] [![CI Heads][🚎3-hd-wfi]][🚎3-hd-wf] [![CI Runtime Dependencies @ HEAD][🚎12-crh-wfi]][🚎12-crh-wf] [![CI Current][🚎11-c-wfi]][🚎11-c-wf] [![CI Truffle Ruby][🚎9-t-wfi]][🚎9-t-wf] [![CI JRuby][🚎10-j-wfi]][🚎10-j-wf] [![Deps Locked][🚎13-🔒️-wfi]][🚎13-🔒️-wf] [![Deps Unlocked][🚎14-🔓️-wfi]][🚎14-🔓️-wf] [![CI Test Coverage][🚎2-cov-wfi]][🚎2-cov-wf] [![CI Style][🚎5-st-wfi]][🚎5-st-wf] [![Apache SkyWalking Eyes License Compatibility Check][🚎15-🪪-wfi]][🚎15-🪪-wf]
|
|
6
6
|
|
|
7
|
-
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know][✉️discord-invite], as I may have missed the
|
|
7
|
+
`if ci_badges.map(&:color).detect { it != "green"}` ☝️ [let me know on Discord][✉️discord-invite] or [RubyForum][✉️ruby-forum], as I may have missed the notification.
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
@@ -48,8 +48,8 @@ Avoid bike-shedding, use [`rubocop-lts`][💎rlts] in every project, and let it
|
|
|
48
48
|
| Works with Truffle Ruby | [![Truffle Ruby 24.2 Compat][💎truby-24.2i]][🚎truby-24.2-wf] [![Truffle Ruby 25.0 Compat][💎truby-25.0i]][🚎truby-25.0-wf] [![Truffle Ruby 33.0 Compat][💎truby-33.0i]][🚎truby-33.0-wf] [![Truffle Ruby current Compat][💎truby-c-i]][🚎9-t-wf] [![Truffle Ruby HEAD Compat][💎truby-headi]][🚎3-hd-wf]|
|
|
49
49
|
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
50
50
|
| Works with MRI Ruby 3 | [![Ruby 3.2 Compat][💎ruby-3.2i]][🚎ruby-3.2-wf] [![Ruby 3.3 Compat][💎ruby-3.3i]][🚎ruby-3.3-wf] [![Ruby 3.4 Compat][💎ruby-3.4i]][🚎ruby-3.4-wf]|
|
|
51
|
-
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
52
|
-
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on
|
|
51
|
+
| Support & Community | [![Join Me on Daily.dev's RubyFriends][✉️ruby-friends-img]][✉️ruby-friends] [![Get help from RubyForum][✉️ruby-forum-img]][✉️ruby-forum] [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork] [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor] |
|
|
52
|
+
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on GitHub.com][📜src-gh-img]][📜src-gh] [![The best SHA: dQw4w9WgXcQ!][🧮kloc-img]][🧮kloc] |
|
|
53
53
|
| Documentation | [![Current release on RubyDoc.info][📜docs-cr-rd-img]][🚎yard-current] [![YARD on Galtzo.com][📜docs-head-rd-img]][🚎yard-head] [![Maintainer Blog][🚂maint-blog-img]][🚂maint-blog] [![GitLab Wiki][📜gl-wiki-img]][📜gl-wiki] [![GitHub Wiki][📜gh-wiki-img]][📜gh-wiki] |
|
|
54
54
|
| Compliance | [![License: MIT][📄license-img]][📄license] [![Apache license compatibility: Category A][📄license-compat-img]][📄license-compat] [![📄ilo-declaration-img]][📄ilo-declaration] [![Security Policy][🔐security-img]][🔐security] [![Contributor Covenant 2.1][🪇conduct-img]][🪇conduct] [![SemVer 2.0.0][📌semver-img]][📌semver] |
|
|
55
55
|
| Style | [![Enforced Code Style Linter][💎rlts-img]][💎rlts] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog] [![Gitmoji Commits][📌gitmoji-img]][📌gitmoji] [![Compatibility appraised by: appraisal2][💎appraisal2-img]][💎appraisal2] |
|
|
@@ -58,7 +58,7 @@ Avoid bike-shedding, use [`rubocop-lts`][💎rlts] in every project, and let it
|
|
|
58
58
|
|
|
59
59
|
### Compatibility
|
|
60
60
|
|
|
61
|
-
Compatible with MRI Ruby 3.2.0+,
|
|
61
|
+
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
62
62
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
63
63
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
64
64
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
@@ -71,16 +71,16 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
71
71
|
<details markdown="1">
|
|
72
72
|
<summary>How kettle-dev manages complexity in tests</summary>
|
|
73
73
|
|
|
74
|
-
| Gem | Source | Role |
|
|
74
|
+
| Gem | Source | Role | Total downloads |
|
|
75
75
|
|-----|--------|------|---------------------|
|
|
76
|
-
| [appraisal2](https://
|
|
77
|
-
| [appraisal2-rubocop](https://
|
|
78
|
-
| [kettle-dev](https://
|
|
79
|
-
| [kettle-jem](https://
|
|
80
|
-
| [kettle-soup-cover](https://
|
|
81
|
-
| [kettle-test](https://
|
|
82
|
-
| [rubocop-lts](https://
|
|
83
|
-
| [turbo_tests2](https://
|
|
76
|
+
| [appraisal2](https://clickgems.clickhouse.com/dashboard/appraisal2) | [GitHub](https://github.com/appraisal-rb/appraisal2) | multi-dependency Appraisal matrix generation | [](https://clickgems.clickhouse.com/dashboard/appraisal2) |
|
|
77
|
+
| [appraisal2-rubocop](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) | [GitHub](https://github.com/appraisal-rb/appraisal2-rubocop) | RuboCop Appraisal generator integration | [](https://clickgems.clickhouse.com/dashboard/appraisal2-rubocop) |
|
|
78
|
+
| [kettle-dev](https://clickgems.clickhouse.com/dashboard/kettle-dev) | [GitHub](https://github.com/kettle-dev/kettle-dev) | development, release, and CI workflow tooling | [](https://clickgems.clickhouse.com/dashboard/kettle-dev) |
|
|
79
|
+
| [kettle-jem](https://clickgems.clickhouse.com/dashboard/kettle-jem) | [GitHub](https://github.com/kettle-dev/kettle-jem) | Appraisals & CI workflow templates | [](https://clickgems.clickhouse.com/dashboard/kettle-jem) |
|
|
80
|
+
| [kettle-soup-cover](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) | [GitHub](https://github.com/kettle-dev/kettle-soup-cover) | SimpleCov coverage policy and reporting | [](https://clickgems.clickhouse.com/dashboard/kettle-soup-cover) |
|
|
81
|
+
| [kettle-test](https://clickgems.clickhouse.com/dashboard/kettle-test) | [GitHub](https://github.com/kettle-dev/kettle-test) | standard test runner and coverage harness | [](https://clickgems.clickhouse.com/dashboard/kettle-test) |
|
|
82
|
+
| [rubocop-lts](https://clickgems.clickhouse.com/dashboard/rubocop-lts) | [GitHub](https://github.com/rubocop-lts/rubocop-lts) | Ruby-version-aware linting | [](https://clickgems.clickhouse.com/dashboard/rubocop-lts) |
|
|
83
|
+
| [turbo_tests2](https://clickgems.clickhouse.com/dashboard/turbo_tests2) | [GitHub](https://github.com/galtzo-floss/turbo_tests2) | parallel test execution | [](https://clickgems.clickhouse.com/dashboard/turbo_tests2) |
|
|
84
84
|
|
|
85
85
|
</details>
|
|
86
86
|
|
|
@@ -89,18 +89,17 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
89
89
|
<details markdown="1">
|
|
90
90
|
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
91
91
|
|
|
92
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
93
|
-
|
|
94
|
-
| 🧪 [rubocop-lts/standard-rubocop-lts on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
95
|
-
| 🧊 [rubocop-lts/standard-rubocop-lts on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
96
|
-
| 🐙 [rubocop-lts/standard-rubocop-lts on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
97
|
-
| 🎮️ [Discord Server][✉️discord-invite] | [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite] | [Let's][✉️discord-invite] | [talk][✉️discord-invite] | [about][✉️discord-invite] | [this][✉️discord-invite] | [library!][✉️discord-invite] |
|
|
92
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
93
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
94
|
+
| 🧪 [rubocop-lts/standard-rubocop-lts on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
95
|
+
| 🧊 [rubocop-lts/standard-rubocop-lts on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
96
|
+
| 🐙 [rubocop-lts/standard-rubocop-lts on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
98
97
|
|
|
99
98
|
</details>
|
|
100
99
|
|
|
101
|
-
|
|
100
|
+
### Enterprise Support
|
|
102
101
|
|
|
103
|
-
|
|
102
|
+
[](https://tidelift.com/subscription/pkg/rubygems-standard-rubocop-lts?utm_source=rubygems-standard-rubocop-lts&utm_medium=referral&utm_campaign=readme)
|
|
104
103
|
|
|
105
104
|
Available as part of the Tidelift Subscription.
|
|
106
105
|
|
|
@@ -117,6 +116,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
|
|
|
117
116
|
|
|
118
117
|
Alternatively:
|
|
119
118
|
|
|
119
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
120
120
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
121
121
|
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
122
122
|
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
@@ -139,6 +139,12 @@ gem install standard-rubocop-lts
|
|
|
139
139
|
|
|
140
140
|
## ⚙️ Configuration
|
|
141
141
|
|
|
142
|
+
Select a Ruby-version-specific profile through Standard's `.rubocop.yml`
|
|
143
|
+
inheritance configuration. The existing Basic Usage example uses
|
|
144
|
+
`config/ruby-{RUBY_MAJOR_VERSION}.{RUBY_MINOR_VERSION}.yml`; replace the
|
|
145
|
+
placeholders with the minimum Ruby version your project supports. This gem has
|
|
146
|
+
no runtime application settings.
|
|
147
|
+
|
|
142
148
|
## 🔧 Basic Usage
|
|
143
149
|
|
|
144
150
|
Add to the top of your project's `.rubocop.yml` configuration file:
|
|
@@ -294,8 +300,7 @@ See [SECURITY.md][🔐security].
|
|
|
294
300
|
## 🤝 Contributing
|
|
295
301
|
|
|
296
302
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
297
|
-
|
|
298
|
-
or use the gem and think about how it could be better.
|
|
303
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
299
304
|
|
|
300
305
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
301
306
|
|
|
@@ -331,19 +336,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
331
336
|
|
|
332
337
|
Also see GitLab Contributors: [https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/graphs/main][🚎contributors-gl]
|
|
333
338
|
|
|
334
|
-
<details markdown="1">
|
|
335
|
-
<summary>⭐️ Star History</summary>
|
|
336
|
-
|
|
337
|
-
<a href="https://star-history.com/rubocop-lts/standard-rubocop-lts&Date">
|
|
338
|
-
<picture>
|
|
339
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/standard-rubocop-lts&type=Date&theme=dark" />
|
|
340
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/standard-rubocop-lts&type=Date" />
|
|
341
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rubocop-lts/standard-rubocop-lts&type=Date" />
|
|
342
|
-
</picture>
|
|
343
|
-
</a>
|
|
344
|
-
|
|
345
|
-
</details>
|
|
346
|
-
|
|
347
339
|
## 📌 Versioning
|
|
348
340
|
|
|
349
341
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -373,7 +365,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
|
373
365
|
## 📄 License
|
|
374
366
|
|
|
375
367
|
The gem is available as open source under the terms of
|
|
376
|
-
the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
368
|
+
the [MIT](https://github.com/rubocop-lts/standard-rubocop-lts/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
377
369
|
|
|
378
370
|
### © Copyright
|
|
379
371
|
|
|
@@ -395,11 +387,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
|
|
|
395
387
|
so if you value the work I am doing, I need your support.
|
|
396
388
|
Please consider sponsoring me or the project.
|
|
397
389
|
|
|
398
|
-
To join the community or get help
|
|
390
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
399
391
|
|
|
392
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
400
393
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
401
394
|
|
|
402
|
-
To say "thanks!" ☝️ Join the
|
|
395
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
403
396
|
|
|
404
397
|
[![Sponsor rubocop-lts/standard-rubocop-lts on Open Source Collective][🖇osc-all-bottom-img]][🖇osc] 💌 [![Sponsor me on GitHub Sponsors][🖇sponsor-bottom-img]][🖇sponsor] 💌 [![Sponsor me on Liberapay][⛳liberapay-bottom-img]][⛳liberapay] 💌 [![Donate on PayPal][🖇paypal-bottom-img]][🖇paypal]
|
|
405
398
|
|
|
@@ -440,11 +433,14 @@ Thanks for RTFM. ☺️
|
|
|
440
433
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
441
434
|
[✉️ruby-friends-img]: https://img.shields.io/badge/daily.dev-%F0%9F%92%8E_Ruby_Friends-0A0A0A?style=for-the-badge&logo=dailydotdev&logoColor=white
|
|
442
435
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
436
|
+
[✉️ruby-forum-top-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=flat&logo=discourse&label=Ruby%20Users%20Forum
|
|
437
|
+
[✉️ruby-forum-img]: https://img.shields.io/discourse/topics?server=https%3A%2F%2Fwww.rubyforum.org&style=for-the-badge&logo=discourse&label=Ruby%20Users%20Forum
|
|
438
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/rubocop-lts
|
|
443
439
|
|
|
444
440
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
445
441
|
[⛳️gem-namespace]: https://github.com/rubocop-lts/standard-rubocop-lts
|
|
446
442
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Standard::Rubocop::Lts-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
447
|
-
[⛳️gem-name]: https://
|
|
443
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/standard-rubocop-lts
|
|
448
444
|
[⛳️name-img]: https://img.shields.io/badge/name-standard--rubocop--lts-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
449
445
|
[⛳️tag-img]: https://img.shields.io/github/tag/rubocop-lts/standard-rubocop-lts.svg
|
|
450
446
|
[⛳️tag]: https://github.com/rubocop-lts/standard-rubocop-lts/releases
|
|
@@ -485,7 +481,7 @@ Thanks for RTFM. ☺️
|
|
|
485
481
|
[📜src-gl]: https://gitlab.com/rubocop-lts/standard-rubocop-lts
|
|
486
482
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
487
483
|
[📜src-cb]: https://codeberg.org/rubocop-lts/standard-rubocop-lts
|
|
488
|
-
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=
|
|
484
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
489
485
|
[📜src-gh]: https://github.com/rubocop-lts/standard-rubocop-lts
|
|
490
486
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
491
487
|
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
@@ -493,9 +489,9 @@ Thanks for RTFM. ☺️
|
|
|
493
489
|
[📜gh-wiki]: https://github.com/rubocop-lts/standard-rubocop-lts/wiki
|
|
494
490
|
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
495
491
|
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
496
|
-
[👽dl-rank]: https://
|
|
497
|
-
[👽dl-ranki]: https://img.shields.io/gem/
|
|
498
|
-
[👽version]: https://
|
|
492
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/standard-rubocop-lts
|
|
493
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/standard-rubocop-lts.svg
|
|
494
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/standard-rubocop-lts
|
|
499
495
|
[👽versioni]: https://img.shields.io/gem/v/standard-rubocop-lts.svg
|
|
500
496
|
[🏀qlty-mnt]: https://qlty.sh/gh/rubocop-lts/projects/standard-rubocop-lts
|
|
501
497
|
[🏀qlty-mnti]: https://qlty.sh/gh/rubocop-lts/projects/standard-rubocop-lts/maintainability.svg
|
|
@@ -576,7 +572,7 @@ Thanks for RTFM. ☺️
|
|
|
576
572
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
577
573
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
578
574
|
[📄license]: LICENSE.md
|
|
579
|
-
[📄license-ref]: MIT.md
|
|
575
|
+
[📄license-ref]: https://github.com/rubocop-lts/standard-rubocop-lts/blob/main/MIT.md
|
|
580
576
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
581
577
|
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
582
578
|
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
data/config/base.yml
CHANGED
|
@@ -8,6 +8,10 @@ AllCops:
|
|
|
8
8
|
# - rubocop-ruby*_*
|
|
9
9
|
NewCops: disable
|
|
10
10
|
|
|
11
|
+
plugins:
|
|
12
|
+
# Gate Ruby core and standard library APIs against TargetRubyVersion.
|
|
13
|
+
- rubocop-lts-ruby
|
|
14
|
+
|
|
11
15
|
# This autocorrect can create invalid Ruby from grouped method arguments that use
|
|
12
16
|
# `and`/`or`, e.g. `assert((a and b), message)`.
|
|
13
17
|
Style/RedundantParentheses:
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
module Standard
|
|
4
4
|
module Rubocop
|
|
5
5
|
module Lts
|
|
6
|
+
# Version namespace for this gem.
|
|
6
7
|
module Version
|
|
7
|
-
|
|
8
|
+
# Current gem version.
|
|
9
|
+
VERSION = "2.0.11"
|
|
8
10
|
end
|
|
11
|
+
# Current gem version exposed at the traditional constant location.
|
|
9
12
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
10
13
|
end
|
|
11
14
|
end
|
data/lib/standard/rubocop/lts.rb
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# external libs
|
|
4
|
-
require "version_gem"
|
|
5
4
|
require "rubocop"
|
|
6
5
|
require "standard-custom"
|
|
7
6
|
|
|
8
|
-
require_relative "lts/version"
|
|
9
7
|
# Load any Cops that aren't explicitly loaded by standard's plugins (e.g. standard-custom).
|
|
10
8
|
require_relative "lts/cops"
|
|
11
9
|
|
|
@@ -21,7 +19,3 @@ module Standard
|
|
|
21
19
|
end
|
|
22
20
|
end
|
|
23
21
|
end
|
|
24
|
-
|
|
25
|
-
Standard::Rubocop::Lts::Version.class_eval do
|
|
26
|
-
extend VersionGem::Basic
|
|
27
|
-
end
|
data/lib/standard-rubocop-lts.rb
CHANGED
|
@@ -2,3 +2,9 @@
|
|
|
2
2
|
# See: https://github.com/fxn/zeitwerk#for_gem_extension
|
|
3
3
|
# Hook for other libraries to load this library (e.g. via bundler)
|
|
4
4
|
require "standard/rubocop/lts"
|
|
5
|
+
require "version_gem"
|
|
6
|
+
require_relative "standard/rubocop/lts/version"
|
|
7
|
+
|
|
8
|
+
Standard::Rubocop::Lts::Version.class_eval do
|
|
9
|
+
extend VersionGem::Basic
|
|
10
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|