rubocop-ruby2_2 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: 6f802bad23b73a9653acd1c8de0c7dd8582caf3acbdf0af98b2e601ab367bd0b
4
- data.tar.gz: 285ea0041926aec14a12fe2f4dc664deef2eb7ef37d797365ccafda7f637f9bd
3
+ metadata.gz: 00615e49b2a30a7c7978a24af271716b0a6bf481846e20514fd66ce7c85c1e49
4
+ data.tar.gz: 2facb9923405f5f2c81a8af89d9fdf757ee9f9e4ad35404870a292c4e225a4d1
5
5
  SHA512:
6
- metadata.gz: e36fd3b9b5968eabbe66125168c22b19ca9916d9a2d1dede1d2348da282ca3a7d17bd8bc608a0a60727a7c1d10e6726dd6a99e135d7150e4fbb66da80f80f02d
7
- data.tar.gz: 8ed4ebd5a516e006beceee0fa8348c603387b9ff0f038a8dfc92c661c3daeb4d789223c6d2d108f4c3bd80065880c896eb49192dfba213f4e55a9d5a0d8df6e4
6
+ metadata.gz: ff97711f7e59ef90a468fe9cfa4987810393e7ead2c532deecf56c908254033e18349e0da95963faf498c0d4c58bd1223a4f46b3a6a9b8946fa019b71142ad03
7
+ data.tar.gz: 86957e62667faeaf7d77d4640c43f3d3274ba4379ea121f405b72ff4f62b228486318f9fec86ef9892295df79affbab17fa6d2d40dd7c9b591172bc96f60a24a
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
+
40
+ ### Added
41
+
42
+ - Added support for JRuby 10.1 and TruffleRuby 34.0.
43
+
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
+
8
55
  ### Added
56
+
9
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.5] 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.4] 2023-06-05
121
+
33
122
  ### Added
123
+
34
124
  - Dependencies
35
125
  - yard-junk
36
126
  - redcarpet
@@ -40,28 +130,42 @@ 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.3] 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.2] 2023-05-21
154
+
56
155
  ### Fixed
156
+
57
157
  - Ship rake tasks in gem package
58
158
 
59
159
  ## [2.0.1] 2023-05-18
160
+
60
161
  ### Fixed
162
+
61
163
  - Fix rake_tasks hook on Railtie
62
164
 
63
165
  ## [2.0.0] 2023-05-17 [YANKED]
166
+
64
167
  ### Added
168
+
65
169
  - Configs for:
66
170
  - rubocop
67
171
  - rubocop-gradual
@@ -81,35 +185,53 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
81
185
  - betterlint
82
186
  - standard-rails
83
187
  - version_gem
188
+
84
189
  ### Removed
190
+
85
191
  - Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
86
192
 
87
193
  ## [1.0.4] 2022-05-23
194
+
88
195
  ### Added
196
+
89
197
  - Rubocop => RuboCop typo repair
90
198
  - Ruby Version Support Matrix
91
199
  - Improved documentation
92
200
 
93
201
  ## [1.0.3] 2022-05-03
202
+
94
203
  ### Added
204
+
95
205
  - Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
96
206
 
97
207
  ## [1.0.2] 2022-05-03
208
+
98
209
  ### Fixed
210
+
99
211
  - Added missing rubocop.yml for inherit_gem directive
100
212
 
101
213
  ## [1.0.1] 2022-05-02
214
+
102
215
  ### Added
216
+
103
217
  - Documentation
104
218
 
105
219
  ### Changed
220
+
106
221
  - RuboCop lock 0.68.0 => 0.68.1
107
222
 
108
223
  ## [1.0.0] 2022-05-01
224
+
109
225
  ### Added
226
+
110
227
  - Initial release
111
228
 
112
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.5...HEAD
229
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v3.0.4...HEAD
230
+ [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v3.0.2...v3.0.4
231
+ [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby2_2/releases/tag/v3.0.4
232
+ [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/compare/v3.0.1...v3.0.2
233
+ [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/compare/v3.0.0...v3.0.1
234
+ [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2/-/compare/v2.0.5...v3.0.0
113
235
  [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.4...v2.0.5
114
236
  [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.3...v2.0.4
115
237
  [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_2/compare/v2.0.2...v2.0.3
data/CITATION.cff ADDED
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ title: "rubocop-ruby2_2"
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_2'
16
+ description: "rubocop-ruby2_2"
17
+ repository-code: 'https://github.com/rubocop-lts/rubocop-ruby2_2'
18
+ abstract: >-
19
+ rubocop-ruby2_2
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