rubocop-ruby2_1 1.0.3 → 1.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: fa4d47be39af30a4c6934cb3e67499814ae38da038b8526ec01b600e12bc9a24
4
- data.tar.gz: cae72b5145e0c4ecdf96e2a73c3541812250c64bd51fa8167e6e8c901be3fecf
3
+ metadata.gz: 74ac7691f2d75cd1aa08345be9c11051ad4b1c4d207592d46003d43840945265
4
+ data.tar.gz: 725cc2611f38077ee668104d79d17cfde7265a4384e0904ac81953f4286a7939
5
5
  SHA512:
6
- metadata.gz: 3db60e7cb3c0a81a23783898055066f3f662730b6744280b785470356e04d60c7ae97a3e1d3c7da25402f1d1706c3d4daae49a36041d80d3a261e4fd8433b093
7
- data.tar.gz: be2a24b17e00b14c85f06e3bcf56a07dc5db3ef8aef0ddc995cf790fcb127970b55b7811b19d56a931e9cb8063514ac20073fe37911b4f90a85524eb834e8e71
6
+ metadata.gz: 76f4ef66f664d81b232bba4f6b989dd74e69eca967073d73e20ebb67abf6ce1dcd96642ae27a30fd620529723589006364bcb2d5afe9e3dd51f4256768288aa7
7
+ data.tar.gz: 53ccf4b482b78710b1b27987542a5c1f2abd138532cbc765eafd898aafdd8f1b6c8ad39b5c965f458574e69cd462d971a30246ef2a1c05b057be7e0a4cf61a09
data/CHANGELOG.md CHANGED
@@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [1.0.4] 2022-05-22
17
+ ### Added
18
+ * Rubocop => RuboCop typo repair
19
+ * Ruby Version Support Matrix
20
+
16
21
  ## [1.0.3] 2022-05-03
17
22
  ### Added
18
23
  * Style/BracesAroundHashParameters configured to help transition to Ruby 2.7+
@@ -26,14 +31,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
26
31
  * Documentation
27
32
 
28
33
  ### Changed
29
- * Rubocop lock 0.57.0 => 0.57.2
34
+ * RuboCop lock 0.57.0 => 0.57.2
30
35
 
31
36
  ## [1.0.0] 2022-05-01
32
37
  ### Added
33
38
  * Initial release
34
39
 
35
- [Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_1/compare/v1.0.3...HEAD
36
- [1.0.3]: https://github.com/rubocop-semver/rubocop-ruby2_1/compare/v1.0.2...v1.0.3
37
- [1.0.2]: https://github.com/rubocop-semver/rubocop-ruby2_1/compare/v1.0.1...v1.0.2
38
- [1.0.1]: https://github.com/rubocop-semver/rubocop-ruby2_1/compare/v1.0.0...v1.0.1
39
- [1.0.0]: https://github.com/rubocop-semver/rubocop-ruby2_1/compare/e23c1cb798e1198c7b2dcca40a586b5ad6294348...v1.0.0
40
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.4...HEAD
41
+ [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.3...v1.0.4
42
+ [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.2...v1.0.3
43
+ [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.1...v1.0.2
44
+ [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/v1.0.0...v1.0.1
45
+ [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_1/compare/e23c1cb798e1198c7b2dcca40a586b5ad6294348...v1.0.0
data/CONTRIBUTING.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Contributing
2
2
 
3
- Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-semver/rubocop-ruby2_1][source]
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-ruby2_1][source]
4
4
  . This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to
5
5
  the [code of conduct][conduct].
6
6
 
@@ -8,18 +8,18 @@ To submit a patch, please fork the project and create a patch with tests. Once y
8
8
 
9
9
  ## Contributors
10
10
 
11
- [![Contributors](https://contrib.rocks/image?repo=rubocop-semver/rubocop-ruby2_1)][contributors]
11
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_1)][contributors]
12
12
 
13
13
  Made with [contributors-img][contrib-rocks].
14
14
 
15
15
  [comment]: <> (Following links are used by README, CONTRIBUTING)
16
16
 
17
- [conduct]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md
17
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md
18
18
 
19
19
  [contrib-rocks]: https://contrib.rocks
20
20
 
21
- [contributors]: https://github.com/rubocop-semver/rubocop-ruby2_1/graphs/contributors
21
+ [contributors]: https://github.com/rubocop-lts/rubocop-ruby2_1/graphs/contributors
22
22
 
23
23
  [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
24
24
 
25
- [source]: https://github.com/rubocop-semver/rubocop-ruby2_1/
25
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_1/
data/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  <p align="center">
2
2
  <a href="https://rubocop.org#gh-light-mode-only" target="_blank" rel="noopener">
3
- <img width="120px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/logo/rubocop-light.svg?raw=true" alt="PNG Rubocop Logo, Copyright (c) 2014 Bozhidar Batsov, MIT License, SVG Rubocop Logo, Gil Barbara, CC0">
3
+ <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/logo/rubocop-light.svg?raw=true" alt="SVG RuboCop Logo, Copyright (c) 2014 Dimiter Petrov, CC BY-NC 4.0, see docs/images/logo/README.txt">
4
4
  </a>
5
5
  <a href="https://rubocop.org#gh-dark-mode-only" target="_blank" rel="noopener">
6
- <img width="120px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/logo/rubocop-dark.svg?raw=true" alt="SVG Rubocop Logo, Copyright (c) 2014 Bozhidar Batsov, MIT License, SVG Rubocop Logo, Roberto Huertas, MIT">
6
+ <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/logo/rubocop-dark.svg?raw=true" alt="SVG RuboCop Logo, Copyright (c) 2014 Dimiter Petrov, CC BY-NC 4.0, see docs/images/logo/README.txt">
7
7
  </a>
8
8
  <a href="https://www.ruby-lang.org/" target="_blank" rel="noopener">
9
- <img width="120px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/logo/ruby-logo.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5">
9
+ <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/logo/ruby-logo.svg?raw=true" alt="Yukihiro Matsumoto, Ruby Visual Identity Team, CC BY-SA 2.5, see docs/images/logo/README.txt">
10
10
  </a>
11
11
  <a href="https://semver.org/#gh-light-mode-only" target="_blank" rel="noopener">
12
- <img width="120px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/logo/semver-light.svg?raw=true" alt="SemVer.org Logo by @maxhaz">
12
+ <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/logo/semver-light.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
13
13
  </a>
14
14
  <a href="https://semver.org/#gh-dark-mode-only" target="_blank" rel="noopener">
15
- <img width="120px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/logo/semver-dark.svg?raw=true" alt="SemVer.org Logo by @maxhaz">
15
+ <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/logo/semver-dark.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
16
16
  </a>
17
17
  </p>
18
18
 
@@ -31,7 +31,7 @@ what brought you here.
31
31
 
32
32
  <p align="left">
33
33
  <a href="https://metaredux.com/posts/2022/04/21/rubocop-turns-10.html" target="_blank" rel="noopener">
34
- <img width="360px" src="https://github.com/rubocop-semver/rubocop-ruby2_1/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
34
+ <img width="360px" src="https://github.com/rubocop-lts/rubocop-ruby2_1/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
35
35
  </a>
36
36
  </p>
37
37
 
@@ -39,15 +39,52 @@ The purpose of this gem is to constrain the `rubocop` dependency of a project in
39
39
  a [SemVer compliant](https://semver.org/) (Semantic Versioning) way that aligns with the the desired minimum
40
40
  compatible/supported Ruby version.
41
41
 
42
+ ## Ruby Version Support Matrix
43
+
42
44
  Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
43
45
  minimizing the risk of a rubocop minor / patch upgrade breaking the build. See the
44
- official [compatibility matrix](https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix) (Rubocop documentation)
45
-
46
- ## Stable
46
+ official [compatibility matrix][rubocop-matrix] for `rubocop`.
47
+
48
+ `rubocop-ruby2_1` (this gem) will install on any version of Ruby >= 2.1, and can be used to analyze code intended to support Ruby >= 2.1.
49
+
50
+ * 🧊 - Install on Ruby `<version>`
51
+ * 🏃‍ - Will Execute on Ruby `<version>`
52
+ * 🪷 - Will not execute correctly on Ruby `<version>`
53
+ * 🛠 - Lint code with Ruby `<version>` syntax as the target
54
+
55
+ | gem | 1.8.7 | 1.9.3 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 3.0 | 3.1 | ruby-head | jruby-head |
56
+ |-------------------------|---------------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|------------|
57
+ | [rubocop-ruby1_9][rr19] | [🛠][what1_8] | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
58
+ | [rubocop-ruby2_0][rr20] | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
59
+ | [rubocop-ruby2_1][rr21] | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
60
+ | [rubocop-ruby2_2][rr22] | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊‍ 🪷 | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
61
+ | [rubocop-ruby2_3][rr23] | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
62
+ | [rubocop-ruby2_4][rr24] | | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
63
+ | [rubocop-ruby2_5][rr25] | | | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 |
64
+ | [rubocop-ruby2_6][rr26] | | | | | | | | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 |
65
+ | [rubocop-ruby2_7][rr27] | | | | | | | | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ |
66
+ | [rubocop-ruby3_0][rr30] | | | | | | | | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ |
67
+ | [rubocop-ruby3_1][rr31] | | | | | | | | 🛠 | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ |
68
+
69
+ [rr19]: https://github.com/rubocop-lts/rubocop-ruby1_9
70
+ [rr20]: https://github.com/rubocop-lts/rubocop-ruby2_0
71
+ [rr21]: https://github.com/rubocop-lts/rubocop-ruby2_1
72
+ [rr22]: https://github.com/rubocop-lts/rubocop-ruby2_2
73
+ [rr23]: https://github.com/rubocop-lts/rubocop-ruby2_3
74
+ [rr24]: https://github.com/rubocop-lts/rubocop-ruby2_4
75
+ [rr25]: https://github.com/rubocop-lts/rubocop-ruby2_5
76
+ [rr26]: https://github.com/rubocop-lts/rubocop-ruby2_6
77
+ [rr27]: https://github.com/rubocop-lts/rubocop-ruby2_7
78
+ [rr30]: https://github.com/rubocop-lts/rubocop-ruby3_0
79
+ [rr31]: https://github.com/rubocop-lts/rubocop-ruby3_1
80
+ [what1_8]: https://github.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
81
+ [rubocop-matrix]: https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix
82
+
83
+ ## 🗿 Stable
47
84
 
48
85
  All releases of this gem are stable releases. The first version is `1.0.0`.
49
86
 
50
- ## Installation
87
+ ## Installation
51
88
 
52
89
  Without bundler execute:
53
90
 
@@ -67,7 +104,7 @@ Or install it yourself as:
67
104
 
68
105
  $ gem install rubocop-ruby2_1
69
106
 
70
- ## Usage
107
+ ## 🔧 Usage
71
108
 
72
109
  The following is optional. We'll discuss why you might want to do this after you see what it does.
73
110
 
@@ -84,21 +121,46 @@ This has the same effect as you declaring the following in your `.rubocop.yml`:
84
121
  AllCops:
85
122
  # remove if already present in your `.rubocop.yml` to gain the full benefit of this gem!
86
123
  TargetRubyVersion: 2.1
87
- # The sibling gems for newer versions of Ruby support the NewCops directive as soon as Rubocop adds it.
124
+ # The sibling gems for newer versions of Ruby support the NewCops directive as soon as RuboCop adds it.
88
125
  # NewCops: enable
126
+
127
+ # Removed as of 0.80.0
128
+ # braces setting is for compatibility with Ruby 2.7+
129
+ # See:
130
+ # * https://github.com/rubocop/rubocop/issues/7641
131
+ # * https://github.com/rubocop/rubocop/pull/7643
132
+ Style/BracesAroundHashParameters:
133
+ Enabled: true
134
+ EnforcedStyle: context_dependent
89
135
  ```
90
136
 
91
137
  Let's talk about these settings.
92
138
 
93
- ## TargetRubyVersion
139
+ ### TargetRubyVersion
94
140
 
95
141
  Allowing this gem to manage the target ruby version means you can switch to a different gem within the family when you upgrade to the next version of Ruby, and have nothing else to change. A single line in the `Gemfile`, and you are done.
96
142
 
97
- ## NewCops: enable
143
+ ### NewCops: enable
144
+
145
+ Commented out! Setting does not exist in very old versions of rubocop that works with Ruby < 2.4.
98
146
 
99
147
  If you want to use this you'll have to upgrade to Ruby >= 2.4 and use the appropriate sibling gem, e.g. [`rubocop-ruby2_4`][2-4].
100
148
 
101
- [2-4]: https://github.com/rubocop-semver/rubocop-ruby2_4
149
+ [2-4]: https://github.com/rubocop-lts/rubocop-ruby2_4
150
+
151
+ ### Style/BracesAroundHashParameters
152
+
153
+ In an effort to help users of this gem prepare their code for more modern Rubies it has been enabled and configured with `coontext_dependent` as the closest parallel to what will work with Ruby 2.7+, and also retain compatibility with old Ruby.
154
+
155
+ See:
156
+ * https://github.com/rubocop/rubocop/issues/7641
157
+ * https://github.com/rubocop/rubocop/pull/7643
158
+
159
+ NOTE: This cop was removed from RuboCop as of 0.80.0, so if you are on modern RuboCop and reading this for some reason, you can't use it.
160
+
161
+ ### Upgrading from rubocop-ruby1_9 or rubocop-ruby2_0
162
+
163
+ At `rubocop 0.53.0`, which is in between the version locked by `rubocop-ruby2_0` (`0.50.0`) and the version locked by this gem (`0.57.2`), the cop `Style/TrailingCommaInLiteral` was split into `Style/TrailingCommaInArrayLiteral` and `Style/TrailingCommaInHashLiteral`.
102
164
 
103
165
  ## Development
104
166
 
@@ -106,17 +168,17 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
106
168
 
107
169
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
108
170
 
109
- ## Contributing
171
+ ## ⚡️ Contributing
110
172
 
111
173
  See [CONTRIBUTING.md][contributing]
112
174
 
113
- ## Contributors
175
+ ## 🌈 Contributors
114
176
 
115
- [![Contributors](https://contrib.rocks/image?repo=rubocop-semver/rubocop-ruby2_1)]("https://github.com/rubocop-semver/rubocop-ruby2_1/graphs/contributors")
177
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_1)]("https://github.com/rubocop-lts/rubocop-ruby2_1/graphs/contributors")
116
178
 
117
179
  Made with [contributors-img](https://contrib.rocks).
118
180
 
119
- ## License
181
+ ## 📄 License
120
182
 
121
183
  The gem is available as open source under the terms of
122
184
  the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
@@ -136,22 +198,22 @@ Source: [Unsplash][org-logo-source]
136
198
  License: [Unsplash License][org-logo-license]
137
199
  </details>
138
200
 
139
- [project-logos]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/docs/images/logo/README.txt
201
+ [project-logos]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/docs/images/logo/README.txt
140
202
  [org-logo-author]: https://unsplash.com/@yusufevli
141
203
  [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
142
204
  [org-logo-license]: https://unsplash.com/license
143
205
 
144
- ### Copyright
206
+ ### © Copyright
145
207
 
146
208
  * Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
147
209
 
148
210
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
149
211
 
150
- ## Code of Conduct
212
+ ## 🤝 Code of Conduct
151
213
 
152
- Everyone interacting in the Rubocop::Ruby21 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md).
214
+ Everyone interacting in the Rubocop::Ruby21 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md).
153
215
 
154
- ## Versioning
216
+ ## 📌 Versioning
155
217
 
156
218
  This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations of this scheme should be reported as
157
219
  bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be
@@ -169,15 +231,15 @@ spec.add_dependency "rubocop-ruby2_1", "~> 1.0"
169
231
 
170
232
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
171
233
 
172
- [gh_discussions]: https://github.com/rubocop-semver/rubocop-ruby2_1/discussions
234
+ [gh_discussions]: https://github.com/rubocop-lts/rubocop-ruby2_1/discussions
173
235
 
174
- [conduct]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md
236
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/CODE_OF_CONDUCT.md
175
237
 
176
- [contributing]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/CONTRIBUTING.md
238
+ [contributing]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/CONTRIBUTING.md
177
239
 
178
- [security]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/SECURITY.md
240
+ [security]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/SECURITY.md
179
241
 
180
- [license]: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/main/LICENSE.txt
242
+ [license]: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/main/LICENSE.txt
181
243
 
182
244
  [license-ref]: https://opensource.org/licenses/MIT
183
245
 
@@ -201,23 +263,23 @@ spec.add_dependency "rubocop-ruby2_1", "~> 1.0"
201
263
 
202
264
  [politicme]: https://nationalprogressiveparty.org
203
265
 
204
- [documentation]: https://rubydoc.info/github/rubocop-semver/rubocop-ruby2_1/main
266
+ [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-ruby2_1/main
205
267
 
206
- [source]: https://github.com/rubocop-semver/rubocop-ruby2_1/
268
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_1/
207
269
 
208
- [actions]: https://github.com/rubocop-semver/rubocop-ruby2_1/actions
270
+ [actions]: https://github.com/rubocop-lts/rubocop-ruby2_1/actions
209
271
 
210
- [issues]: https://github.com/rubocop-semver/rubocop-ruby2_1/issues
272
+ [issues]: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
211
273
 
212
- [climate_maintainability]: https://codeclimate.com/github/rubocop-semver/rubocop-ruby2_1/maintainability
274
+ [climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby2_1/maintainability
213
275
 
214
- [code_triage]: https://www.codetriage.com/rubocop-semver/rubocop-ruby2_1
276
+ [code_triage]: https://www.codetriage.com/rubocop-lts/rubocop-ruby2_1
215
277
 
216
278
  [blogpage]: http://www.railsbling.com/tags/rubocop-ruby2_1/
217
279
 
218
280
  [rubygems]: https://rubygems.org/gems/rubocop-ruby2_1
219
281
 
220
- [chat]: https://gitter.im/rubocop-semver/rubocop-ruby2_1?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
282
+ [chat]: https://gitter.im/rubocop-lts/rubocop-ruby2_1?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
221
283
 
222
284
  [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
223
285
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby21
5
- VERSION = "1.0.3".freeze
5
+ VERSION = "1.0.4".freeze
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-02 00:00:00.000000000 Z
11
+ date: 2022-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- description: Links dependency on minimum Ruby version to maximum Rubocop version
55
+ description: Links dependency on minimum Ruby version to maximum RuboCop version
56
56
  email:
57
57
  - peter.boling@gmail.com
58
58
  executables: []
@@ -72,18 +72,18 @@ files:
72
72
  - spec/config/rspec/rspec_core.rb
73
73
  - spec/rubocop/ruby2_1_spec.rb
74
74
  - spec/spec_helper.rb
75
- homepage: https://github.com/rubocop-semver/rubocop-ruby2_1
75
+ homepage: https://github.com/rubocop-lts/rubocop-ruby2_1
76
76
  licenses:
77
77
  - MIT
78
78
  metadata:
79
- homepage_uri: https://github.com/rubocop-semver/rubocop-ruby2_1
80
- source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_1/tree/v1.0.3
81
- changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_1/blob/v1.0.3/CHANGELOG.md
82
- bug_tracker_uri: https://github.com/rubocop-semver/rubocop-ruby2_1/issues
83
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_1/1.0.3
84
- wiki_uri: https://github.com/rubocop-semver/rubocop-ruby2_1/wiki
79
+ homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_1
80
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/tree/v1.0.4
81
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/blob/v1.0.4/CHANGELOG.md
82
+ bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/issues
83
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_1/1.0.4
84
+ wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_1/wiki
85
85
  rubygems_mfa_required: 'true'
86
- post_install_message:
86
+ post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths:
89
89
  - lib
@@ -98,11 +98,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  - !ruby/object:Gem::Version
99
99
  version: '0'
100
100
  requirements: []
101
- rubygems_version: 3.3.12
102
- signing_key:
101
+ rubygems_version: 3.3.14
102
+ signing_key:
103
103
  specification_version: 4
104
- summary: Semantically Versioned Rubocop Dependency
104
+ summary: Semantically Versioned RuboCop Dependency
105
105
  test_files:
106
+ - spec/spec_helper.rb
106
107
  - spec/config/rspec/rspec_core.rb
107
108
  - spec/rubocop/ruby2_1_spec.rb
108
- - spec/spec_helper.rb