rubocop-lts-rspec 1.0.5 → 1.0.6
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 +3 -2
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +89 -1
- data/LICENSE.md +1 -1
- data/README.md +46 -47
- data/config/base.yml +18 -0
- data/lib/rubocop/lts/rspec/version.rb +4 -1
- data/lib/rubocop/lts/rspec.rb +0 -7
- data/lib/rubocop-lts-rspec.rb +7 -0
- data.tar.gz.sig +0 -0
- metadata +48 -44
- 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/rubocop/lts/{rspec/version.rbs → rspec.rbs} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c7dc765918c6044ca17caea0d1297160ddc92ee9aca892ed370257d22fb7cf5e
|
|
4
|
+
data.tar.gz: 419d0acff91085d72814903f363855894258c79dea2f33977bd517975b657037
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5af5eae15f710ed590199862d3421977687e941dd7e31d69425131a31e9c2873279c215fd8b74ab2c717d4ef1edef4357fc1ecd5cf73bd0218acb82c86325baf
|
|
7
|
+
data.tar.gz: ff37652b9bd2a78bf908b589c9a93f2e22b8c2f01af6899a5601803acc85b1c78dbcc3f5c99e438ec66499930523d43c698bd8e54db913c5eb1a02e002a70b19
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
�
|
|
1
|
+
�]�����[��.ٰ�����'�G��Ԝ8�<[p�:[2�|W�����w��IU���!o�䦒��b��=k�*=ǥ��MK�G��8
|
|
2
|
+
;m�s]I��E$���"�Ը�A�4(
|
|
3
|
+
ႀ�ّ�ֆN5K@�ׇ{�������=�� ���Z�ĎPI[�X�}����RH@{�Șa���[��2}%&�<�;��rnvѨ�k�
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,94 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
30
30
|
|
|
31
31
|
### Security
|
|
32
32
|
|
|
33
|
+
## [1.0.6] - 2026-09-09
|
|
34
|
+
|
|
35
|
+
- TAG: [v1.0.6][1.0.6t]
|
|
36
|
+
- COVERAGE: 100.00% -- 16/16 lines in 3 files
|
|
37
|
+
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 3 files
|
|
38
|
+
- 85.71% 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
|
+
- [kc] kettle-jem/prepare: updated 59 project files:
|
|
67
|
+
- configuration (1)
|
|
68
|
+
- dependencies (57)
|
|
69
|
+
- other (1)
|
|
70
|
+
|
|
71
|
+
- [kc] kettle-jem/template: updated 81 project files:
|
|
72
|
+
- code and tests (6)
|
|
73
|
+
- configuration (1)
|
|
74
|
+
- dependencies (40)
|
|
75
|
+
- documentation (2)
|
|
76
|
+
- other (13)
|
|
77
|
+
- workflows (19)
|
|
78
|
+
|
|
79
|
+
### Fixed
|
|
80
|
+
|
|
81
|
+
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
82
|
+
uses the installed `smorg-rb` driver command.
|
|
83
|
+
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
84
|
+
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
85
|
+
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
86
|
+
version namespace and constants, reducing warning-only YARD lint output.
|
|
87
|
+
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
88
|
+
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
89
|
+
coverage thresholds still pass.
|
|
90
|
+
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
91
|
+
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
92
|
+
installs are not reported as project lint debt.
|
|
93
|
+
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
94
|
+
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
95
|
+
before the test suite starts.
|
|
96
|
+
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
97
|
+
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
98
|
+
lockfile parser failures on Git and path dependencies.
|
|
99
|
+
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
100
|
+
missing canonical version spec when a project only has shim namespace version
|
|
101
|
+
specs.
|
|
102
|
+
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
103
|
+
relative to the gemspec directory, so release package contents stay correct
|
|
104
|
+
even when the gemspec is loaded from another working directory.
|
|
105
|
+
|
|
106
|
+
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
107
|
+
managed configuration block bindings structurally, preventing mixed block
|
|
108
|
+
parameter names from producing invalid configuration after a merge.
|
|
109
|
+
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
110
|
+
documentation now normalize configured underscore hostnames to valid
|
|
111
|
+
hyphenated hostnames.
|
|
112
|
+
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
113
|
+
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
114
|
+
matching Galtzo-hosted asset exists.
|
|
115
|
+
|
|
116
|
+
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
117
|
+
preserving comments and trailing commas during template updates.
|
|
118
|
+
|
|
119
|
+
- Exempt behavior-level RSpec suites from unit-spec description and filename conventions by path.
|
|
120
|
+
|
|
33
121
|
## [1.0.5] - 2026-07-03
|
|
34
122
|
|
|
35
123
|
- TAG: [v1.0.5][1.0.5t]
|
|
@@ -118,7 +206,7 @@ Please file a bug if you notice a violation of semantic versioning.
|
|
|
118
206
|
|
|
119
207
|
- Initial release
|
|
120
208
|
|
|
121
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts-rspec/compare/v1.0.
|
|
209
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts-rspec/compare/v1.0.6...HEAD
|
|
122
210
|
[1.0.6]: https://github.com/rubocop-lts/rubocop-lts-rspec/compare/v1.0.5...v1.0.6
|
|
123
211
|
[1.0.6t]: https://github.com/rubocop-lts/rubocop-lts-rspec/releases/tag/v1.0.6
|
|
124
212
|
[1.0.5]: https://github.com/rubocop-lts/rubocop-lts-rspec/compare/v1.0.3...v1.0.5
|
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::Lts::Rspec
|
|
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
|
|
|
@@ -29,8 +29,8 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
29
29
|
| 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
30
|
| Works with MRI Ruby 4 | [![Ruby current Compat][💎ruby-c-i]][🚎11-c-wf] [![Ruby HEAD Compat][💎ruby-headi]][🚎3-hd-wf]|
|
|
31
31
|
| 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
|
|
32
|
+
| 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] |
|
|
33
|
+
| 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
34
|
| 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
35
|
| 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
36
|
| 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 +39,7 @@ I've summarized my thoughts in [this blog post](https://dev.to/galtzo/hostile-ta
|
|
|
39
39
|
|
|
40
40
|
### Compatibility
|
|
41
41
|
|
|
42
|
-
Compatible with MRI Ruby 3.2.0+,
|
|
42
|
+
Compatible with MRI Ruby 3.2.0+, JRuby, and TruffleRuby.
|
|
43
43
|
CI workflows and Appraisals are generated for MRI Ruby 3.2.0+.
|
|
44
44
|
This test floor is configured by `ruby.test_minimum` in `.kettle-jem.yml` and
|
|
45
45
|
may be higher than the gem's runtime compatibility floor when legacy Rubies are
|
|
@@ -52,16 +52,16 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
52
52
|
<details markdown="1">
|
|
53
53
|
<summary>How kettle-dev manages complexity in tests</summary>
|
|
54
54
|
|
|
55
|
-
| Gem | Source | Role |
|
|
55
|
+
| Gem | Source | Role | Total downloads |
|
|
56
56
|
|-----|--------|------|---------------------|
|
|
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://
|
|
57
|
+
| [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) |
|
|
58
|
+
| [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) |
|
|
59
|
+
| [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) |
|
|
60
|
+
| [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) |
|
|
61
|
+
| [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) |
|
|
62
|
+
| [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) |
|
|
63
|
+
| [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) |
|
|
64
|
+
| [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
65
|
|
|
66
66
|
</details>
|
|
67
67
|
|
|
@@ -70,18 +70,17 @@ The _amazing_ test matrix is powered by the kettle-dev stack.
|
|
|
70
70
|
<details markdown="1">
|
|
71
71
|
<summary>Find this repo on federated forges (Coming soon!)</summary>
|
|
72
72
|
|
|
73
|
-
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
74
|
-
|
|
75
|
-
| 🧪 [rubocop-lts/rubocop-lts-rspec on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
76
|
-
| 🧊 [rubocop-lts/rubocop-lts-rspec on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
77
|
-
| 🐙 [rubocop-lts/rubocop-lts-rspec 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] |
|
|
73
|
+
| Federated [DVCS][💎d-in-dvcs] Repository | Status | Issues | PRs | Wiki | CI |
|
|
74
|
+
|-------------------------------------------------|-------------------------------------------|-------------------|------------------|-----------------|----------------|
|
|
75
|
+
| 🧪 [rubocop-lts/rubocop-lts-rspec on GitLab][📜src-gl] | The Truth | [💚][🤝gl-issues] | [💚][🤝gl-pulls] | [💚][📜gl-wiki] | 🐭 Tiny Matrix |
|
|
76
|
+
| 🧊 [rubocop-lts/rubocop-lts-rspec on CodeBerg][📜src-cb] | An Ethical Mirror ([Donate][🤝cb-donate]) | [💚][🤝cb-issues] | [💚][🤝cb-pulls] | ➖ | ⭕️ No Matrix |
|
|
77
|
+
| 🐙 [rubocop-lts/rubocop-lts-rspec on GitHub][📜src-gh] | Another Mirror | [💚][🤝gh-issues] | [💚][🤝gh-pulls] | [💚][📜gh-wiki] | 💯 Full Matrix |
|
|
79
78
|
|
|
80
79
|
</details>
|
|
81
80
|
|
|
82
|
-
|
|
81
|
+
### Enterprise Support
|
|
83
82
|
|
|
84
|
-
|
|
83
|
+
[](https://tidelift.com/subscription/pkg/rubygems-rubocop-lts-rspec?utm_source=rubygems-rubocop-lts-rspec&utm_medium=referral&utm_campaign=readme)
|
|
85
84
|
|
|
86
85
|
Available as part of the Tidelift Subscription.
|
|
87
86
|
|
|
@@ -98,6 +97,7 @@ The maintainers of this and thousands of other packages are working with Tidelif
|
|
|
98
97
|
|
|
99
98
|
Alternatively:
|
|
100
99
|
|
|
100
|
+
- [![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
101
101
|
- [![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
102
102
|
- [![Get help from me on Upwork][👨🏼🏫expsup-upwork-img]][👨🏼🏫expsup-upwork]
|
|
103
103
|
- [![Get help from me on Codementor][👨🏼🏫expsup-codementor-img]][👨🏼🏫expsup-codementor]
|
|
@@ -120,6 +120,15 @@ gem install rubocop-lts-rspec
|
|
|
120
120
|
|
|
121
121
|
## ⚙️ Configuration
|
|
122
122
|
|
|
123
|
+
Select the RSpec profile through RuboCop's `inherit_gem` setting. For example:
|
|
124
|
+
|
|
125
|
+
```yaml
|
|
126
|
+
inherit_gem:
|
|
127
|
+
rubocop-lts-rspec: rspec.yml
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
The gem supplies configuration only; it has no runtime application settings.
|
|
131
|
+
|
|
123
132
|
## 🔧 Basic Usage
|
|
124
133
|
|
|
125
134
|
### Via `rubocop-lts` gem
|
|
@@ -298,8 +307,7 @@ See [SECURITY.md][🔐security].
|
|
|
298
307
|
## 🤝 Contributing
|
|
299
308
|
|
|
300
309
|
If you need some ideas of where to help, you could work on adding more code coverage,
|
|
301
|
-
|
|
302
|
-
or use the gem and think about how it could be better.
|
|
310
|
+
check [issues][🤝gh-issues] or [PRs][🤝gh-pulls], or use the gem and think about how it could be better.
|
|
303
311
|
|
|
304
312
|
We [![Keep A Changelog][📗keep-changelog-img]][📗keep-changelog] so if you make changes, remember to update it.
|
|
305
313
|
|
|
@@ -335,19 +343,6 @@ Made with [contributors-img][🖐contrib-rocks].
|
|
|
335
343
|
|
|
336
344
|
Also see GitLab Contributors: [https://gitlab.com/rubocop-lts/rubocop-lts-rspec/-/graphs/main][🚎contributors-gl]
|
|
337
345
|
|
|
338
|
-
<details markdown="1">
|
|
339
|
-
<summary>⭐️ Star History</summary>
|
|
340
|
-
|
|
341
|
-
<a href="https://star-history.com/rubocop-lts/rubocop-lts-rspec&Date">
|
|
342
|
-
<picture>
|
|
343
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-rspec&type=Date&theme=dark" />
|
|
344
|
-
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-rspec&type=Date" />
|
|
345
|
-
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=rubocop-lts/rubocop-lts-rspec&type=Date" />
|
|
346
|
-
</picture>
|
|
347
|
-
</a>
|
|
348
|
-
|
|
349
|
-
</details>
|
|
350
|
-
|
|
351
346
|
## 📌 Versioning
|
|
352
347
|
|
|
353
348
|
This library follows [![Semantic Versioning 2.0.0][📌semver-img]][📌semver] for its public API where practical.
|
|
@@ -377,7 +372,7 @@ See [CHANGELOG.md][📌changelog] for a list of releases.
|
|
|
377
372
|
## 📄 License
|
|
378
373
|
|
|
379
374
|
The gem is available as open source under the terms of
|
|
380
|
-
the [MIT](MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
375
|
+
the [MIT](https://github.com/rubocop-lts/rubocop-lts-rspec/blob/main/MIT.md) [![License: MIT][📄license-img]][📄license-ref].
|
|
381
376
|
|
|
382
377
|
### © Copyright
|
|
383
378
|
|
|
@@ -399,11 +394,12 @@ I'm hoping to be able to pay for my kids' health insurance this month,
|
|
|
399
394
|
so if you value the work I am doing, I need your support.
|
|
400
395
|
Please consider sponsoring me or the project.
|
|
401
396
|
|
|
402
|
-
To join the community or get help
|
|
397
|
+
To join the community or get help, use the RubyForum or Discord.
|
|
403
398
|
|
|
399
|
+
[![Ruby Users Forum][✉️ruby-forum-img]][✉️ruby-forum]
|
|
404
400
|
[![Live Chat on Discord][✉️discord-invite-img-ftb]][✉️discord-invite]
|
|
405
401
|
|
|
406
|
-
To say "thanks!" ☝️ Join the
|
|
402
|
+
To say "thanks!" ☝️ Join the community or 👇️ send money.
|
|
407
403
|
|
|
408
404
|
[![Sponsor rubocop-lts/rubocop-lts-rspec 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]
|
|
409
405
|
|
|
@@ -444,11 +440,14 @@ Thanks for RTFM. ☺️
|
|
|
444
440
|
[✉️discord-invite-img-ftb]: https://img.shields.io/discord/1373797679469170758?style=for-the-badge&logo=discord
|
|
445
441
|
[✉️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
|
|
446
442
|
[✉️ruby-friends]: https://app.daily.dev/squads/rubyfriends
|
|
443
|
+
[✉️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
|
|
444
|
+
[✉️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
|
|
445
|
+
[✉️ruby-forum]: https://www.rubyforum.org/tag/rubocop-lts
|
|
447
446
|
|
|
448
447
|
[✇bundle-group-pattern]: https://gist.github.com/pboling/4564780
|
|
449
448
|
[⛳️gem-namespace]: https://github.com/rubocop-lts/rubocop-lts-rspec
|
|
450
449
|
[⛳️namespace-img]: https://img.shields.io/badge/namespace-Rubocop::Lts::Rspec-3C2D2D.svg?style=square&logo=ruby&logoColor=white
|
|
451
|
-
[⛳️gem-name]: https://
|
|
450
|
+
[⛳️gem-name]: https://clickgems.clickhouse.com/dashboard/rubocop-lts-rspec
|
|
452
451
|
[⛳️name-img]: https://img.shields.io/badge/name-rubocop--lts--rspec-3C2D2D.svg?style=square&logo=rubygems&logoColor=red
|
|
453
452
|
[⛳️tag-img]: https://img.shields.io/github/tag/rubocop-lts/rubocop-lts-rspec.svg
|
|
454
453
|
[⛳️tag]: https://github.com/rubocop-lts/rubocop-lts-rspec/releases
|
|
@@ -489,7 +488,7 @@ Thanks for RTFM. ☺️
|
|
|
489
488
|
[📜src-gl]: https://gitlab.com/rubocop-lts/rubocop-lts-rspec
|
|
490
489
|
[📜src-cb-img]: https://img.shields.io/badge/CodeBerg-4893CC?style=for-the-badge&logo=CodeBerg&logoColor=blue
|
|
491
490
|
[📜src-cb]: https://codeberg.org/rubocop-lts/rubocop-lts-rspec
|
|
492
|
-
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=
|
|
491
|
+
[📜src-gh-img]: https://img.shields.io/badge/GitHub-238636?style=for-the-badge&logo=GitHub&logoColor=green
|
|
493
492
|
[📜src-gh]: https://github.com/rubocop-lts/rubocop-lts-rspec
|
|
494
493
|
[📜docs-cr-rd-img]: https://img.shields.io/badge/RubyDoc-Current_Release-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
495
494
|
[📜docs-head-rd-img]: https://img.shields.io/badge/YARD_on_Galtzo.com-HEAD-943CD2?style=for-the-badge&logo=readthedocs&logoColor=white
|
|
@@ -497,9 +496,9 @@ Thanks for RTFM. ☺️
|
|
|
497
496
|
[📜gh-wiki]: https://github.com/rubocop-lts/rubocop-lts-rspec/wiki
|
|
498
497
|
[📜gl-wiki-img]: https://img.shields.io/badge/wiki-gitlab-943CD2.svg?style=for-the-badge&logo=gitlab&logoColor=white
|
|
499
498
|
[📜gh-wiki-img]: https://img.shields.io/badge/wiki-github-943CD2.svg?style=for-the-badge&logo=github&logoColor=white
|
|
500
|
-
[👽dl-rank]: https://
|
|
501
|
-
[👽dl-ranki]: https://img.shields.io/gem/
|
|
502
|
-
[👽version]: https://
|
|
499
|
+
[👽dl-rank]: https://clickgems.clickhouse.com/dashboard/rubocop-lts-rspec
|
|
500
|
+
[👽dl-ranki]: https://img.shields.io/gem/dt/rubocop-lts-rspec.svg
|
|
501
|
+
[👽version]: https://clickgems.clickhouse.com/dashboard/rubocop-lts-rspec
|
|
503
502
|
[👽versioni]: https://img.shields.io/gem/v/rubocop-lts-rspec.svg
|
|
504
503
|
[🏀qlty-mnt]: https://qlty.sh/gh/rubocop-lts/projects/rubocop-lts-rspec
|
|
505
504
|
[🏀qlty-mnti]: https://qlty.sh/gh/rubocop-lts/projects/rubocop-lts-rspec/maintainability.svg
|
|
@@ -580,7 +579,7 @@ Thanks for RTFM. ☺️
|
|
|
580
579
|
[🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
|
|
581
580
|
[📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
|
582
581
|
[📄license]: LICENSE.md
|
|
583
|
-
[📄license-ref]: MIT.md
|
|
582
|
+
[📄license-ref]: https://github.com/rubocop-lts/rubocop-lts-rspec/blob/main/MIT.md
|
|
584
583
|
[📄license-img]: https://img.shields.io/badge/License-MIT-259D6C.svg
|
|
585
584
|
[📄license-compat]: https://www.apache.org/legal/resolved.html#category-a
|
|
586
585
|
[📄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,3 +8,21 @@ RSpec:
|
|
|
8
8
|
Expectations:
|
|
9
9
|
# Support for rspec-block_is_expected gem, without making it a dependency
|
|
10
10
|
- block_is_expected
|
|
11
|
+
|
|
12
|
+
# These paths contain behavior-level specs. Their group descriptions and
|
|
13
|
+
# filenames describe workflows rather than a single class or method.
|
|
14
|
+
RSpec/DescribeClass:
|
|
15
|
+
Exclude: &behavior_specs
|
|
16
|
+
- 'spec/acceptance/**/*'
|
|
17
|
+
- 'spec/e2e/**/*'
|
|
18
|
+
- 'spec/examples/**/*'
|
|
19
|
+
- 'spec/features/**/*'
|
|
20
|
+
- 'spec/integration/**/*'
|
|
21
|
+
- 'spec/requests/**/*'
|
|
22
|
+
- 'spec/system/**/*'
|
|
23
|
+
|
|
24
|
+
RSpec/DescribeMethod:
|
|
25
|
+
Exclude: *behavior_specs
|
|
26
|
+
|
|
27
|
+
RSpec/SpecFilePathFormat:
|
|
28
|
+
Exclude: *behavior_specs
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
module Rubocop
|
|
4
4
|
module Lts
|
|
5
5
|
module Rspec
|
|
6
|
+
# Version namespace for this gem.
|
|
6
7
|
module Version
|
|
7
|
-
|
|
8
|
+
# Current gem version.
|
|
9
|
+
VERSION = "1.0.6"
|
|
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/rubocop/lts/rspec.rb
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# external libs
|
|
4
|
-
require "version_gem"
|
|
5
4
|
require "rubocop"
|
|
6
5
|
|
|
7
|
-
require_relative "rspec/version"
|
|
8
|
-
|
|
9
6
|
# Namespace for this library
|
|
10
7
|
# Configure / override standard's rules for use with rubocop-lts
|
|
11
8
|
module Rubocop
|
|
@@ -18,7 +15,3 @@ module Rubocop
|
|
|
18
15
|
end
|
|
19
16
|
end
|
|
20
17
|
end
|
|
21
|
-
|
|
22
|
-
Rubocop::Lts::Rspec::Version.class_eval do
|
|
23
|
-
extend VersionGem::Basic
|
|
24
|
-
end
|
data/lib/rubocop-lts-rspec.rb
CHANGED
|
@@ -5,4 +5,11 @@
|
|
|
5
5
|
# See: https://github.com/fxn/zeitwerk#for_gem_extension
|
|
6
6
|
# Hook for other libraries to load this library (e.g. via bundler)
|
|
7
7
|
require "rubocop/lts/rspec"
|
|
8
|
+
require "version_gem"
|
|
9
|
+
require_relative "rubocop/lts/rspec/version"
|
|
10
|
+
|
|
8
11
|
# rubocop:enable Naming/FileName
|
|
12
|
+
|
|
13
|
+
Rubocop::Lts::Rspec::Version.class_eval do
|
|
14
|
+
extend VersionGem::Basic
|
|
15
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|