rubocop-ruby2_0 3.0.2 → 3.0.5

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: d276033352163677e210f8f8930394a209d7b68f08d5493e3c644b84053c3789
4
- data.tar.gz: 55803d3c38623d0292befff279242ae1727aa4d01ab102e39725b00204913662
3
+ metadata.gz: a018dd0123f1fa306a3b0b41e55f072b4c7a175601f618f76c62eb548bb397d7
4
+ data.tar.gz: b2ab00151e9a860800a5bdd84e59f1d1fa516002ecc28e2fd317bb0fa73a01ec
5
5
  SHA512:
6
- metadata.gz: c32749f7fce75446bf519b8597fd2c56dd225bd2ded0c88ba77f4db332a07dff80c0cbad985be69d59b148098721ae73c59e7611049ae20d166303bfbe879908
7
- data.tar.gz: c1128b3fa811c95286282c844a06ef067e080c78ad9b9aec0bf1f4dcb9c080bf6fea9241f817a565d3289a1914209e56b6ce5bc28852646d8589077857042c1f
6
+ metadata.gz: dfeb86a9ff08480418eb46f8d982e8792134ddf07f3de58175051bcf924a654674320413e67ea9c8794d1adfd2073c255e7c2a01000f4d407184bc637e46b33d
7
+ data.tar.gz: c6ad78e414cd215bed8439adc3aaccdd15738eed914aedae53c9e1b951a39316f9fcdd73b920163ef53e07428e7ddda9fd91b18632ced05dbfc99bcfb32ad8ae
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,18 +1,73 @@
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
+
8
21
  ### Added
22
+
9
23
  ### Changed
10
- ### Fixed
24
+
25
+ ### Deprecated
26
+
11
27
  ### Removed
12
28
 
29
+ ### Fixed
30
+
31
+ ### Security
32
+
33
+ ## [3.0.5] - 2026-06-28
34
+
35
+ - TAG: [v3.0.5][3.0.5t]
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
+
40
+ ### Fixed
41
+
42
+ - Restored the gemspec `spec.files` declaration so packaged gems include the
43
+ intended public files and configuration payload.
44
+
45
+ ## [3.0.4] - 2026-06-25
46
+
47
+ - TAG: [v3.0.4][3.0.4t]
48
+ - COVERAGE: 55.17% -- 16/29 lines in 5 files
49
+ - BRANCH COVERAGE: 0.00% -- 0/2 branches in 5 files
50
+ - 42.86% documented
51
+
52
+ ### Added
53
+
54
+ - Added support for JRuby 10.1 and TruffleRuby 34.0.
55
+
56
+ ### Changed
57
+
58
+ - Retemplated project metadata and CI/development automation with `kettle-jem` v7.0.0.
59
+
60
+ ### Fixed
61
+
62
+ - Restored `docs/CNAME` so the generated documentation site keeps its custom domain.
63
+ - Corrected misspelled contact metadata to use `galtzo.com`.
64
+
13
65
  ## [3.0.2] 2026-06-01
66
+
14
67
  ### Added
68
+
15
69
  ### Changed
70
+
16
71
  - Corrected gem metadata to declare the Ruby 3.2 runtime floor that has been implicit since the last major release.
17
72
  - Updated dependency floors:
18
73
  - `version_gem` to `~> 1.1`, `>= 1.1.9`.
@@ -23,42 +78,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
23
78
  - `standard-rubocop-lts` to `~> 2.0`, `>= 2.0.3`.
24
79
  - Release, lint, documentation, and test dependencies to their latest compatible floors.
25
80
  - Updated direct dependency floors and moved `rubocop-md` to plugin loading.
81
+
26
82
  ### Fixed
83
+
27
84
  ### Removed
28
85
 
29
86
  ## [3.0.1] 2026-06-01
87
+
30
88
  ### Added
89
+
31
90
  ### Changed
91
+
32
92
  - Load `rubocop-thread_safety` through RuboCop's plugin API.
93
+
33
94
  ### Fixed
95
+
34
96
  ### Removed
35
97
 
36
98
  ## [3.0.0] 2026-05-30
99
+
37
100
  ### Added
101
+
38
102
  ### Changed
103
+
39
104
  - Tidelift for Reporting Security vulnerabilities
40
105
  - Updated `standard-rubocop-lts` dependency to the `2.x` series.
106
+
41
107
  ### Fixed
108
+
42
109
  ### Removed
110
+
43
111
  - rubocop-shopify because they boiled the ocean
44
112
  - turning cops off isn't copacetic with the goal of strict compatibility
45
113
 
46
114
  ## [2.0.5] 2023-06-13
115
+
47
116
  ### Changed
117
+
48
118
  - Moved development dependencies out of gemspec
49
119
  - rubocop to 1.52.1
50
120
  - rubocop-shopify to 2.14
51
121
  - standard-custom to 1.0.1
52
122
  - standard-rubocop-lts to 1.0.7
53
123
  - version_gem to 1.1.3
124
+
54
125
  ### Fixed
126
+
55
127
  - rubocop/rails.yml config
56
128
  - betterlint integration
57
129
  - standard-rails integration
58
130
  - bin/pry now pre-loads this library
59
131
 
60
132
  ## [2.0.4] 2023-06-05
133
+
61
134
  ### Added
135
+
62
136
  - Dependencies
63
137
  - yard-junk
64
138
  - redcarpet
@@ -68,28 +142,42 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
68
142
  - Some rules should ignore specs/tests
69
143
  - Style/MethodCallWithArgsParentheses
70
144
  - Style/ClassAndModuleChildren
145
+
71
146
  ### Fixed
147
+
72
148
  - `yard` documentation task
149
+
73
150
  ### Changed
151
+
74
152
  - Added Include to inherit_mode: merge
75
153
  - Updated dependency on standard-rubocop-lts
76
154
 
77
155
  ## [2.0.3] 2023-05-22
156
+
78
157
  ### Fixed
158
+
79
159
  - install_tasks and Railtie loading of rake tasks
160
+
80
161
  ### Changed
162
+
81
163
  - tasks.rake => tasks.rb
82
164
 
83
165
  ## [2.0.2] 2023-05-21
166
+
84
167
  ### Fixed
168
+
85
169
  - Ship rake tasks in gem package
86
170
 
87
171
  ## [2.0.1] 2023-05-18
172
+
88
173
  ### Fixed
174
+
89
175
  - Fix rake_tasks hook on Railtie
90
176
 
91
177
  ## [2.0.0] 2023-05-17 [YANKED]
178
+
92
179
  ### Added
180
+
93
181
  - Configs for:
94
182
  - rubocop
95
183
  - rubocop-gradual
@@ -109,37 +197,58 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109
197
  - betterlint
110
198
  - standard-rails
111
199
  - version_gem
200
+
112
201
  ### Removed
202
+
113
203
  - rubocop-ruby1_8.yml (replaced with a wholly separate gem [rubocop-ruby1_8](https://gitlab.com/rubocop-lts/rubocop-ruby1_8)
114
204
  - Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
115
205
 
116
206
  ## [1.0.5] 2022-05-22
207
+
117
208
  ### Added
209
+
118
210
  - Better documentation
119
211
 
120
212
  ## [1.0.4] 2022-05-22
213
+
121
214
  ### Added
215
+
122
216
  - Better documentation
123
217
  - Rubocop => RuboCop typo repair
124
218
  - Ruby Version Support Matrix
125
219
 
126
220
  ## [1.0.3] 2022-05-03
221
+
127
222
  ### Added
223
+
128
224
  - Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
129
225
 
130
226
  ## [1.0.2] 2022-05-03
227
+
131
228
  ### Fixed
229
+
132
230
  - Added missing rubocop.yml for inherit_gem directive
133
231
 
134
232
  ## [1.0.1] 2022-05-02
233
+
135
234
  ### Added
235
+
136
236
  - Documentation
137
237
 
138
238
  ## [1.0.0] 2022-05-01
239
+
139
240
  ### Added
241
+
140
242
  - Initial release
141
243
 
142
- [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v3.0.2...HEAD
244
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.5...HEAD
245
+ [3.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.4...v3.0.5
246
+ [3.0.5t]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases/tag/v3.0.5
247
+ [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v3.0.2...v3.0.4
248
+ [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby2_0/releases/tag/v3.0.4
249
+ [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v3.0.1...v3.0.2
250
+ [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v3.0.0...v3.0.1
251
+ [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v2.0.5...v3.0.0
143
252
  [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.4...v2.0.5
144
253
  [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.3...v2.0.4
145
254
  [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v2.0.2...v2.0.3
@@ -152,6 +261,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
152
261
  [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.1...v1.0.2
153
262
  [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/v1.0.0...v1.0.1
154
263
  [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_0/compare/8fb0f104adf43c5a0e3487b390f91881f79e4d89...v1.0.0
155
- [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v3.0.0...v3.0.1
156
- [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v2.0.5...v3.0.0
157
- [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0/-/compare/v3.0.1...v3.0.2
data/CITATION.cff ADDED
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ title: "rubocop-ruby2_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-ruby2_0'
16
+ description: "rubocop-ruby2_0"
17
+ repository-code: 'https://github.com/rubocop-lts/rubocop-ruby2_0'
18
+ abstract: >-
19
+ rubocop-ruby2_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