rubocop-ruby3_0 3.0.1 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b235742329a34f9f0925f0df037872fd8e0edf9850615fa47a5ac59ce28f6375
4
- data.tar.gz: 63f4942ec59508039a8a5f7f12c243e7f0e507681ffe2406c1857306faf8b144
3
+ metadata.gz: 0fa94e786ca33c6ab66de6743931df80b7eef6565d1ecf4827de5347d5dd8831
4
+ data.tar.gz: 133555041f922280074b82b92a0aec0bcaf2731173a9ebc9011497fb65e1e5dd
5
5
  SHA512:
6
- metadata.gz: d319142cb8ac834515ed034ed5ca05ff0fa10925e19a1fc49bf8d4da06bc476cd33dfebf5c06ffed4bbf64a208854c8be7605e422839144583cac5e1cf0bad43
7
- data.tar.gz: ecc3c2c2c4fa56d1a2d34162e9150ccbddebeb446baa4912e159c1d489a16fde74f51ab39192dc404197d21ba5de4a8f1b8eb7d511760afb95dc3a365f2166fc
6
+ metadata.gz: 43e7d926ba5f9a9f52dfda1e62d0213adc3acec6d659ef7a187f5c2c1a3770764128bd57a09dfbeadd071d53724b60eddddc4c65e943596690f4376821e1ba86
7
+ data.tar.gz: 19f2e4519b6c32f5a7a9339e8fed286ec493a722be04a097c1947920641345631fe8968cfb7e95245e49db451b8d1b0f3883fd76065b96895beed72e92128090
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,36 +1,126 @@
1
1
  # Changelog
2
+
3
+ [![SemVer 2.0.0][📌semver-img]][📌semver] [![Keep-A-Changelog 1.0.0][📗keep-changelog-img]][📗keep-changelog]
4
+
2
5
  All notable changes to this project will be documented in this file.
3
6
 
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).
7
+ The format is based on [Keep a Changelog][📗keep-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
6
18
 
7
19
  ## [Unreleased]
20
+
21
+ ### Added
22
+
23
+ ### Changed
24
+
25
+ ### Deprecated
26
+
27
+ ### Removed
28
+
29
+ ### Fixed
30
+
31
+ ### Security
32
+
33
+ ## [3.0.4] - 2026-06-25
34
+
35
+ - TAG: [v3.0.4][3.0.4t]
36
+ - COVERAGE: 55.17% -- 16/29 lines in 5 files
37
+ - BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
38
+ - 42.86% documented
39
+
8
40
  ### Added
41
+
42
+ - Added support for JRuby 10.1 and TruffleRuby 34.0.
43
+
9
44
  ### Changed
45
+
46
+ - Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
47
+
48
+ ### Fixed
49
+
50
+ - Restored `docs/CNAME` so the generated documentation site keeps its custom domain.
51
+ - Corrected misspelled contact metadata to use `galtzo.com`.
52
+
53
+ ## [3.0.2] 2026-06-01
54
+
55
+ ### Added
56
+
57
+ ### Changed
58
+
59
+ - Corrected gem metadata to declare the Ruby 3.2 runtime floor that has been implicit since the last major release.
60
+ - Updated dependency floors:
61
+ - `version_gem` to `~> 1.1`, `>= 1.1.9`.
62
+ - `rubocop-gradual` to `~> 0.3`, `>= 0.3.6`.
63
+ - `rubocop-md` to `~> 2.0`, `>= 2.0.4`.
64
+ - `rubocop-rake` to `~> 0.7`, `>= 0.7.1`.
65
+ - `rubocop-thread_safety` to `~> 0.7`, `>= 0.7.3`.
66
+ - `standard-rubocop-lts` to `~> 2.0`, `>= 2.0.3`.
67
+ - Release, lint, documentation, and test dependencies to their latest compatible floors.
68
+ - Updated direct dependency floors and moved `rubocop-md` to plugin loading.
69
+
70
+ ### Fixed
71
+
72
+ ### Removed
73
+
74
+ ## [3.0.1] 2026-06-01
75
+
76
+ ### Added
77
+
78
+ ### Changed
79
+
10
80
  - Load `rubocop-thread_safety` through RuboCop's plugin API.
81
+
82
+ ### Fixed
83
+
84
+ ### Removed
85
+
86
+ ## [3.0.0] 2026-05-30
87
+
88
+ ### Added
89
+
90
+ ### Changed
91
+
11
92
  - Tidelift for Reporting Security vulnerabilities
12
93
  - Updated `standard-rubocop-lts` dependency to the `2.x` series.
94
+
13
95
  ### Fixed
96
+
14
97
  ### Removed
98
+
15
99
  - rubocop-shopify because they boiled the ocean
16
100
  - turning cops off isn't copacetic with the goal of strict compatibility
17
101
 
18
102
  ## [2.0.6] 2023-06-13
103
+
19
104
  ### Changed
105
+
20
106
  - Moved development dependencies out of gemspec
21
107
  - rubocop to 1.52.1
22
108
  - rubocop-shopify to 2.14
23
109
  - standard-custom to 1.0.1
24
110
  - standard-rubocop-lts to 1.0.7
25
111
  - version_gem to 1.1.3
112
+
26
113
  ### Fixed
114
+
27
115
  - rubocop/rails.yml config
28
116
  - betterlint integration
29
117
  - standard-rails integration
30
118
  - bin/pry now pre-loads this library
31
119
 
32
120
  ## [2.0.5] 2023-06-05
121
+
33
122
  ### Added
123
+
34
124
  - Dependencies
35
125
  - yard-junk
36
126
  - redcarpet
@@ -40,24 +130,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
40
130
  - Some rules should ignore specs/tests
41
131
  - Style/MethodCallWithArgsParentheses
42
132
  - Style/ClassAndModuleChildren
133
+
43
134
  ### Fixed
135
+
44
136
  - `yard` documentation task
137
+
45
138
  ### Changed
139
+
46
140
  - Added Include to inherit_mode: merge
47
141
  - Updated dependency on standard-rubocop-lts
48
142
 
49
143
  ## [2.0.4] 2023-05-22
144
+
50
145
  ### Fixed
146
+
51
147
  - install_tasks and Railtie loading of rake tasks
148
+
52
149
  ### Changed
150
+
53
151
  - tasks.rake => tasks.rb
54
152
 
55
153
  ## [2.0.3] 2023-05-21
154
+
56
155
  ### Fixed
156
+
57
157
  - Ship rake tasks in gem package
58
158
 
59
159
  ## [2.0.2] 2023-05-19
160
+
60
161
  ### Added
162
+
61
163
  - Configs added for:
62
164
  - standard-performance
63
165
  - standard-custom
@@ -66,11 +168,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66
168
  - betterlint
67
169
  - standard-rails
68
170
  - version_gem
171
+
69
172
  ### Fixed
173
+
70
174
  - Fix rake_tasks hook on Railtie
71
175
 
72
176
  ## [2.0.0] 2023-05-09 [YANKED]
177
+
73
178
  ### Changed
179
+
74
180
  - New/Better configs for:
75
181
  - rubocop
76
182
  - rubocop-gradual
@@ -86,65 +192,98 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
86
192
  - rubocop-packaging
87
193
 
88
194
  ## [1.1.2] 2023-03-17
195
+
89
196
  ### Added
197
+
90
198
  * GitLab CI config
199
+
91
200
  ### Changed
201
+
92
202
  * Upgraded to RuboCop v1.48.1
93
203
  * Compatible with rubocop-packaging ~> 0.5.2
94
204
  * Improved development documentation
95
205
  * Improved documentation on SemVer adherence
206
+
96
207
  ### Fixed
208
+
97
209
  * Stop defining global variable in version.rb
98
210
 
99
211
  ## [1.1.1] 2022-12-20
212
+
100
213
  ### Fixed
214
+
101
215
  * Do not require version.rb from gemspec so code coverage is accurate from both `rake` and `rspec`
102
216
  * Typos in CHANGELOG & Documentation
217
+
103
218
  ### Changed
219
+
104
220
  * Minimum Code Coverage == 100%
105
221
 
106
222
  ## [1.1.0] 2022-12-18
223
+
107
224
  ### Changed
225
+
108
226
  * Update to rubocop `~> 1.40.0`
227
+
109
228
  ### Added
229
+
110
230
  * Gem release ships with `SHA512` and `SHA256` checksums
111
231
  * Release is securely signed by author
112
232
  * Document release process in `CONTRIBUTING.md`
113
233
  * Documentation of why this gem exists
114
234
 
115
235
  ## [1.0.6] 2022-06-08
236
+
116
237
  ### Changed
238
+
117
239
  * Update to rubocop `~> 1.30.1`
118
240
  * Removed test_files from gemspec
119
241
  * Add binstubs for bundle, rake, rspec, and rubocop
120
242
 
121
243
  ## [1.0.5] 2022-06-05
244
+
122
245
  ### Changed
246
+
123
247
  * Update to rubocop `~> 1.30.0`
124
248
 
125
249
  ## [1.0.4] 2022-05-23
250
+
126
251
  ### Changed
252
+
127
253
  * Update to rubocop `~> 1.29.1`
128
254
 
129
255
  ## [1.0.3] 2022-05-23
256
+
130
257
  ### Added
258
+
131
259
  * Rubocop => RuboCop typo repair
132
260
  * Ruby Version Support Matrix
133
261
  * Improved documentation
134
262
 
135
263
  ## [1.0.2] 2022-05-03
264
+
136
265
  ### Fixed
266
+
137
267
  * Added missing rubocop.yml for inherit_gem directive
138
268
 
139
269
  ## [1.0.1] 2022-05-02
270
+
140
271
  ### Added
272
+
141
273
  * Documentation
142
274
 
143
275
  ## [1.0.0] 2022-05-01
276
+
144
277
  ### Added
278
+
145
279
  * Initial release
146
280
 
147
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.6...HEAD
281
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.4...HEAD
282
+ [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v3.0.2...v3.0.4
283
+ [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby3_0/releases/tag/v3.0.4
284
+ [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/compare/v3.0.1...v3.0.2
285
+ [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/compare/v3.0.0...v3.0.1
286
+ [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/compare/v2.0.6...v3.0.0
148
287
  [2.0.6]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.5...v2.0.6
149
288
  [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.4...v2.0.5
150
289
  [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v2.0.3...v2.0.4
data/CITATION.cff ADDED
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ title: "rubocop-ruby3_0"
3
+ message: >-
4
+ If you use this work and you want to cite it,
5
+ then you can use the metadata from this file.
6
+ type: software
7
+ authors:
8
+ - given-names: "Peter H."
9
+ family-names: "Boling"
10
+ email: "floss@galtzo.com"
11
+ affiliation: "galtzo.com"
12
+ orcid: 'https://orcid.org/0009-0008-8519-441X'
13
+ identifiers:
14
+ - type: url
15
+ value: 'https://github.com/rubocop-lts/rubocop-ruby3_0'
16
+ description: "rubocop-ruby3_0"
17
+ repository-code: 'https://github.com/rubocop-lts/rubocop-ruby3_0'
18
+ abstract: >-
19
+ rubocop-ruby3_0
20
+ license: See license file
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,83 +2,133 @@
2
2
 
3
3
  ## Our Pledge
4
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.
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, caste, color, religion, or sexual
10
+ identity and orientation.
6
11
 
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
8
14
 
9
15
  ## Our Standards
10
16
 
11
- Examples of behavior that contributes to a positive environment for our community include:
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
12
19
 
13
20
  * Demonstrating empathy and kindness toward other people
14
21
  * Being respectful of differing opinions, viewpoints, and experiences
15
22
  * 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
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the overall
26
+ community
18
27
 
19
28
  Examples of unacceptable behavior include:
20
29
 
21
- * The use of sexualized language or imagery, and sexual attention or
22
- advances of any kind
30
+ * The use of sexualized language or imagery, and sexual attention or advances of
31
+ any kind
23
32
  * Trolling, insulting or derogatory comments, and personal or political attacks
24
33
  * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
26
- address, without their explicit permission
34
+ * Publishing others' private information, such as a physical or email address,
35
+ without their explicit permission
27
36
  * Other conduct which could reasonably be considered inappropriate in a
28
37
  professional setting
29
38
 
30
39
  ## Enforcement Responsibilities
31
40
 
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.
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
33
45
 
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.
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
35
50
 
36
51
  ## Scope
37
52
 
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.
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official email address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
39
58
 
40
59
  ## Enforcement
41
60
 
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.
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ [![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
64
+ All complaints will be reviewed and investigated promptly and fairly.
43
65
 
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
45
68
 
46
69
  ## Enforcement Guidelines
47
70
 
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:
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
49
73
 
50
74
  ### 1. Correction
51
75
 
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
53
78
 
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.
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
55
82
 
56
83
  ### 2. Warning
57
84
 
58
- **Community Impact**: A violation through a single incident or series of actions.
85
+ **Community Impact**: A violation through a single incident or series of
86
+ actions.
59
87
 
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.
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or permanent
93
+ ban.
61
94
 
62
95
  ### 3. Temporary Ban
63
96
 
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
65
99
 
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.
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
67
105
 
68
106
  ### 4. Permanent Ban
69
107
 
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.
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
71
111
 
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
112
+ **Consequence**: A permanent ban from any sort of public interaction within the
113
+ community.
73
114
 
74
115
  ## Attribution
75
116
 
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.
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.1, available at
119
+ [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
78
120
 
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
121
+ Community Impact Guidelines were inspired by
122
+ [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
82
123
 
83
124
  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.
125
+ [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
126
+ [https://www.contributor-covenant.org/translations][translations].
127
+
128
+ [homepage]: https://www.contributor-covenant.org
129
+ [v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
130
+ [Mozilla CoC]: https://github.com/mozilla/diversity
131
+ [FAQ]: https://www.contributor-covenant.org/faq
132
+ [translations]: https://www.contributor-covenant.org/translations
133
+ [🚂maint-contact]: http://www.railsbling.com/contact
134
+ [🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red