rubocop-ruby1_9 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: 902c5186bad1dc9038f5266b655cc01aa63c49e00c5345a3cfe015e01eb9c2c8
4
- data.tar.gz: c2bb5b8508e5d64f4ceb386851f9eacfabf5e575c53014a17c3c0f9394953a2f
3
+ metadata.gz: ea25dddab617ad3e318cf5313e41f40c798f883d3f928e54310bdd5ef415dcb1
4
+ data.tar.gz: c56c41148349788e58cc1a218ed4f2f7aeca642532f0ad83b62c3b6d880a422a
5
5
  SHA512:
6
- metadata.gz: f36e43e116d00ee919af17548a9c187d12449a4ea9b2a9e806780a7a4e963af8e2e864a5436a1e760c8942b6e5ac1c3031969223c199fa26f5fdf0451ad7c901
7
- data.tar.gz: 0f4604c2cf28cac2271fa5ddf8d70a76c91f1234a8a6c07b0c1178676637ec44b8bf5725578355725d29277c66a42e87ddb1632f95555752e277fb8abafc43e4
6
+ metadata.gz: c5c79ab618734d18cf0b19d381d71f9aa80e4d66b98a5057ee5f80f3bc7bcc59c02cc1cc5e290d80bdfc396c3e0502fb626545307fda18c854199598e5b70bd9
7
+ data.tar.gz: a02080d36280371925cc3c3a5910778d0f5b1fa58035deae3fe033af08ad67df8097f74e70d48e5e1644a3ca353709e9b915b860b254a38093bf10b0d5ee27d3
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
+
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
+
8
76
  ### Added
77
+
9
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-14
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,32 +130,48 @@ 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
52
148
 
53
149
  ## [2.0.3] 2023-05-21
150
+
54
151
  ### Fixed
152
+
55
153
  - Ship rake tasks in gem package
56
154
 
57
155
  ## [2.0.2] 2023-05-18
156
+
58
157
  ### Removed
158
+
59
159
  - stray puts debugging
60
160
 
61
161
  ## [2.0.1] 2023-05-18
162
+
62
163
  ### Fixed
164
+
63
165
  - Fix rake_tasks hook on Railtie
166
+
64
167
  ### Changed
168
+
65
169
  - tasks.rake => tasks.rb
66
170
 
67
171
  ## [2.0.0] 2023-05-17 [YANKED]
172
+
68
173
  ### Added
174
+
69
175
  - Configs for:
70
176
  - rubocop
71
177
  - rubocop-gradual
@@ -85,20 +191,28 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
85
191
  - betterlint
86
192
  - standard-rails
87
193
  - version_gem
194
+
88
195
  ### Removed
196
+
89
197
  - rubocop-ruby1_8.yml (replaced with a wholly separate gem [rubocop-ruby1_8](https://gitlab.com/rubocop-lts/rubocop-ruby1_8)
90
198
  - Support for Ruby <= 2.6. Minimum Ruby Version is now 2.7
91
199
 
92
200
  ## [1.0.5] 2022-05-23
201
+
93
202
  ### Fixed
203
+
94
204
  - Fix typo in rubocop-ruby1_8.yml filename to be shipped
95
205
 
96
206
  ## [1.0.4] 2022-05-23
207
+
97
208
  ### Fixed
209
+
98
210
  - Ship rubocop-ruby1_8.yml with the gem
99
211
 
100
212
  ## [1.0.3] 2022-05-22
213
+
101
214
  ### Added
215
+
102
216
  - Better documentation
103
217
  - Default cop enabled for inherited rubocop.yml: Style/Encoding
104
218
  - Rubocop => RuboCop typo repair
@@ -107,21 +221,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
107
221
  - Support installing via rubygems, without bundler
108
222
 
109
223
  ### Fixed
224
+
110
225
  - Ability to install via `gem install` command (i.e. without bundler)
111
226
 
112
227
  ## [1.0.2] 2022-05-03
228
+
113
229
  ### Added
230
+
114
231
  - Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
115
232
 
116
233
  ## [1.0.1] 2022-05-03
234
+
117
235
  ### Fixed
236
+
118
237
  - Added missing rubocop.yml for inherit_gem directive
119
238
 
120
239
  ## [1.0.0] 2022-05-01
240
+
121
241
  ### Added
242
+
122
243
  - Initial release
123
244
 
124
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.6...HEAD
245
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v3.0.4...HEAD
246
+ [3.0.4]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v3.0.2...v3.0.4
247
+ [3.0.4t]: https://github.com/rubocop-lts/rubocop-ruby1_9/releases/tag/v3.0.4
248
+ [3.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9/-/compare/v3.0.1...v3.0.2
249
+ [3.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9/-/compare/v3.0.0...v3.0.1
250
+ [3.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9/-/compare/v2.0.6...v3.0.0
125
251
  [2.0.6]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.5...v2.0.6
126
252
  [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.4...v2.0.5
127
253
  [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.3...v2.0.4
data/CITATION.cff ADDED
@@ -0,0 +1,20 @@
1
+ cff-version: 1.2.0
2
+ title: "rubocop-ruby1_9"
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-ruby1_9'
16
+ description: "rubocop-ruby1_9"
17
+ repository-code: 'https://github.com/rubocop-lts/rubocop-ruby1_9'
18
+ abstract: >-
19
+ rubocop-ruby1_9
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