rubocop-ruby2_0 3.0.5 → 3.0.7
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 +109 -1
- data/LICENSE.md +1 -1
- data/README.md +52 -48
- data/lib/rubocop/ruby2_0/version.rb +4 -1
- data/lib/rubocop/ruby2_0.rb +1 -1
- data/sig/rubocop/ruby2_0.rbs +2 -0
- data.tar.gz.sig +0 -0
- metadata +53 -49
- 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/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/rubocop/ruby2_0/version.rbs +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f7324819b7cbfed17b925d56dc891a3a13f15ea37aecae371c8a992bccd1bc0d
|
|
4
|
+
data.tar.gz: 3bc3544576eee1ded1dba304143899474dc4ce733c41e08505d761adeaa2f783
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84914f48ea28be296af22f91e3821be8b4c3c7c2eae4413bc1f3718e00b9ed29c99e25aa75f76d702ae5eabc7b64c547766527814b8b12ce7b3427a75cd9e527
|
|
7
|
+
data.tar.gz: a7d0c25e8d99fe763d4cccbba46ec2ed11a70d3c004e7cfb365d8281416fea6cf0a99b1db0eb913caac65c83d0818fbe89572d072ccd88091a430d5f72e218aa
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,110 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [3.0.7] - 2026-09-09
|
|
34
|
+
|
|
35
|
+
- TAG: [v3.0.7][3.0.7t]
|
|
36
|
+
- COVERAGE: 100.00% -- 16/16 lines in 3 files
|
|
37
|
+
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 3 files
|
|
38
|
+
- 71.43% 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
|
+
### Changed
|
|
51
|
+
|
|
52
|
+
- kettle-jem-template-20260716-002 - Gemspecs now ship fewer repository-only
|
|
53
|
+
files, reducing package noise for downstream packagers.
|
|
54
|
+
- kettle-jem-template-20260720-002 - Development Gemfiles now use the released
|
|
55
|
+
`tree_sitter_language_pack` gem 1.13.3 or newer by default.
|
|
56
|
+
- kettle-jem-template-20260725-002 - Version specs now use `anonymous_loader` to
|
|
57
|
+
cover `version.rb` without redefining constants, or are removed when version
|
|
58
|
+
specs are not managed for the project.
|
|
59
|
+
- kettle-jem-template-20260728-001 - Generated Ruby workflows now use clearer
|
|
60
|
+
setup-ruby-flash planning and can prepare appraisal-only jobs without
|
|
61
|
+
installing the main Gemfile bundle.
|
|
62
|
+
|
|
63
|
+
- kettle-jem-template-20260801-001 - Generated README gem dashboard links now
|
|
64
|
+
use ClickGems instead of BestGems.
|
|
65
|
+
|
|
66
|
+
- Require standard-rubocop-lts 2.0.11 or newer so this profile loads the shared rubocop-lts-ruby API availability checks.
|
|
67
|
+
|
|
68
|
+
- [kc] kettle-jem/prepare: updated 39 project files:
|
|
69
|
+
- configuration (1)
|
|
70
|
+
- dependencies (38)
|
|
71
|
+
|
|
72
|
+
- [kc] kettle-jem/template: updated 44 project files:
|
|
73
|
+
- code and tests (4)
|
|
74
|
+
- configuration (1)
|
|
75
|
+
- dependencies (25)
|
|
76
|
+
- documentation (3)
|
|
77
|
+
- other (10)
|
|
78
|
+
- workflows (1)
|
|
79
|
+
|
|
80
|
+
### Fixed
|
|
81
|
+
|
|
82
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
83
|
+
uses the installed `smorg-rb` driver command.
|
|
84
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
85
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
86
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
87
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
88
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
89
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
90
|
+
coverage thresholds still pass.
|
|
91
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
92
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
93
|
+
installs are not reported as project lint debt.
|
|
94
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
95
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
96
|
+
before the test suite starts.
|
|
97
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
98
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
99
|
+
lockfile parser failures on Git and path dependencies.
|
|
100
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
101
|
+
missing canonical version spec when a project only has shim namespace version
|
|
102
|
+
specs.
|
|
103
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
104
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
105
|
+
even when the gemspec is loaded from another working directory.
|
|
106
|
+
|
|
107
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
108
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
109
|
+
parameter names from producing invalid configuration after a merge.
|
|
110
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
111
|
+
documentation now normalize configured underscore hostnames to valid
|
|
112
|
+
hyphenated hostnames.
|
|
113
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
114
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
115
|
+
matching Galtzo-hosted asset exists.
|
|
116
|
+
|
|
117
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
118
|
+
preserving comments and trailing commas during template updates.
|
|
119
|
+
|
|
120
|
+
- Exclude optional integration hooks from default coverage scope.
|
|
121
|
+
|
|
122
|
+
- Repair README Standard Ruby references and advanced-usage navigation.
|
|
123
|
+
|
|
124
|
+
## [3.0.6] - 2026-07-03
|
|
125
|
+
|
|
126
|
+
- TAG: [v3.0.6][3.0.6t]
|
|
127
|
+
- COVERAGE: 55.17% -- 16/29 lines in 5 files
|
|
128
|
+
- BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
|
|
129
|
+
- 42.86% documented
|
|
130
|
+
|
|
131
|
+
### Fixed
|
|
132
|
+
|
|
133
|
+
- Refreshed `Gemfile.lock` to use the released `rubocop-lts-rspec` 1.0.4 dependency.
|
|
134
|
+
|
|
135
|
+
- Package configured license files in gem release file lists.
|
|
136
|
+
|
|
33
137
|
## [3.0.5] - 2026-06-28
|
|
34
138
|
|
|
35
139
|
- TAG: [v3.0.5][3.0.5t]
|
|
@@ -241,7 +345,11 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
241
345
|
|
|
242
346
|
- Initial release
|
|
243
347
|
|
|
244
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.
|
|
348
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.7...HEAD
|
|
349
|
+
[3.0.7]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.6...v3.0.7
|
|
350
|
+
[3.0.7t]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases/tag/v3.0.7
|
|
351
|
+
[3.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.5...v3.0.6
|
|
352
|
+
[3.0.6t]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases/tag/v3.0.6
|
|
245
353
|
[3.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.4...v3.0.5
|
|
246
354
|
[3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases/tag/v3.0.5
|
|
247
355
|
[3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.2...v3.0.4
|
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
|
# 🦾 Rubocop::Ruby20
|
|
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
|
|
|
@@ -21,6 +21,9 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
21
21
|
|
|
22
22
|
## 🌻 Synopsis <a href="https://discord.gg/3qme4XHNKN"><img alt="Galtzo FLOSS Logo by Aboling0, CC BY-SA 4.0" src="https://logos.galtzo.com/assets/images/galtzo-floss/avatar-128px.svg" width="8%" align="right"/></a> <a href="https://ruby-toolbox.com"><img alt="ruby-lang Logo, Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5" src="https://logos.galtzo.com/assets/images/ruby-lang/avatar-128px.svg" width="8%" align="right"/></a>
|
|
23
23
|
|
|
24
|
+
This gem packages RuboCop, Standard, Betterlint, and Gradual configuration
|
|
25
|
+
selected for projects whose compatibility floor is Ruby 2.0.
|
|
26
|
+
|
|
24
27
|
## 💡 Info you can shake a stick at
|
|
25
28
|
|
|
26
29
|
| Tokens to Remember | [![Gem name][⛳️name-img]][⛳️gem-name] [![Gem namespace][⛳️namespace-img]][⛳️gem-namespace] |
|
|
@@ -29,8 +32,8 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
29
32
|
| 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]|
|
|
30
33
|
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
31
34
|
| 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]|
|
|
32
|
-
| 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] |
|
|
33
|
-
| Source | [![Source on GitLab.com][📜src-gl-img]][📜src-gl] [![Source on CodeBerg.org][📜src-cb-img]][📜src-cb] [![Source on
|
|
35
|
+
| 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] |
|
|
36
|
+
| 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] |
|
|
34
37
|
| 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] |
|
|
35
38
|
| 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] |
|
|
36
39
|
| 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] |
|
|
@@ -39,7 +42,7 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
39
42
|
|
|
40
43
|
### Compatibility
|
|
41
44
|
|
|
42
|
-
Compatible with MRI Ruby 3.2.0+,
|
|
45
|
+
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
43
46
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
44
47
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
45
48
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
@@ -52,16 +55,16 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
52
55
|
<details markdown="1">
|
|
53
56
|
<summary>How kettle-dev manages complexity in tests</summary>
|
|
54
57
|
|
|
55
|
-
| Gem | Source | Role |
|
|
58
|
+
| Gem | Source | Role | Total downloads |
|
|
56
59
|
|-----|--------|------|---------------------|
|
|
57
|
-
| [appraisal2](https://
|
|
58
|
-
| [appraisal2-rubocop](https://
|
|
59
|
-
| [kettle-dev](https://
|
|
60
|
-
| [kettle-jem](https://
|
|
61
|
-
| [kettle-soup-cover](https://
|
|
62
|
-
| [kettle-test](https://
|
|
63
|
-
| [rubocop-lts](https://
|
|
64
|
-
| [turbo_tests2](https://
|
|
60
|
+
| [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) |
|
|
61
|
+
| [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) |
|
|
62
|
+
| [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) |
|
|
63
|
+
| [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) |
|
|
64
|
+
| [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) |
|
|
65
|
+
| [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) |
|
|
66
|
+
| [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) |
|
|
67
|
+
| [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) |
|
|
65
68
|
|
|
66
69
|
</details>
|
|
67
70
|
|
|
@@ -70,18 +73,17 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
70
73
|
<details markdown="1">
|
|
71
74
|
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
72
75
|
|
|
73
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
74
|
-
|
|
75
|
-
| 🧪 [rubocop-lts/rubocop-ruby2_0 on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
76
|
-
| 🧊 [rubocop-lts/rubocop-ruby2_0 on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
77
|
-
| 🐙 [rubocop-lts/rubocop-ruby2_0 on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
78
|
-
| 🎮️ [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] |
|
|
76
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
77
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
78
|
+
| 🧪 [rubocop-lts/rubocop-ruby2_0 on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
79
|
+
| 🧊 [rubocop-lts/rubocop-ruby2_0 on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
80
|
+
| 🐙 [rubocop-lts/rubocop-ruby2_0 on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
79
81
|
|
|
80
82
|
</details>
|
|
81
83
|
|
|
82
|
-
|
|
84
|
+
### Enterprise Support
|
|
83
85
|
|
|
84
|
-
|
|
86
|
+
[](https://tidelift.com/subscription/pkg/rubygems-rubocop-ruby2_0?utm_source=rubygems-rubocop-ruby2_0&utm_medium=referral&utm_campaign=readme)
|
|
85
87
|
|
|
86
88
|
Available as part of the Tidelift Subscription.
|
|
87
89
|
|
|
@@ -98,6 +100,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
|
|
|
98
100
|
|
|
99
101
|
Alternatively:
|
|
100
102
|
|
|
103
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
101
104
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
102
105
|
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
103
106
|
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
@@ -120,6 +123,11 @@ gem install rubocop-ruby2_0
|
|
|
120
123
|
|
|
121
124
|
## ⚙️ Configuration
|
|
122
125
|
|
|
126
|
+
Select the packaged config through RuboCop's `inherit_gem` setting. For example,
|
|
127
|
+
use `rubocop-ruby2_0: rubocop.yml` for the base Ruby/RSpec profile, or select
|
|
128
|
+
the Rails, RubyGems, or RSpec entrypoint described below. The gem has no runtime
|
|
129
|
+
application configuration.
|
|
130
|
+
|
|
123
131
|
## 🔧 Basic Usage
|
|
124
132
|
|
|
125
133
|
If you use any of the `*_rspec.yml` entrypoints below, add `rubocop-lts-rspec` to your Gemfile or gemspec alongside this gem.
|
|
@@ -147,6 +155,12 @@ Upgrades to the latest RuboCop can include all kinds of changes, including remov
|
|
|
147
155
|
|
|
148
156
|
But this gem shoehorns RuboCop into SemVer, under the watchful eye of [standard (Standard Ruby)][standardrb]... so `NewCops` is now safe(r)! If you use a dependency greening tool like GitHub's `dependabot`, or the excellent alternatives [depfu](https://depfu.com/), and [`renovate`](https://www.whitesourcesoftware.com/free-developer-tools/renovate/), then you can see the effect of a minor / major version bump in your CI Build!
|
|
149
157
|
|
|
158
|
+
## Advanced Usage
|
|
159
|
+
|
|
160
|
+
For Rails, RubyGems, and non-RSpec projects, select the matching bundled `inherit_gem` entrypoint from this gem's configuration files.
|
|
161
|
+
|
|
162
|
+
[standardrb]: https://github.com/standardrb/standard
|
|
163
|
+
|
|
150
164
|
## 🦷 FLOSS Funding
|
|
151
165
|
|
|
152
166
|
While rubocop-lts tools are free software and will always be, the project would benefit immensely from some funding.
|
|
@@ -211,8 +225,7 @@ See [SECURITY.md][🔐security].
|
|
|
211
225
|
## 🤝 Contributing
|
|
212
226
|
|
|
213
227
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
214
|
-
|
|
215
|
-
or use the gem and think about how it could be better.
|
|
228
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
216
229
|
|
|
217
230
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
218
231
|
|
|
@@ -248,19 +261,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
248
261
|
|
|
249
262
|
Also see GitLab Contributors: [https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/graphs/main][🚎contributors-gl]
|
|
250
263
|
|
|
251
|
-
<details markdown="1">
|
|
252
|
-
<summary>⭐️ Star History</summary>
|
|
253
|
-
|
|
254
|
-
<a href="https://star-history.com/rubocop-lts/rubocop-ruby2_0&Date">
|
|
255
|
-
<picture>
|
|
256
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-ruby2_0&type=Date&theme=dark" />
|
|
257
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-ruby2_0&type=Date" />
|
|
258
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-ruby2_0&type=Date" />
|
|
259
|
-
</picture>
|
|
260
|
-
</a>
|
|
261
|
-
|
|
262
|
-
</details>
|
|
263
|
-
|
|
264
264
|
## 📌 Versioning
|
|
265
265
|
|
|
266
266
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -290,7 +290,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
|
290
290
|
## 📄 License
|
|
291
291
|
|
|
292
292
|
The gem is available as open source under the terms of
|
|
293
|
-
the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
293
|
+
the [MIT](https://github.com/rubocop-lts/rubocop-ruby2_0/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
294
294
|
|
|
295
295
|
### © Copyright
|
|
296
296
|
|
|
@@ -313,11 +313,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
|
|
|
313
313
|
so if you value the work I am doing, I need your support.
|
|
314
314
|
Please consider sponsoring me or the project.
|
|
315
315
|
|
|
316
|
-
To join the community or get help
|
|
316
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
317
317
|
|
|
318
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
318
319
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
319
320
|
|
|
320
|
-
To say "thanks!" ☝️ Join the
|
|
321
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
321
322
|
|
|
322
323
|
[![Sponsor rubocop-lts/rubocop-ruby2_0 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]
|
|
323
324
|
|
|
@@ -358,11 +359,14 @@ Thanks for RTFM. ☺️
|
|
|
358
359
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
359
360
|
[✉️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
|
|
360
361
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
362
|
+
[✉️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
|
|
363
|
+
[✉️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
|
|
364
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/rubocop-lts
|
|
361
365
|
|
|
362
366
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
363
367
|
[⛳️gem-namespace]: https://github.com/rubocop-lts/rubocop-ruby2_0
|
|
364
368
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Rubocop::Ruby20-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
365
|
-
[⛳️gem-name]: https://
|
|
369
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/rubocop-ruby2_0
|
|
366
370
|
[⛳️name-img]: https://img.shields.io/badge/name-rubocop--ruby2__0-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
367
371
|
[⛳️tag-img]: https://img.shields.io/github/tag/rubocop-lts/rubocop-ruby2_0.svg
|
|
368
372
|
[⛳️tag]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases
|
|
@@ -403,7 +407,7 @@ Thanks for RTFM. ☺️
|
|
|
403
407
|
[📜src-gl]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0
|
|
404
408
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
405
409
|
[📜src-cb]: https://codeberg.org/rubocop-lts/rubocop-ruby2_0
|
|
406
|
-
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=
|
|
410
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
407
411
|
[📜src-gh]: https://github.com/rubocop-lts/rubocop-ruby2_0
|
|
408
412
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
409
413
|
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
@@ -411,9 +415,9 @@ Thanks for RTFM. ☺️
|
|
|
411
415
|
[📜gh-wiki]: https://github.com/rubocop-lts/rubocop-ruby2_0/wiki
|
|
412
416
|
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
413
417
|
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
414
|
-
[👽dl-rank]: https://
|
|
415
|
-
[👽dl-ranki]: https://img.shields.io/gem/
|
|
416
|
-
[👽version]: https://
|
|
418
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/rubocop-ruby2_0
|
|
419
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/rubocop-ruby2_0.svg
|
|
420
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/rubocop-ruby2_0
|
|
417
421
|
[👽versioni]: https://img.shields.io/gem/v/rubocop-ruby2_0.svg
|
|
418
422
|
[🏀qlty-mnt]: https://qlty.sh/gh/rubocop-lts/projects/rubocop-ruby2_0
|
|
419
423
|
[🏀qlty-mnti]: https://qlty.sh/gh/rubocop-lts/projects/rubocop-ruby2_0/maintainability.svg
|
|
@@ -489,12 +493,12 @@ Thanks for RTFM. ☺️
|
|
|
489
493
|
[📌gitmoji]: https://gitmoji.dev
|
|
490
494
|
[📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
|
|
491
495
|
[🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
|
|
492
|
-
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.
|
|
496
|
+
[🧮kloc-img]: https://img.shields.io/badge/KLOC-0.016-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
|
|
493
497
|
[🔐security]: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/main/SECURITY.md
|
|
494
498
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
495
499
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
496
500
|
[📄license]: LICENSE.md
|
|
497
|
-
[📄license-ref]: MIT.md
|
|
501
|
+
[📄license-ref]: https://github.com/rubocop-lts/rubocop-ruby2_0/blob/main/MIT.md
|
|
498
502
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
499
503
|
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
500
504
|
[📄license-compat-img]: https://img.shields.io/badge/Apache_Compatible:_Category_A-%E2%9C%93-259D6C.svg?style=flat&logo=Apache
|
|
@@ -2,9 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
module Rubocop
|
|
4
4
|
module Ruby20
|
|
5
|
+
# Version namespace for this gem.
|
|
5
6
|
module Version
|
|
6
|
-
|
|
7
|
+
# Current gem version.
|
|
8
|
+
VERSION = "3.0.7"
|
|
7
9
|
end
|
|
10
|
+
# Current gem version exposed at the traditional constant location.
|
|
8
11
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
9
12
|
end
|
|
10
13
|
end
|
data/lib/rubocop/ruby2_0.rb
CHANGED
data/sig/rubocop/ruby2_0.rbs
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|