rubocop-ruby3_1 1.0.5 → 1.1.0

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: 4f9699c3b804e0343d5a2d0573bf5f77931f4f4d051700295263b607f36905b1
4
- data.tar.gz: 24b53ab082eea09d7328db779b49dd6a78c4728cd597a6e55d69df469b59bdd0
3
+ metadata.gz: 71febf75d686d994aa28e5b14b1a74bb1c007f6274ea91dabb2c16f0803efb54
4
+ data.tar.gz: 5a2c6a921d3e20bfee4785ee9da1aff6e337175290a9b0a9901eca0c1731ab2d
5
5
  SHA512:
6
- metadata.gz: 4e1810bbadb65c72ac4bdb9ca464c750a3783e7a1b6a2641ba4fa4eebf7dd089b45832dd4c125edfcd85e89638ab8189738518cde8bdd528347d0176943b9d8a
7
- data.tar.gz: 937f6ace0fd048714c1f94e53064e2737a88028376b20852200d996f0f1fd1f550259fa17bf6537a80213275c502fae4ef9db0c665dc944de754eb783d8722b4
6
+ metadata.gz: 91379dc9f0cf68e64a6b85d7e38ab7d4e7657a86f52ad235d6ee0504858865029be7fd74920d12ad77cc0dff633e40c6e3d2def73f3be7af3fb04a31ea9cc86a
7
+ data.tar.gz: 8ad586e4f62b3ffdbdcc53f9edcf7a3fbc316a0aadfc494c85ca6b62eb43846bf5dd841afbe988e9326645cd69e914b5b312dde044a14b59c436031bd35b04d0
data/CHANGELOG.md CHANGED
@@ -6,13 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
  ### Added
9
-
10
9
  ### Changed
11
-
12
10
  ### Fixed
13
-
14
11
  ### Removed
15
12
 
13
+ ## [1.1.0] 2022-12-7
14
+ ### Changed
15
+ * Update to rubocop ~> 1.39.0
16
+ * Gem release is now securely signed by author
17
+ * Migration from GitHub to GitLab [ref](https://github.com/actions/toolkit/issues/1214)
18
+
19
+ ## [1.0.6] 2022-06-08
20
+ ### Changed
21
+ * Update to rubocop 1.30.1
22
+ * Removed test_files from gemspec
23
+ * Add binstubs for bundle, rake, rspec, and rubocop
24
+
16
25
  ## [1.0.5] 2022-06-05
17
26
  ### Changed
18
27
  * Update to rubocop 1.30.0
@@ -39,10 +48,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
48
  ### Added
40
49
  * Initial release
41
50
 
42
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.5...HEAD
43
- [1.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.4...v1.0.5
44
- [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.3...v1.0.4
45
- [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.2...v1.0.3
46
- [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.1...v1.0.2
47
- [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/v1.0.0...v1.0.1
48
- [1.0.0]: https://github.com/rubocop-lts/rubocop-ruby3_1/compare/c4cc8fb6374d338e2c328812b4f74c78dfe5cfbd...v1.0.0
51
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.6...HEAD
52
+ [1.0.6]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.5...v1.0.6
53
+ [1.0.5]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.4...v1.0.5
54
+ [1.0.4]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.3...v1.0.4
55
+ [1.0.3]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.2...v1.0.3
56
+ [1.0.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.1...v1.0.2
57
+ [1.0.1]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.0...v1.0.1
58
+ [1.0.0]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/c4cc8fb6374d338e2c328812b4f74c78dfe5cfbd...v1.0.0
data/CONTRIBUTING.md CHANGED
@@ -1,25 +1,37 @@
1
1
  ## Contributing
2
2
 
3
- Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-ruby3_1][source]
3
+ Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby3_1][🚎src-main]
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
 
7
- To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request!
7
+ To submit a patch, please fork the project and create a patch with tests. Once you're happy with it send a pull request
8
+ and post a message to the [gitter chat][🏘chat].
8
9
 
9
- ## Contributors
10
-
11
- [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby3_1)][contributors]
10
+ ## Release
12
11
 
13
- Made with [contributors-img][contrib-rocks].
12
+ To release a new version:
14
13
 
15
- [comment]: <> (Following links are used by README, CONTRIBUTING)
14
+ 1. update the version number in `version.rb`
15
+ 2. run `bundle exec rake build:checksum`
16
+ 3. move the built gem to project root
17
+ 4. run `bin/checksum` to create the missing SHA256 checksum
18
+ 5. move the built gem back to `pkg/`
19
+ 6. run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org][rubygems].
16
20
 
17
- [conduct]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/CODE_OF_CONDUCT.md
21
+ NOTE: You will need to have a public key in `certs/`, and list your cert in the
22
+ `gemspec`, in order to sign the new release.
23
+ See: [RubyGems Security Guide][rubygems-security-guide]
18
24
 
19
- [contrib-rocks]: https://contrib.rocks
25
+ ## Contributors
20
26
 
21
- [contributors]: https://github.com/rubocop-lts/rubocop-ruby3_1/graphs/contributors
27
+ [![Contributors][🖐contributors-img]][🖐contributors]
22
28
 
23
29
  [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
24
30
 
25
- [source]: https://github.com/rubocop-lts/rubocop-ruby3_1/
31
+ [conduct]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/CODE_OF_CONDUCT.md
32
+ [🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/graphs/main
33
+ [🖐contributors-img]: https://img.shields.io/github/contributors-anon/rubocop-lts/rubocop-ruby3_1
34
+ [🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/tree/main
35
+ [🏘chat]: https://gitter.im/rubocop-lts/community
36
+ [rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
37
+ [rubygems]: https://rubygems.org
data/README.md CHANGED
@@ -1,24 +1,24 @@
1
1
  <p align="center">
2
2
  <a href="https://rubocop.org#gh-light-mode-only" target="_blank" rel="noopener">
3
- <img height="120px" src="https://github.com/rubocop-lts/rubocop-ruby3_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">
3
+ <img height="120px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_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 height="120px" src="https://github.com/rubocop-lts/rubocop-ruby3_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">
6
+ <img height="120px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_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 height="120px" src="https://github.com/rubocop-lts/rubocop-ruby3_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">
9
+ <img height="120px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_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 height="120px" src="https://github.com/rubocop-lts/rubocop-ruby3_1/raw/main/docs/images/logo/semver-light.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
12
+ <img height="120px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_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 height="120px" src="https://github.com/rubocop-lts/rubocop-ruby3_1/raw/main/docs/images/logo/semver-dark.svg?raw=true" alt="SemVer.org Logo by @maxhaz, see docs/images/logo/README.txt">
15
+ <img height="120px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_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
 
19
19
  ---
20
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.
21
+ NOTE: You might be interested in [`rubocop-lts`](https://gitlab.com/rubocop-lts/rubocop-lts#-how-to-untie-gorgons-knot) which sits at a higher level than this gem, and can keep pace with whatever version of Ruby you happen to be on.
22
22
 
23
23
  | Gem Name | Version | Downloads | CI | Activity |
24
24
  |------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -41,42 +41,42 @@ NOTE: You might be interested in [`rubocop-lts`](https://github.com/rubocop-lts/
41
41
  [⛳️lts-vi]: http://img.shields.io/gem/v/rubocop-lts.svg
42
42
  [🖇️lts-dti]: https://img.shields.io/gem/dt/rubocop-lts.svg
43
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
44
+ [🚎lts-cwf]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml
45
+ [🚎lts-cwfi]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/current.yml/badge.svg
46
+ [🖐lts-hwf]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml
47
+ [🖐lts-hwfi]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/heads.yml/badge.svg
48
+ [🧮lts-lwf]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml
49
+ [🧮lts-lwfi]: https://gitlab.com/rubocop-lts/rubocop-lts/actions/workflows/legacy.yml/badge.svg
50
+ [📗lts-io]: https://gitlab.com/rubocop-lts/rubocop-lts/issues
51
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
52
+ [🚀lts-ic]: https://gitlab.com/rubocop-lts/rubocop-lts/issues?q=is%3Aissue+is%3Aclosed
53
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
54
+ [💄lts-po]: https://gitlab.com/rubocop-lts/rubocop-lts/pulls
55
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
56
+ [👽lts-pc]: https://gitlab.com/rubocop-lts/rubocop-lts/pulls?q=is%3Apr+is%3Aclosed
57
57
  [👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
58
58
  [⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
59
- [⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
59
+ [⛳️lts-gh]: https://gitlab.com/rubocop-lts/rubocop-lts
60
60
 
61
61
  [⛳️31-vi]: http://img.shields.io/gem/v/rubocop-ruby3_1.svg
62
62
  [🖇️31-dti]: https://img.shields.io/gem/dt/rubocop-ruby3_1.svg
63
63
  [🏘️31-rti]: https://img.shields.io/gem/rt/rubocop-ruby3_1.svg
64
- [🚎31-cwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml
65
- [🚎31-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
66
- [🖐31-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
67
- [🖐31-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml/badge.svg
68
- [🧮31-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml
69
- [🧮31-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml/badge.svg
70
- [📗31-io]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
64
+ [🚎31-cwf]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml
65
+ [🚎31-cwfi]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/current.yml/badge.svg
66
+ [🖐31-hwf]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml
67
+ [🖐31-hwfi]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/heads.yml/badge.svg
68
+ [🧮31-lwf]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml
69
+ [🧮31-lwfi]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions/workflows/legacy.yml/badge.svg
70
+ [📗31-io]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/issues
71
71
  [📗31-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_1
72
- [🚀31-ic]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues?q=is%3Aissue+is%3Aclosed
72
+ [🚀31-ic]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/issues?q=is%3Aissue+is%3Aclosed
73
73
  [🚀31-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby3_1
74
- [💄31-po]: https://github.com/rubocop-lts/rubocop-ruby3_1/pulls
74
+ [💄31-po]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/merge_requests
75
75
  [💄31-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby3_1
76
- [👽31-pc]: https://github.com/rubocop-lts/rubocop-ruby3_1/pulls?q=is%3Apr+is%3Aclosed
76
+ [👽31-pc]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/merge_requests?q=is%3Apr+is%3Aclosed
77
77
  [👽31-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby3_1
78
78
  [⛳️31-g]: https://rubygems.org/gems/rubocop-ruby3_1
79
- [⛳️31-gh]: https://github.com/rubocop-lts/rubocop-ruby3_1
79
+ [⛳️31-gh]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1
80
80
 
81
81
  # Rubocop::Ruby31
82
82
 
@@ -88,12 +88,12 @@ Awareness of `rubocop`'s lack of [SemVer][semver] adherence isn't evenly dispers
88
88
 
89
89
  The Rubocop team [has real reasons](https://github.com/semver/semver/issues/317)
90
90
  for [not following SemVer](https://github.com/rubocop/rubocop/issues/4243), but if you've
91
- found this project their reasons likely weigh less, in your context (e.g. running `rubocop` from command line), than
92
- what brought you here.
91
+ found this project it is possible those reasons are less important
92
+ than what brought you here for your context (e.g. running `rubocop` from command line).
93
93
 
94
94
  <p align="left">
95
95
  <a href="https://metaredux.com/posts/2022/04/21/rubocop-turns-10.html" target="_blank" rel="noopener">
96
- <img width="360px" src="https://github.com/rubocop-lts/rubocop-ruby3_1/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
96
+ <img width="360px" src="https://gitlab.com/rubocop-lts/rubocop-ruby3_1/raw/main/docs/images/rubocop-not-semver.png?raw=true" alt="Explanation of non-SemVer compliance, @bbatsov">
97
97
  </a>
98
98
  </p>
99
99
 
@@ -128,18 +128,18 @@ official [compatibility matrix][rubocop-matrix] for `rubocop`.
128
128
  | [rubocop-ruby3_0][rr30] | | | | | | | | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ | 🧊 🏃‍ |
129
129
  | [rubocop-ruby3_1][rr31] | | | | | | | | 🛠 | 🛠 | 🛠 | 🛠 | 🧊 🏃‍ 🛠 | 🧊 🏃‍ | 🧊 🏃‍ |
130
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
131
+ [rr19]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9
132
+ [rr20]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0
133
+ [rr21]: https://gitlab.com/rubocop-lts/rubocop-ruby2_1
134
+ [rr22]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2
135
+ [rr23]: https://gitlab.com/rubocop-lts/rubocop-ruby2_3
136
+ [rr24]: https://gitlab.com/rubocop-lts/rubocop-ruby2_4
137
+ [rr25]: https://gitlab.com/rubocop-lts/rubocop-ruby2_5
138
+ [rr26]: https://gitlab.com/rubocop-lts/rubocop-ruby2_6
139
+ [rr27]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7
140
+ [rr30]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0
141
+ [rr31]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1
142
+ [what1_8]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
143
143
  [rubocop-matrix]: https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix
144
144
 
145
145
  ## 🗿 Stable
@@ -200,7 +200,7 @@ See [CONTRIBUTING.md][contributing]
200
200
 
201
201
  ## 🌈 Contributors
202
202
 
203
- [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby3_1)]("https://github.com/rubocop-lts/rubocop-ruby3_1/graphs/contributors")
203
+ [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby3_1)]("https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/graphs/main")
204
204
 
205
205
  Made with [contributors-img](https://contrib.rocks).
206
206
 
@@ -224,7 +224,7 @@ Source: [Unsplash][org-logo-source]
224
224
  License: [Unsplash License][org-logo-license]
225
225
  </details>
226
226
 
227
- [project-logos]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/docs/images/logo/README.txt
227
+ [project-logos]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/docs/images/logo/README.txt
228
228
  [org-logo-author]: https://unsplash.com/@yusufevli
229
229
  [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
230
230
  [org-logo-license]: https://unsplash.com/license
@@ -237,7 +237,7 @@ License: [Unsplash License][org-logo-license]
237
237
 
238
238
  ## 🤝 Code of Conduct
239
239
 
240
- Everyone interacting in the Rubocop::Ruby31 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/CODE_OF_CONDUCT.md).
240
+ Everyone interacting in the Rubocop::Ruby31 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/CODE_OF_CONDUCT.md).
241
241
 
242
242
  ## 📌 Versioning
243
243
 
@@ -257,15 +257,15 @@ spec.add_dependency "rubocop-ruby3_1", "~> 1.0"
257
257
 
258
258
  [copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
259
259
 
260
- [gh_discussions]: https://github.com/rubocop-lts/rubocop-ruby3_1/discussions
260
+ [gh_discussions]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/discussions
261
261
 
262
- [conduct]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/CODE_OF_CONDUCT.md
262
+ [conduct]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/CODE_OF_CONDUCT.md
263
263
 
264
- [contributing]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/CONTRIBUTING.md
264
+ [contributing]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/CONTRIBUTING.md
265
265
 
266
- [security]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/SECURITY.md
266
+ [security]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/SECURITY.md
267
267
 
268
- [license]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/LICENSE.txt
268
+ [license]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/blob/main/LICENSE.txt
269
269
 
270
270
  [license-ref]: https://opensource.org/licenses/MIT
271
271
 
@@ -291,11 +291,11 @@ spec.add_dependency "rubocop-ruby3_1", "~> 1.0"
291
291
 
292
292
  [documentation]: https://rubydoc.info/github/rubocop-lts/rubocop-ruby3_1/main
293
293
 
294
- [source]: https://github.com/rubocop-lts/rubocop-ruby3_1/
294
+ [source]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/
295
295
 
296
- [actions]: https://github.com/rubocop-lts/rubocop-ruby3_1/actions
296
+ [actions]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/actions
297
297
 
298
- [issues]: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
298
+ [issues]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/issues
299
299
 
300
300
  [climate_maintainability]: https://codeclimate.com/github/rubocop-lts/rubocop-ruby3_1/maintainability
301
301
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby31
5
- VERSION = "1.0.5"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby3_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-05 00:00:00.000000000 Z
11
+ date: 2022-12-07 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.30.0
19
+ version: 1.39.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.30.0
26
+ version: 1.39.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -69,18 +69,15 @@ files:
69
69
  - lib/rubocop/ruby3_1/version.rb
70
70
  - rubocop.yml
71
71
  - sig/rubocop/ruby3_1.rbs
72
- - spec/config/rspec/rspec_core.rb
73
- - spec/rubocop/ruby3_1_spec.rb
74
- - spec/spec_helper.rb
75
72
  homepage: https://github.com/rubocop-lts/rubocop-ruby3_1
76
73
  licenses:
77
74
  - MIT
78
75
  metadata:
79
76
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby3_1
80
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v1.0.5
81
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v1.0.5/CHANGELOG.md
77
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v1.1.0
78
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v1.1.0/CHANGELOG.md
82
79
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
83
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/1.0.5
80
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/1.1.0
84
81
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/wiki
85
82
  rubygems_mfa_required: 'true'
86
83
  post_install_message:
@@ -98,11 +95,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
95
  - !ruby/object:Gem::Version
99
96
  version: '0'
100
97
  requirements: []
101
- rubygems_version: 3.4.0.dev
98
+ rubygems_version: 3.3.26
102
99
  signing_key:
103
100
  specification_version: 4
104
101
  summary: Semantically Versioned RuboCop Dependency
105
- test_files:
106
- - spec/config/rspec/rspec_core.rb
107
- - spec/rubocop/ruby3_1_spec.rb
108
- - spec/spec_helper.rb
102
+ test_files: []
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.configure do |config|
4
- # Enable flags like --only-failures and --next-failure
5
- config.example_status_persistence_file_path = ".rspec_status"
6
-
7
- # Disable RSpec exposing methods globally on `Module` and `main`
8
- config.disable_monkey_patching!
9
-
10
- config.expect_with :rspec do |c|
11
- c.syntax = :expect
12
- end
13
- end
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.describe Rubocop::Ruby31 do
4
- it "has a version number" do
5
- expect(Rubocop::Ruby31::VERSION).not_to be nil
6
- end
7
- end
data/spec/spec_helper.rb DELETED
@@ -1,32 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- DEBUG = ENV.fetch("DEBUG", nil) == "true"
4
-
5
- ruby_version = Gem::Version.new(RUBY_VERSION)
6
- minimum_version = ->(version, engine = "ruby") { ruby_version >= Gem::Version.new(version) && RUBY_ENGINE == engine }
7
- actual_version = lambda do |major, minor|
8
- actual = Gem::Version.new(ruby_version)
9
- major == actual.segments[0] && minor == actual.segments[1] && RUBY_ENGINE == "ruby"
10
- end
11
- debugging = minimum_version.call("2.7") && DEBUG
12
- RUN_COVERAGE = minimum_version.call("2.6") && (ENV.fetch("COVER_ALL",
13
- nil) || ENV.fetch("CI_CODECOV", nil) || ENV["CI"].nil?)
14
- ALL_FORMATTERS = actual_version.call(2,
15
- 7) && (ENV.fetch("COVER_ALL",
16
- nil) || ENV.fetch("CI_CODECOV", nil) || ENV.fetch("CI", nil))
17
-
18
- if DEBUG
19
- if debugging
20
- require "byebug"
21
- elsif minimum_version.call("2.7", "jruby")
22
- require "pry-debugger-jruby"
23
- end
24
- end
25
-
26
- require "simplecov" if RUN_COVERAGE
27
-
28
- # This gem
29
- require "rubocop/ruby3_1"
30
-
31
- # RSpec Configs
32
- require "config/rspec/rspec_core"