rubocop-lts 22.3.3 → 24.0.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +6 -235
- data/CODE_OF_CONDUCT.md +84 -0
- data/CONTRIBUTING.md +39 -0
- data/LICENSE.txt +21 -0
- data/README.md +127 -618
- data/SECURITY.md +41 -0
- data/config/rails.yml +1 -3
- data/config/rails_rspec.yml +1 -4
- data/config/rspec.yml +1 -3
- data/config/ruby.yml +1 -3
- data/config/ruby_rspec.yml +1 -4
- data/config/rubygem.yml +1 -3
- data/config/rubygem_rspec.yml +1 -4
- data/lib/rubocop/lts/version.rb +1 -5
- data/lib/rubocop/lts.rb +2 -5
- data/rubocop-lts.yml +0 -0
- data/sig/rubocop/lts.rbs +1 -2
- data.tar.gz.sig +0 -0
- metadata +66 -328
- metadata.gz.sig +0 -0
- data/LICENSE.md +0 -10
- data/config/base.yml +0 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7306b0d0e9a6931c1f05a547e01b5fcd2eb9cf6390696683134b27a8334624bb
|
|
4
|
+
data.tar.gz: a650e8392bd71cae446a707ac9f3ca95a34681763461a8c53e9c9e09c0ed73a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c66ee60d2491163443a349e3526aca48dc542fad7451c37cdb9a0ad65bf96bd4715847fc220d344107ed37064a66e62358b15b8990255c5af2a713d2e0e709c
|
|
7
|
+
data.tar.gz: f6f4fffcbc0cd990de1f5cc7c31cfeb4e4dee2f68f2d667d269ac47a4bcec7ea362674a5f4fd90d47e423f35b4905158874fb5447858550252bddf91b8a0febd
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG.md
CHANGED
|
@@ -1,247 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
|
-
|
|
3
|
-
[![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
|
|
4
|
-
|
|
5
2
|
All notable changes to this project will be documented in this file.
|
|
6
3
|
|
|
7
|
-
The format is based on [Keep a Changelog]
|
|
8
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
|
|
9
|
-
and [yes][📌major-versions-not-sacred], platform and engine support are part of the [public API][📌semver-breaking].
|
|
10
|
-
Please file a bug if you notice a violation of semantic versioning.
|
|
11
|
-
|
|
12
|
-
[📌semver]: https://semver.org/spec/v2.0.0.html
|
|
13
|
-
[📌semver-img]: https://img.shields.io/badge/semver-2.0.0-FFDD67.svg?style=flat
|
|
14
|
-
[📌semver-breaking]: https://github.com/semver/semver/issues/716#issuecomment-869336139
|
|
15
|
-
[📌major-versions-not-sacred]: https://tom.preston-werner.com/2022/05/23/major-version-numbers-are-not-sacred.html
|
|
16
|
-
[📗keep-changelog]: https://keepachangelog.com/en/1.0.0/
|
|
17
|
-
[📗keep-changelog-img]: https://img.shields.io/badge/keep--a--changelog-1.0.0-FFDD67.svg?style=flat
|
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
18
6
|
|
|
19
7
|
## [Unreleased]
|
|
20
|
-
|
|
21
|
-
### Added
|
|
22
|
-
|
|
23
|
-
### Changed
|
|
24
|
-
|
|
25
|
-
### Deprecated
|
|
26
|
-
|
|
27
|
-
### Removed
|
|
28
|
-
|
|
29
|
-
### Fixed
|
|
30
|
-
|
|
31
|
-
### Security
|
|
32
|
-
|
|
33
|
-
## [22.3.3] - 2026-09-09
|
|
34
|
-
|
|
35
|
-
- TAG: [v22.3.3][22.3.3t]
|
|
36
|
-
- COVERAGE: 100.00% -- 15/15 lines in 2 files
|
|
37
|
-
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 2 files
|
|
38
|
-
- 42.86% 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 28 project files:
|
|
67
|
-
- configuration (1)
|
|
68
|
-
- dependencies (27)
|
|
69
|
-
|
|
70
|
-
- [kc] kettle-jem/template: updated 48 project files:
|
|
71
|
-
- code and tests (3)
|
|
72
|
-
- configuration (1)
|
|
73
|
-
- dependencies (6)
|
|
74
|
-
- documentation (2)
|
|
75
|
-
- other (17)
|
|
76
|
-
- workflows (19)
|
|
77
|
-
|
|
78
|
-
### Fixed
|
|
79
|
-
|
|
80
|
-
- kettle-jem-template-20260720-003 - StructuredMerge Git diff driver config now
|
|
81
|
-
uses the installed `smorg-rb` driver command.
|
|
82
|
-
- kettle-jem-template-20260725-001 - Release pull request branches beginning
|
|
83
|
-
with `feature/release` now run JRuby and TruffleRuby workflows.
|
|
84
|
-
- kettle-jem-template-20260726-002 - Generated version files now document their
|
|
85
|
-
version namespace and constants, reducing warning-only YARD lint output.
|
|
86
|
-
- kettle-jem-template-20260726-003 - Coverage upload steps now treat Coveralls,
|
|
87
|
-
QLTY, and Codecov as optional, so provider outages do not fail CI when local
|
|
88
|
-
coverage thresholds still pass.
|
|
89
|
-
- kettle-jem-template-20260728-002 - Generated RuboCop configs now ignore the
|
|
90
|
-
same `gemfiles/vendor/bundle` tree as `.gitignore`, so vendored dependency
|
|
91
|
-
installs are not reported as project lint debt.
|
|
92
|
-
- kettle-jem-template-20260728-003 - Generated dep-heads workflows now run
|
|
93
|
-
TruffleRuby jobs with current RubyGems and Bundler, avoiding setup failures
|
|
94
|
-
before the test suite starts.
|
|
95
|
-
- kettle-jem-template-20260728-004 - Generated dep-heads workflows now use the
|
|
96
|
-
setup-ruby Bundler install path for direct appraisal Gemfiles, avoiding rv
|
|
97
|
-
lockfile parser failures on Git and path dependencies.
|
|
98
|
-
- kettle-jem-template-20260728-005 - VersionGem bootstrap now creates the
|
|
99
|
-
missing canonical version spec when a project only has shim namespace version
|
|
100
|
-
specs.
|
|
101
|
-
- kettle-jem-template-20260730-001 - Gemspec package file enumeration now runs
|
|
102
|
-
relative to the gemspec directory, so release package contents stay correct
|
|
103
|
-
even when the gemspec is loaded from another working directory.
|
|
104
|
-
|
|
105
|
-
- kettle-jem-template-20260801-002 - Generated RSpec helpers now normalize
|
|
106
|
-
managed configuration block bindings structurally, preventing mixed block
|
|
107
|
-
parameter names from producing invalid configuration after a merge.
|
|
108
|
-
- kettle-jem-template-20260801-003 - Generated project metadata and
|
|
109
|
-
documentation now normalize configured underscore hostnames to valid
|
|
110
|
-
hyphenated hostnames.
|
|
111
|
-
- kettle-jem-template-20260801-004 - Generated organization README logos now
|
|
112
|
-
use GitHub's stable organization avatar endpoint instead of assuming a
|
|
113
|
-
matching Galtzo-hosted asset exists.
|
|
114
|
-
|
|
115
|
-
- kettle-jem-template-20260802-001 - Devcontainer JSON files now merge as JSONC,
|
|
116
|
-
preserving comments and trailing commas during template updates.
|
|
117
|
-
|
|
118
|
-
- Fix README reference definitions and local navigation links so release validation succeeds.
|
|
119
|
-
|
|
120
|
-
- Run CI on branch-stack release targets.
|
|
121
|
-
|
|
122
|
-
## [22.3.2] - 2026-07-03
|
|
123
|
-
|
|
124
|
-
- TAG: [v22.3.2][22.3.2t]
|
|
125
|
-
- COVERAGE: 100.00% -- 15/15 lines in 2 files
|
|
126
|
-
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 2 files
|
|
127
|
-
- 14.29% documented
|
|
128
|
-
|
|
129
|
-
### Fixed
|
|
130
|
-
|
|
131
|
-
- Allow release branch-stack pushes to start the managed GitHub Actions workflows.
|
|
132
|
-
|
|
133
|
-
- Removed stale Shopify wording from gem metadata and retired legacy context Gemfiles.
|
|
134
|
-
- Refreshed the locked dependency set to use released RuboCop-LTS RSpec tooling.
|
|
135
|
-
|
|
136
|
-
- Package configured license files in gem release file lists.
|
|
137
|
-
|
|
138
|
-
## [22.3.1] - 2026-06-28
|
|
139
|
-
|
|
140
|
-
- TAG: [v22.3.1][22.3.1t]
|
|
141
|
-
- COVERAGE: 100.00% -- 15/15 lines in 2 files
|
|
142
|
-
- BRANCH COVERAGE: 0.00% -- 0/0 branches in 2 files
|
|
143
|
-
- 14.29% documented
|
|
144
|
-
|
|
145
|
-
### Added
|
|
146
|
-
|
|
147
|
-
- Added support for JRuby 10.1 and TruffleRuby 34.0.
|
|
148
|
-
|
|
149
|
-
### Fixed
|
|
150
|
-
|
|
151
|
-
- Restored the destination `spec.files` package declaration so the built gem
|
|
152
|
-
includes its `config/*.yml` RuboCop configuration files.
|
|
153
|
-
|
|
154
|
-
## [22.3.0] - 2026-06-01
|
|
155
|
-
|
|
156
|
-
### Added
|
|
157
|
-
|
|
158
|
-
### Changed
|
|
159
|
-
|
|
160
|
-
- Updated dependency floors to the latest RuboCop-LTS family releases.
|
|
161
|
-
- Raised the minimum supported Ruby version to 3.2.
|
|
162
|
-
|
|
163
|
-
### Fixed
|
|
164
|
-
|
|
165
|
-
- Added the missing previous release entry to the changelog.
|
|
166
|
-
|
|
167
|
-
### Removed
|
|
168
|
-
|
|
169
|
-
- Removed support for running this gem on Ruby < 3.2.
|
|
170
|
-
|
|
171
|
-
## [22.2.0] - 2026-05-30
|
|
172
|
-
|
|
173
8
|
### Added
|
|
174
|
-
|
|
175
9
|
### Changed
|
|
176
|
-
|
|
177
|
-
- Updated the `standard-rubocop-lts` dependency floor to `2.0.0`.
|
|
178
|
-
|
|
179
10
|
### Fixed
|
|
180
|
-
|
|
181
11
|
### Removed
|
|
182
12
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
## [22.1.3] - 2023-05-30
|
|
186
|
-
|
|
13
|
+
## [24.0.0] - 2023-05-22
|
|
187
14
|
### Added
|
|
15
|
+
- Initial even release supporting Ruby >= 3.2
|
|
188
16
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
## [22.1.2] - 2023-05-22
|
|
193
|
-
|
|
194
|
-
### Changed
|
|
195
|
-
|
|
196
|
-
- Oops, minimum Ruby version is 3.1, for real this time.
|
|
197
|
-
|
|
198
|
-
## [22.1.1] - 2023-05-22
|
|
199
|
-
|
|
200
|
-
### Changed
|
|
201
|
-
|
|
202
|
-
- Minimum Ruby version is 3.1
|
|
203
|
-
|
|
204
|
-
## [22.1.0] - 2023-05-22
|
|
205
|
-
|
|
206
|
-
### Changed
|
|
207
|
-
|
|
208
|
-
- Bumped dependency rubocop-ruby3_1 to ~> 2.0.4
|
|
209
|
-
|
|
210
|
-
## [22.0.1] - 2022-06-09
|
|
211
|
-
|
|
212
|
-
### Added
|
|
213
|
-
|
|
214
|
-
- Improve, and dry up documentation
|
|
215
|
-
|
|
216
|
-
### Changed
|
|
217
|
-
|
|
218
|
-
- Bumped dependency rubocop-ruby3_1 to ~> 1.0.6
|
|
219
|
-
|
|
220
|
-
### Fixed
|
|
221
|
-
|
|
222
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
|
223
|
-
|
|
224
|
-
## [22.0.0] - 2022-05-23
|
|
225
|
-
|
|
226
|
-
- TAG: [v22.0.0][22.0.0t]
|
|
227
|
-
|
|
228
|
-
### Added
|
|
229
|
-
|
|
230
|
-
- Initial even release supporting Ruby >= 3.1
|
|
231
|
-
|
|
232
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.3.3...HEAD
|
|
233
|
-
[22.3.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.3.2...v22.3.3
|
|
234
|
-
[22.3.3t]: https://github.com/rubocop-lts/rubocop-lts/releases/tag/v22.3.3
|
|
235
|
-
[22.3.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.3.1...v22.3.2
|
|
236
|
-
[22.3.2t]: https://github.com/rubocop-lts/rubocop-lts/releases/tag/v22.3.2
|
|
237
|
-
[22.3.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.3.0...v22.3.1
|
|
238
|
-
[22.3.1t]: https://github.com/rubocop-lts/rubocop-lts/releases/tag/v22.3.1
|
|
239
|
-
[22.3.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/compare/v22.2.0...v22.3.0
|
|
240
|
-
[22.2.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/compare/v22.1.3...v22.2.0
|
|
241
|
-
[22.1.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.1.2...v22.1.3
|
|
242
|
-
[22.1.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.1.1...v22.1.2
|
|
243
|
-
[22.1.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.1.0...v22.1.1
|
|
244
|
-
[22.1.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.0.1...v22.1.0
|
|
245
|
-
[22.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v22.0.0...v22.0.1
|
|
246
|
-
[22.0.0]: https://github.com/rubocop-lts/rubocop-lts/releases/tag/v22.0.0
|
|
247
|
-
[22.0.0t]: https://github.com/rubocop-lts/rubocop-lts/releases/tag/v22.0.0
|
|
17
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v24.0.0...HEAD
|
|
18
|
+
[24.0.0]: https://gitlab.com/rubocop-lts/rubocop-lts/-/tags/v24.0.0
|
data/CODE_OF_CONDUCT.md
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
|
|
6
|
+
|
|
7
|
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
|
|
8
|
+
|
|
9
|
+
## Our Standards
|
|
10
|
+
|
|
11
|
+
Examples of behavior that contributes to a positive environment for our community include:
|
|
12
|
+
|
|
13
|
+
* Demonstrating empathy and kindness toward other people
|
|
14
|
+
* Being respectful of differing opinions, viewpoints, and experiences
|
|
15
|
+
* Giving and gracefully accepting constructive feedback
|
|
16
|
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
|
|
17
|
+
* Focusing on what is best not just for us as individuals, but for the overall community
|
|
18
|
+
|
|
19
|
+
Examples of unacceptable behavior include:
|
|
20
|
+
|
|
21
|
+
* The use of sexualized language or imagery, and sexual attention or
|
|
22
|
+
advances of any kind
|
|
23
|
+
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
24
|
+
* Public or private harassment
|
|
25
|
+
* Publishing others' private information, such as a physical or email
|
|
26
|
+
address, without their explicit permission
|
|
27
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
|
28
|
+
professional setting
|
|
29
|
+
|
|
30
|
+
## Enforcement Responsibilities
|
|
31
|
+
|
|
32
|
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
|
|
33
|
+
|
|
34
|
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
|
|
35
|
+
|
|
36
|
+
## Scope
|
|
37
|
+
|
|
38
|
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
|
|
39
|
+
|
|
40
|
+
## Enforcement
|
|
41
|
+
|
|
42
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at peter.boling@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
|
|
43
|
+
|
|
44
|
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
|
|
45
|
+
|
|
46
|
+
## Enforcement Guidelines
|
|
47
|
+
|
|
48
|
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
|
|
49
|
+
|
|
50
|
+
### 1. Correction
|
|
51
|
+
|
|
52
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
|
|
53
|
+
|
|
54
|
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
|
|
55
|
+
|
|
56
|
+
### 2. Warning
|
|
57
|
+
|
|
58
|
+
**Community Impact**: A violation through a single incident or series of actions.
|
|
59
|
+
|
|
60
|
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
|
|
61
|
+
|
|
62
|
+
### 3. Temporary Ban
|
|
63
|
+
|
|
64
|
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
|
|
65
|
+
|
|
66
|
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
|
|
67
|
+
|
|
68
|
+
### 4. Permanent Ban
|
|
69
|
+
|
|
70
|
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
|
|
71
|
+
|
|
72
|
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
|
|
73
|
+
|
|
74
|
+
## Attribution
|
|
75
|
+
|
|
76
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
|
|
77
|
+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
|
|
78
|
+
|
|
79
|
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
|
|
80
|
+
|
|
81
|
+
[homepage]: https://www.contributor-covenant.org
|
|
82
|
+
|
|
83
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
84
|
+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
|
data/CONTRIBUTING.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
## Contributing
|
|
2
|
+
|
|
3
|
+
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-lts][🚎src-main]
|
|
4
|
+
. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
|
|
5
|
+
the [code of conduct][conduct].
|
|
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
|
|
8
|
+
and post a message to the [gitter chat][🏘chat].
|
|
9
|
+
|
|
10
|
+
## Release
|
|
11
|
+
|
|
12
|
+
To release a new version:
|
|
13
|
+
|
|
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].
|
|
23
|
+
|
|
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]
|
|
27
|
+
|
|
28
|
+
## Contributors
|
|
29
|
+
|
|
30
|
+
See: [https://gitlab.com/rubocop-lts/rubocop-lts/-/graphs/main][🖐contributors]
|
|
31
|
+
|
|
32
|
+
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
|
33
|
+
|
|
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/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 Peter Boling
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|