rubocop-ruby2_5 1.0.0 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7695eaf1bd585fdabd5aac6f2b2019a2ea20c08402028a89c662b6d1411c9997
4
- data.tar.gz: e676b5a72d03d55ca8e01b08511d14ffd129ee1b487f0223de0361c0b41fc152
3
+ metadata.gz: 0d0e17dda9f6f0bb695dcc585731d3423527147af08e36463be9a1681dbb7dfc
4
+ data.tar.gz: 781aa06bb0b1560f5999a17c0f516f0f36f5ff9b6b51312d3d64d44a0dab1415
5
5
  SHA512:
6
- metadata.gz: 74593f7e59d811706f9a885f8e5956d147b753e9565b4f7d9ea1a7af90e56b7f35b8c307b2ac0b69f045d64dc442352f5c9415c6498989a2df6fd02da4e41533
7
- data.tar.gz: 36d4980fbc065d9c37bcdd1fea53e987a1b062641c28860d3f6fd9599b1163e088322d7dde618195124281ea158aae07b873ed7d1f3bb731b765db959dccc7cf
6
+ metadata.gz: 3f94e6b3a9f88d2a04b3a5c8f0cc00d6a1664f1efb2ace60521ed8700db9daef816bd050be97fb4bd9c967ed22f86d9b9e462644627d4028985839bb94a7c0e0
7
+ data.tar.gz: 9c587c014c8fcf2e6e00236833309b02f192e8ae7fac3e4e84011781fe22c8341590ff2bdee66a135f95e0a0d6b84b342061708439005bf1bbc04f6d357952a5
data/CHANGELOG.md CHANGED
@@ -13,15 +13,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
- ## [1.0.0] 2022-04-30
16
+ ## [1.0.3] 2022-05-23
17
17
  ### Added
18
- * Initial release
19
-
20
- ### Changed
18
+ * Rubocop => RuboCop typo repair
19
+ * Ruby Version Support Matrix
20
+ * Improved documentation
21
21
 
22
+ ## [1.0.2] 2022-05-03
22
23
  ### Fixed
24
+ * Added missing rubocop.yml for inherit_gem directive
23
25
 
24
- ### Removed
26
+ ## [1.0.1] 2022-05-02
27
+ ### Added
28
+ * Documentation
29
+
30
+ ### Changed
31
+ * Lock rubocop dependency at 1.28.2; next version drops Ruby 2.5 support
32
+ - https://github.com/rubocop/rubocop/pull/10577
33
+
34
+ ## [1.0.0] 2022-05-01
35
+ ### Added
36
+ * Initial release
25
37
 
26
- [Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_5/compare/.v1.0.0...HEAD
27
- [1.0.0]: https://github.com/rubocop-semver/rubocop-ruby2_5/compare/78b4f8131d931354f76d4025ab0517fc9792fed2...v1.0.0
38
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.3...HEAD
39
+ [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.2...v1.0.3
40
+ [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.1...v1.0.2
41
+ [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/v1.0.0...v1.0.1
42
+ [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_5/compare/78b4f8131d931354f76d4025ab0517fc9792fed2...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_5][source]
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-ruby2_5][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_5)][contributors]
11
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_5)][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_5/blob/main/CODE_OF_CONDUCT.md
17
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_5/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_5/graphs/contributors
21
+ [contributors]: https://github.com/rubocop-lts/rubocop-ruby2_5/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_5/
25
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_5/
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_5/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_5/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_5/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_5/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_5/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_5/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_5/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_5/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_5/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_5/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_5/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_5/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
- Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
43
- minimiszing 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)
42
+ ## Ruby Version Support Matrix
45
43
 
46
- ## Stable
44
+ Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
45
+ minimizing the risk of a rubocop minor / patch upgrade breaking the build. See the
46
+ official [compatibility matrix][rubocop-matrix] for `rubocop`.
47
+
48
+ `rubocop-ruby2_5` (this gem) will install on any version of Ruby >= 2.5, and can be used to analyze code intended to support Ruby >= 2.5.
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
  Install the gem and add to the application's Gemfile by executing:
53
90
 
@@ -57,11 +94,11 @@ If bundler is not being used to manage dependencies, install the gem by executin
57
94
 
58
95
  $ gem install rubocop-ruby2_5
59
96
 
60
- ## Usage
97
+ ## 🔧 Usage
61
98
 
62
99
  The following is optional. We'll discuss why you might want to do this after you see what it does.
63
100
 
64
- Add to the top of your project's RuboCop configuration file:
101
+ Add to the top of your project's `.rubocop.yml` configuration file:
65
102
 
66
103
  ```yaml
67
104
  inherit_gem:
@@ -79,13 +116,13 @@ AllCops:
79
116
 
80
117
  Let's talk about these settings.
81
118
 
82
- ## TargetRubyVersion
119
+ ### TargetRubyVersion
83
120
 
84
121
  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.
85
122
 
86
- ## NewCops: enable
123
+ ### NewCops: enable
87
124
 
88
- You may not use this setting in your project yet. Upgrades to the latest Rubocop can include all kinds of changes, including removing support for the version of Ruby your project uses, or adding a cop that may not work with some of your syntax (e.g. [some use cases of 'module_function`](https://github.com/rubocop/rubocop/issues/5953#issuecomment-805921993)). Accepting new cops arriving in a new version of Rubocop can feel risky, especially when it doesn't follow SemVer.
125
+ You may not use this setting in your project yet. Upgrades to the latest RuboCop can include all kinds of changes, including removing support for the version of Ruby your project uses, or adding a cop that may not work with some of your syntax (e.g. [some use cases of 'module_function`](https://github.com/rubocop/rubocop/issues/5953#issuecomment-805921993)). Accepting new cops arriving in a new version of RuboCop can feel risky, especially when it doesn't follow SemVer.
89
126
 
90
127
  But this gem shoehorns rubocop into SemVer... so `NewCops` is now safe(r)! If you use a dependency greening tool like GitHub's `dependabot`, or the excellent alternatives [depfu](https://depfu.com/), and [`renovate`](https://www.whitesourcesoftware.com/free-developer-tools/renovate/), then you can see the effect of a minor / major version bumpin your CI Build!
91
128
 
@@ -95,31 +132,52 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
95
132
 
96
133
  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).
97
134
 
98
- ## Contributing
135
+ ## ⚡️ Contributing
99
136
 
100
137
  See [CONTRIBUTING.md][contributing]
101
138
 
102
- ## Contributors
139
+ ## 🌈 Contributors
103
140
 
104
- [![Contributors](https://contrib.rocks/image?repo=rubocop-semver/rubocop-ruby2_5)]("https://github.com/rubocop-semver/rubocop-ruby2_5/graphs/contributors")
141
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_5)]("https://github.com/rubocop-lts/rubocop-ruby2_5/graphs/contributors")
105
142
 
106
143
  Made with [contributors-img](https://contrib.rocks).
107
144
 
108
- ## License
145
+ ## 📄 License
109
146
 
110
147
  The gem is available as open source under the terms of
111
148
  the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
112
149
  See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
113
150
 
151
+ <details>
152
+ <summary>Project Logos (rubocop-ruby2_5)</summary>
153
+
154
+ See [docs/images/logo/README.txt][project-logos]
155
+ </details>
156
+
157
+ <details>
158
+ <summary>Organization Logo (rubocop-semver)</summary>
159
+
160
+ Author: [Yusuf Evli][org-logo-author]
161
+ Source: [Unsplash][org-logo-source]
162
+ License: [Unsplash License][org-logo-license]
163
+ </details>
164
+
165
+ [project-logos]: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/main/docs/images/logo/README.txt
166
+ [org-logo-author]: https://unsplash.com/@yusufevli
167
+ [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
168
+ [org-logo-license]: https://unsplash.com/license
169
+
170
+ ### © Copyright
171
+
114
172
  * Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
115
173
 
116
174
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
117
175
 
118
- ## Code of Conduct
176
+ ## 🤝 Code of Conduct
119
177
 
120
- Everyone interacting in the Rubocop::Ruby25 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_5/blob/main/CODE_OF_CONDUCT.md).
178
+ Everyone interacting in the Rubocop::Ruby25 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_5/blob/main/CODE_OF_CONDUCT.md).
121
179
 
122
- ## Versioning
180
+ ## 📌 Versioning
123
181
 
124
182
  This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations of this scheme should be reported as
125
183
  bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be
@@ -132,20 +190,20 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
132
190
  For example:
133
191
 
134
192
  ```ruby
135
- spec.add_dependency "rubocop-ruby2_5", "~> 0.1"
193
+ spec.add_dependency "rubocop-ruby2_5", "~> 1.0"
136
194
  ```
137
195
 
138
196
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
139
197
 
140
- [gh_discussions]: https://github.com/rubocop-semver/rubocop-ruby2_5/discussions
198
+ [gh_discussions]: https://github.com/rubocop-lts/rubocop-ruby2_5/discussions
141
199
 
142
- [conduct]: https://github.com/rubocop-semver/rubocop-ruby2_5/blob/main/CODE_OF_CONDUCT.md
200
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/main/CODE_OF_CONDUCT.md
143
201
 
144
- [contributing]: https://github.com/rubocop-semver/rubocop-ruby2_5/blob/main/CONTRIBUTING.md
202
+ [contributing]: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/main/CONTRIBUTING.md
145
203
 
146
- [security]: https://github.com/rubocop-semver/rubocop-ruby2_5/blob/main/SECURITY.md
204
+ [security]: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/main/SECURITY.md
147
205
 
148
- [license]: https://github.com/rubocop-semver/rubocop-ruby2_5/blob/main/LICENSE.txt
206
+ [license]: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/main/LICENSE.txt
149
207
 
150
208
  [license-ref]: https://opensource.org/licenses/MIT
151
209
 
@@ -169,27 +227,27 @@ spec.add_dependency "rubocop-ruby2_5", "~> 0.1"
169
227
 
170
228
  [politicme]: https://nationalprogressiveparty.org
171
229
 
172
- [documentation]: https://rubydoc.info/github/rubocop-semver/rubocop-ruby2_5/main
230
+ [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-ruby2_5/main
173
231
 
174
- [source]: https://github.com/rubocop-semver/rubocop-ruby2_5/
232
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_5/
175
233
 
176
- [actions]: https://github.com/rubocop-semver/rubocop-ruby2_5/actions
234
+ [actions]: https://github.com/rubocop-lts/rubocop-ruby2_5/actions
177
235
 
178
- [issues]: https://github.com/rubocop-semver/rubocop-ruby2_5/issues
236
+ [issues]: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
179
237
 
180
- [climate_maintainability]: https://codeclimate.com/github/rubocop-semver/rubocop-ruby2_5/maintainability
238
+ [climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby2_5/maintainability
181
239
 
182
- [climate_coverage]: https://codeclimate.com/github/rubocop-semver/rubocop-ruby2_5/test_coverage
240
+ [climate_coverage]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby2_5/test_coverage
183
241
 
184
- [codecov_coverage]: https://codecov.io/gh/rubocop-semver/rubocop-ruby2_5
242
+ [codecov_coverage]: https://codecov.io/gh/rubocop-lts/rubocop-ruby2_5
185
243
 
186
- [code_triage]: https://www.codetriage.com/rubocop-semver/rubocop-ruby2_5
244
+ [code_triage]: https://www.codetriage.com/rubocop-lts/rubocop-ruby2_5
187
245
 
188
246
  [blogpage]: http://www.railsbling.com/tags/rubocop-ruby2_5/
189
247
 
190
248
  [rubygems]: https://rubygems.org/gems/rubocop-ruby2_5
191
249
 
192
- [chat]: https://gitter.im/rubocop-semver/rubocop-ruby2_5?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
250
+ [chat]: https://gitter.im/rubocop-lts/rubocop-ruby2_5?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
193
251
 
194
252
  [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
195
253
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby25
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.3"
6
6
  end
7
7
  end
data/rubocop.yml ADDED
@@ -0,0 +1,3 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.5
3
+ NewCops: enable
@@ -0,0 +1,6 @@
1
+ module Rubocop
2
+ module Ruby25
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
5
+ end
6
+ end
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_5
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
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-01 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.28.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.28.2
27
27
  - !ruby/object:Gem::Dependency
@@ -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: []
@@ -67,21 +67,23 @@ files:
67
67
  - SECURITY.md
68
68
  - lib/rubocop/ruby2_5.rb
69
69
  - lib/rubocop/ruby2_5/version.rb
70
+ - rubocop.yml
71
+ - sig/rubocop/ruby2_5.rbs
70
72
  - spec/config/rspec/rspec_core.rb
71
73
  - spec/rubocop/ruby2_5_spec.rb
72
74
  - spec/spec_helper.rb
73
- homepage: https://github.com/rubocop-semver/rubocop-ruby2_5
75
+ homepage: https://github.com/rubocop-lts/rubocop-ruby2_5
74
76
  licenses:
75
77
  - MIT
76
78
  metadata:
77
- homepage_uri: https://github.com/rubocop-semver/rubocop-ruby2_5
78
- source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_5/tree/v1.0.0
79
- changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_5/blob/v1.0.0/CHANGELOG.md
80
- bug_tracker_uri: https://github.com/rubocop-semver/rubocop-ruby2_5/issues
81
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/1.0.0
82
- wiki_uri: https://github.com/rubocop-semver/rubocop-ruby2_5/wiki
79
+ homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_5
80
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/tree/v1.0.3
81
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/blob/v1.0.3/CHANGELOG.md
82
+ bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/issues
83
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_5/1.0.3
84
+ wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_5/wiki
83
85
  rubygems_mfa_required: 'true'
84
- post_install_message:
86
+ post_install_message:
85
87
  rdoc_options: []
86
88
  require_paths:
87
89
  - lib
@@ -96,11 +98,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
98
  - !ruby/object:Gem::Version
97
99
  version: '0'
98
100
  requirements: []
99
- rubygems_version: 3.3.12
100
- signing_key:
101
+ rubygems_version: 3.3.14
102
+ signing_key:
101
103
  specification_version: 4
102
- summary: Semantically Versioned Rubocop Dependency
104
+ summary: Semantically Versioned RuboCop Dependency
103
105
  test_files:
106
+ - spec/spec_helper.rb
104
107
  - spec/config/rspec/rspec_core.rb
105
108
  - spec/rubocop/ruby2_5_spec.rb
106
- - spec/spec_helper.rb