rubocop-ruby2_7 1.0.2 → 1.0.5

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: 7c11358340ca8cbd2065f1cba3974c4484133baa72501009fc06e8be8e143208
4
- data.tar.gz: 69024b620dd7578ba5cad217dd640e827b7f9bf131330f31e3a83adf440206a9
3
+ metadata.gz: 271ea8deb5be130658ca231310ca877ea6dfc02bb2a342f31b6e303204c60ac0
4
+ data.tar.gz: bbd2eb614a55da80d372ddedf993fb479bc927ba59e3d004ec193c7c3cd7e238
5
5
  SHA512:
6
- metadata.gz: 75350e48567f0f3f247d4a4bdcba8b4fb492365aa37a106adcbb087cefa71a278f9bd33afa03a5423a24a3a4f10daca108a765d6269fcd18082ae1faa498d034
7
- data.tar.gz: 874b613e4c32904e0aeef5e8d62de64f03859b0c34722561a47bb8b11b1b5c8c9ce0fd4952a31c28cff260722ca908e728b7bc55cf7c1f473b325d110e56249d
6
+ metadata.gz: 0a731d8f839f23bac83da068f20ef6df30f0fa595ce0ae37f356381ef5c0f4d2f59a321c020b221cc94757e9fb04c80fc1302ac904686a3a0b6e04669332baca
7
+ data.tar.gz: d0e691ce71ea309813d10684b49790a30c64eed213ab8fe6ba825c1eda1629306b5fefb054a5c49ca23e72ab6d83313effcba1a898b49b050df80b5357976f6d
data/CHANGELOG.md CHANGED
@@ -13,6 +13,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
+ ## [1.0.5] 2022-06-05
17
+ ### Changed
18
+ * Update to rubocop 1.30.0
19
+
20
+ ## [1.0.4] 2022-05-23
21
+ ### Changed
22
+ * Update to rubocop 1.29.1
23
+
24
+ ## [1.0.3] 2022-05-23
25
+ ### Added
26
+ * Rubocop => RuboCop typo repair
27
+ * Ruby Version Support Matrix
28
+ * Improved documentation
29
+
16
30
  ## [1.0.2] 2022-05-03
17
31
  ### Fixed
18
32
  * Added missing rubocop.yml for inherit_gem directive
@@ -25,7 +39,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
25
39
  ### Added
26
40
  * Initial release
27
41
 
28
- [Unreleased]: https://github.com/rubocop-semver/rubocop-ruby2_7/compare/v1.0.2...HEAD
29
- [1.0.2]: https://github.com/rubocop-semver/rubocop-ruby2_7/compare/v1.0.1...v1.0.2
30
- [1.0.1]: https://github.com/rubocop-semver/rubocop-ruby2_7/compare/v1.0.0...v1.0.1
31
- [1.0.0]: https://github.com/rubocop-semver/rubocop-ruby2_7/compare/70d9ab2660620916ed08d1f6057d10fc4f9aa731...v1.0.0
42
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.5...HEAD
43
+ [1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.4...v1.0.5
44
+ [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.3...v1.0.4
45
+ [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.2...v1.0.3
46
+ [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.1...v1.0.2
47
+ [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.0...v1.0.1
48
+ [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/70d9ab2660620916ed08d1f6057d10fc4f9aa731...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_7][source]
3
+ Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-ruby2_7][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_7)][contributors]
11
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_7)][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_7/blob/main/CODE_OF_CONDUCT.md
17
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_7/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_7/graphs/contributors
21
+ [contributors]: https://github.com/rubocop-lts/rubocop-ruby2_7/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_7/
25
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_7/
data/README.md CHANGED
@@ -1,21 +1,83 @@
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_7/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_7/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_7/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_7/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_7/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_7/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_7/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_7/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_7/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_7/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
 
19
+ ---
20
+
21
+ NOTE: You might be interested in [`rubocop-lts`](https://github.com/rubocop-lts/rubocop-lts#-how-to-untie-gorgons-knot) which sits as a higher level than this gem, and can keep pace with whatever version of Ruby you happen to be on.
22
+
23
+ | Gem Name | Version | Downloads | CI | Activity |
24
+ |------------------------------|-------------------------------------|----------------------------------------------------------------------|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
25
+ | [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
26
+ | [`rubocop-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-pc] |
27
+
28
+ <!-- columnar badge #s for Project Health table:
29
+ ⛳️
30
+ 🖇
31
+ 🏘
32
+ 🚎
33
+ 🖐
34
+ 🧮
35
+ 📗
36
+ 🚀
37
+ 💄
38
+ 👽
39
+ -->
40
+
41
+ [⛳️lts-vi]: http://img.shields.io/gem/v/rubocop-lts.svg
42
+ [🖇️lts-dti]: https://img.shields.io/gem/dt/rubocop-lts.svg
43
+ [🏘️lts-rti]: https://img.shields.io/gem/rt/rubocop-lts.svg
44
+ [🚎lts-cwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml
45
+ [🚎lts-cwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
46
+ [🖐lts-hwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
47
+ [🖐lts-hwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml/badge.svg
48
+ [🧮lts-lwf]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml
49
+ [🧮lts-lwfi]: https://github.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml/badge.svg
50
+ [📗lts-io]: https://github.com/rubocop-lts/rubocop-lts/issues
51
+ [📗lts-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-lts
52
+ [🚀lts-ic]: https://github.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
53
+ [🚀lts-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-lts
54
+ [💄lts-po]: https://github.com/rubocop-lts/rubocop-lts/pulls
55
+ [💄lts-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-lts
56
+ [👽lts-pc]: https://github.com/rubocop-lts/rubocop-lts/pulls?q=is%3Apr+is%3Aclosed
57
+ [👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
58
+ [⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
59
+ [⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
60
+
61
+ [⛳️27-vi]: http://img.shields.io/gem/v/rubocop-ruby2_7.svg
62
+ [🖇️27-dti]: https://img.shields.io/gem/dt/rubocop-ruby2_7.svg
63
+ [🏘️27-rti]: https://img.shields.io/gem/rt/rubocop-ruby2_7.svg
64
+ [🚎27-cwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml
65
+ [🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
66
+ [🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
67
+ [🖐27-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml/badge.svg
68
+ [🧮27-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml
69
+ [🧮27-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml/badge.svg
70
+ [📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
71
+ [📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
72
+ [🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
73
+ [🚀27-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby2_7
74
+ [💄27-po]: https://github.com/rubocop-lts/rubocop-ruby2_7/pulls
75
+ [💄27-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby2_7
76
+ [👽27-pc]: https://github.com/rubocop-lts/rubocop-ruby2_7/pulls?q=is%3Apr+is%3Aclosed
77
+ [👽27-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby2_7
78
+ [⛳️27-g]: https://rubygems.org/gems/rubocop-ruby2_7
79
+ [⛳️27-gh]: https://github.com/rubocop-lts/rubocop-ruby2_7
80
+
19
81
  # Rubocop::Ruby27
20
82
 
21
83
  See the intro [blog post](https://dev.to/pboling/rubocop-ruby-matrix-gems-nj)!
@@ -31,7 +93,7 @@ what brought you here.
31
93
 
32
94
  <p align="left">
33
95
  <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_7/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
96
+ <img width="360px" src="https://github.com/rubocop-lts/rubocop-ruby2_7/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
35
97
  </a>
36
98
  </p>
37
99
 
@@ -39,15 +101,52 @@ The purpose of this gem is to constrain the `rubocop` dependency of a project in
39
101
  a [SemVer compliant](https://semver.org/) (Semantic Versioning) way that aligns with the the desired minimum
40
102
  compatible/supported Ruby version.
41
103
 
104
+ ## Ruby Version Support Matrix
105
+
42
106
  Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
43
107
  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
108
+ official [compatibility matrix][rubocop-matrix] for `rubocop`.
109
+
110
+ `rubocop-ruby2_7` (this gem) will install on any version of Ruby >= 2.7, and can be used to analyze code intended to support Ruby >= 2.7.
111
+
112
+ * 🧊 - Install on Ruby `<version>`
113
+ * 🏃‍ - Will Execute on Ruby `<version>`
114
+ * 🪷 - Will not execute correctly on Ruby `<version>`
115
+ * 🛠 - Lint code with Ruby `<version>` syntax as the target
116
+
117
+ | 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 |
118
+ |-------------------------|---------------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|------------|
119
+ | [rubocop-ruby1_9][rr19] | [🛠][what1_8] | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
120
+ | [rubocop-ruby2_0][rr20] | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
121
+ | [rubocop-ruby2_1][rr21] | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
122
+ | [rubocop-ruby2_2][rr22] | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊‍ 🪷 | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
123
+ | [rubocop-ruby2_3][rr23] | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
124
+ | [rubocop-ruby2_4][rr24] | | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 | 🧊 🪷 | 🧊 🪷 |
125
+ | [rubocop-ruby2_5][rr25] | | | | | | | | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 |
126
+ | [rubocop-ruby2_6][rr26] | | | | | | | | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🪷 |
127
+ | [rubocop-ruby2_7][rr27] | | | | | | | | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ |
128
+ | [rubocop-ruby3_0][rr30] | | | | | | | | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ |
129
+ | [rubocop-ruby3_1][rr31] | | | | | | | | 🛠 | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ |
130
+
131
+ [rr19]: https://github.com/rubocop-lts/rubocop-ruby1_9
132
+ [rr20]: https://github.com/rubocop-lts/rubocop-ruby2_0
133
+ [rr21]: https://github.com/rubocop-lts/rubocop-ruby2_1
134
+ [rr22]: https://github.com/rubocop-lts/rubocop-ruby2_2
135
+ [rr23]: https://github.com/rubocop-lts/rubocop-ruby2_3
136
+ [rr24]: https://github.com/rubocop-lts/rubocop-ruby2_4
137
+ [rr25]: https://github.com/rubocop-lts/rubocop-ruby2_5
138
+ [rr26]: https://github.com/rubocop-lts/rubocop-ruby2_6
139
+ [rr27]: https://github.com/rubocop-lts/rubocop-ruby2_7
140
+ [rr30]: https://github.com/rubocop-lts/rubocop-ruby3_0
141
+ [rr31]: https://github.com/rubocop-lts/rubocop-ruby3_1
142
+ [what1_8]: https://github.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
143
+ [rubocop-matrix]: https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix
144
+
145
+ ## 🗿 Stable
47
146
 
48
147
  All releases of this gem are stable releases. The first version is `1.0.0`.
49
148
 
50
- ## Installation
149
+ ## Installation
51
150
 
52
151
  Install the gem and add to the application's Gemfile by executing:
53
152
 
@@ -57,7 +156,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
57
156
 
58
157
  $ gem install rubocop-ruby2_7
59
158
 
60
- ## Usage
159
+ ## 🔧 Usage
61
160
 
62
161
  The following is optional. We'll discuss why you might want to do this after you see what it does.
63
162
 
@@ -79,13 +178,13 @@ AllCops:
79
178
 
80
179
  Let's talk about these settings.
81
180
 
82
- ## TargetRubyVersion
181
+ ### TargetRubyVersion
83
182
 
84
183
  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
184
 
86
- ## NewCops: enable
185
+ ### NewCops: enable
87
186
 
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.
187
+ 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
188
 
90
189
  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
190
 
@@ -95,17 +194,17 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
95
194
 
96
195
  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
196
 
98
- ## Contributing
197
+ ## ⚡️ Contributing
99
198
 
100
199
  See [CONTRIBUTING.md][contributing]
101
200
 
102
- ## Contributors
201
+ ## 🌈 Contributors
103
202
 
104
- [![Contributors](https://contrib.rocks/image?repo=rubocop-semver/rubocop-ruby2_7)]("https://github.com/rubocop-semver/rubocop-ruby2_7/graphs/contributors")
203
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby2_7)]("https://github.com/rubocop-lts/rubocop-ruby2_7/graphs/contributors")
105
204
 
106
205
  Made with [contributors-img](https://contrib.rocks).
107
206
 
108
- ## License
207
+ ## 📄 License
109
208
 
110
209
  The gem is available as open source under the terms of
111
210
  the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)][license-ref].
@@ -125,22 +224,22 @@ Source: [Unsplash][org-logo-source]
125
224
  License: [Unsplash License][org-logo-license]
126
225
  </details>
127
226
 
128
- [project-logos]: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/main/docs/images/logo/README.txt
227
+ [project-logos]: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/main/docs/images/logo/README.txt
129
228
  [org-logo-author]: https://unsplash.com/@yusufevli
130
229
  [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
131
230
  [org-logo-license]: https://unsplash.com/license
132
231
 
133
- ### Copyright
232
+ ### © Copyright
134
233
 
135
234
  * Copyright (c) 2022 [Peter H. Boling][peterboling] of [Rails Bling][railsbling]
136
235
 
137
236
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
138
237
 
139
- ## Code of Conduct
238
+ ## 🤝 Code of Conduct
140
239
 
141
- Everyone interacting in the Rubocop::Ruby27 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_7/blob/main/CODE_OF_CONDUCT.md).
240
+ Everyone interacting in the Rubocop::Ruby27 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_7/blob/main/CODE_OF_CONDUCT.md).
142
241
 
143
- ## Versioning
242
+ ## 📌 Versioning
144
243
 
145
244
  This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations of this scheme should be reported as
146
245
  bugs. Specifically, if a minor or patch version is released that breaks backward compatibility, a new version should be
@@ -158,15 +257,15 @@ spec.add_dependency "rubocop-ruby2_7", "~> 1.0"
158
257
 
159
258
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
160
259
 
161
- [gh_discussions]: https://github.com/rubocop-semver/rubocop-ruby2_7/discussions
260
+ [gh_discussions]: https://github.com/rubocop-lts/rubocop-ruby2_7/discussions
162
261
 
163
- [conduct]: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/main/CODE_OF_CONDUCT.md
262
+ [conduct]: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/main/CODE_OF_CONDUCT.md
164
263
 
165
- [contributing]: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/main/CONTRIBUTING.md
264
+ [contributing]: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/main/CONTRIBUTING.md
166
265
 
167
- [security]: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/main/SECURITY.md
266
+ [security]: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/main/SECURITY.md
168
267
 
169
- [license]: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/main/LICENSE.txt
268
+ [license]: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/main/LICENSE.txt
170
269
 
171
270
  [license-ref]: https://opensource.org/licenses/MIT
172
271
 
@@ -190,27 +289,27 @@ spec.add_dependency "rubocop-ruby2_7", "~> 1.0"
190
289
 
191
290
  [politicme]: https://nationalprogressiveparty.org
192
291
 
193
- [documentation]: https://rubydoc.info/github/rubocop-semver/rubocop-ruby2_7/main
292
+ [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-ruby2_7/main
194
293
 
195
- [source]: https://github.com/rubocop-semver/rubocop-ruby2_7/
294
+ [source]: https://github.com/rubocop-lts/rubocop-ruby2_7/
196
295
 
197
- [actions]: https://github.com/rubocop-semver/rubocop-ruby2_7/actions
296
+ [actions]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions
198
297
 
199
- [issues]: https://github.com/rubocop-semver/rubocop-ruby2_7/issues
298
+ [issues]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
200
299
 
201
- [climate_maintainability]: https://codeclimate.com/github/rubocop-semver/rubocop-ruby2_7/maintainability
300
+ [climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby2_7/maintainability
202
301
 
203
- [climate_coverage]: https://codeclimate.com/github/rubocop-semver/rubocop-ruby2_7/test_coverage
302
+ [climate_coverage]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby2_7/test_coverage
204
303
 
205
- [codecov_coverage]: https://codecov.io/gh/rubocop-semver/rubocop-ruby2_7
304
+ [codecov_coverage]: https://codecov.io/gh/rubocop-lts/rubocop-ruby2_7
206
305
 
207
- [code_triage]: https://www.codetriage.com/rubocop-semver/rubocop-ruby2_7
306
+ [code_triage]: https://www.codetriage.com/rubocop-lts/rubocop-ruby2_7
208
307
 
209
308
  [blogpage]: http://www.railsbling.com/tags/rubocop-ruby2_7/
210
309
 
211
310
  [rubygems]: https://rubygems.org/gems/rubocop-ruby2_7
212
311
 
213
- [chat]: https://gitter.im/rubocop-semver/rubocop-ruby2_7?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
312
+ [chat]: https://gitter.im/rubocop-lts/rubocop-ruby2_7?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
214
313
 
215
314
  [maintenancee_policy]: https://guides.rubyonrails.org/maintenance_policy.html#security-issues
216
315
 
data/SECURITY.md CHANGED
@@ -3,11 +3,11 @@
3
3
  ## Supported Versions
4
4
 
5
5
  | Version | Supported |
6
- | ------- | ------------------ |
7
- | 0.x | :white_check_mark: |
6
+ |---------| ------------------ |
7
+ | 1.x | :white_check_mark: |
8
8
 
9
9
  ## Reporting a Vulnerability
10
10
 
11
11
  Peter Boling is the primary maintainer of this gem. Please find a way
12
12
  to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
13
- possible.
13
+ possible.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby27
5
- VERSION = "1.0.2"
5
+ VERSION = "1.0.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_7
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.5
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-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.28.2
19
+ version: 1.30.0
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
- version: 1.28.2
26
+ version: 1.30.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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_7_spec.rb
74
74
  - spec/spec_helper.rb
75
- homepage: https://github.com/rubocop-semver/rubocop-ruby2_7
75
+ homepage: https://github.com/rubocop-lts/rubocop-ruby2_7
76
76
  licenses:
77
77
  - MIT
78
78
  metadata:
79
- homepage_uri: https://github.com/rubocop-semver/rubocop-ruby2_7
80
- source_code_uri: https://github.com/rubocop-semver/rubocop-ruby2_7/tree/v1.0.2
81
- changelog_uri: https://github.com/rubocop-semver/rubocop-ruby2_7/blob/v1.0.2/CHANGELOG.md
82
- bug_tracker_uri: https://github.com/rubocop-semver/rubocop-ruby2_7/issues
83
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.0.2
84
- wiki_uri: https://github.com/rubocop-semver/rubocop-ruby2_7/wiki
79
+ homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_7
80
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.0.5
81
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.0.5/CHANGELOG.md
82
+ bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
83
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.0.5
84
+ wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/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_7_spec.rb
108
- - spec/spec_helper.rb