rubocop-ruby3_0 1.0.6 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +14 -7
- data/CONTRIBUTING.md +24 -11
- data/README.md +50 -37
- data/SECURITY.md +3 -3
- data/lib/rubocop/ruby3_0/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +56 -13
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e3371a4053ba36a1e7036bea52e94c2de373c6c0222d992d45fdfe025b20c01
|
4
|
+
data.tar.gz: 6f238448e57589b20b64ba06e62232d50688222a273c6d8c9f11872310664257
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93d07716f90c2303a08c144fd006f3d45428b87c413f29c2deb2994d2369511f0bb65e8239323b1690c55869d22c001129de45b703d5fd2be1d8cd2afd07e22c
|
7
|
+
data.tar.gz: 47a6a25cecfe0323789857490d2d80f40be055cf67a2bffb5e3057bc0e29d9ad619dce6fcf66002ad110a176a3b23d805c435804c678f47d42ef08e2c91aaeed
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,26 +6,32 @@ 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-18
|
14
|
+
### Changed
|
15
|
+
* Update to rubocop `~> 1.40.0`
|
16
|
+
* ### Added
|
17
|
+
* Gem release ships with `SHA512` and `SHA256` checksums
|
18
|
+
* Release is securely signed by author
|
19
|
+
* Document release process in `CONTRIBUTING.md`
|
20
|
+
* Improved Documentation related to Three Guarantees
|
21
|
+
|
16
22
|
## [1.0.6] 2022-06-08
|
17
23
|
### Changed
|
18
|
-
* Update to rubocop 1.30.1
|
24
|
+
* Update to rubocop `~> 1.30.1`
|
19
25
|
* Removed test_files from gemspec
|
20
26
|
* Add binstubs for bundle, rake, rspec, and rubocop
|
21
27
|
|
22
28
|
## [1.0.5] 2022-06-05
|
23
29
|
### Changed
|
24
|
-
* Update to rubocop 1.30.0
|
30
|
+
* Update to rubocop `~> 1.30.0`
|
25
31
|
|
26
32
|
## [1.0.4] 2022-05-23
|
27
33
|
### Changed
|
28
|
-
* Update to rubocop 1.29.1
|
34
|
+
* Update to rubocop `~> 1.29.1`
|
29
35
|
|
30
36
|
## [1.0.3] 2022-05-23
|
31
37
|
### Added
|
@@ -45,7 +51,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
45
51
|
### Added
|
46
52
|
* Initial release
|
47
53
|
|
48
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0
|
54
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.1.0...HEAD
|
55
|
+
[1.1.0]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.6...v1.1.0
|
49
56
|
[1.0.6]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.5...v1.0.6
|
50
57
|
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.4...v1.0.5
|
51
58
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.3...v1.0.4
|
data/CONTRIBUTING.md
CHANGED
@@ -1,25 +1,38 @@
|
|
1
1
|
## Contributing
|
2
2
|
|
3
|
-
Bug reports and pull requests are welcome on
|
3
|
+
Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby3_0][🚎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
|
-
##
|
10
|
-
|
11
|
-
[![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby3_0)][contributors]
|
10
|
+
## Release
|
12
11
|
|
13
|
-
|
12
|
+
To release a new version:
|
14
13
|
|
15
|
-
|
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. commit the changes
|
20
|
+
7. 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
21
|
|
17
|
-
|
22
|
+
NOTE: You will need to have a public key in `certs/`, and list your cert in the
|
23
|
+
`gemspec`, in order to sign the new release.
|
24
|
+
See: [RubyGems Security Guide][rubygems-security-guide]
|
18
25
|
|
19
|
-
|
26
|
+
## Contributors
|
20
27
|
|
21
|
-
[contributors]
|
28
|
+
[![Contributors][🖐contributors-img]][🖐contributors]
|
22
29
|
|
23
30
|
[comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
|
24
31
|
|
25
|
-
[
|
32
|
+
[conduct]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/blob/main/CODE_OF_CONDUCT.md
|
33
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/graphs/main
|
34
|
+
[🖐contributors-img]: https://img.shields.io/github/contributors-anon/rubocop-lts/rubocop-ruby3_0
|
35
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0/-/tree/main
|
36
|
+
[🏘chat]: https://gitter.im/rubocop-lts/community
|
37
|
+
[rubygems-security-guide]: https://guides.rubygems.org/security/#building-gems
|
38
|
+
[rubygems]: https://rubygems.org
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ This gem requires no other gems. It depends on `rubocop`, but does not `require
|
|
86
86
|
|
87
87
|
Awareness of `rubocop`'s lack of [SemVer][semver] adherence isn't evenly dispersed in the Ruby community.
|
88
88
|
|
89
|
-
The
|
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
91
|
found this project their reasons likely weigh less, in your context (e.g. running `rubocop` from command line), than
|
92
92
|
what brought you here.
|
@@ -101,50 +101,63 @@ The purpose of this gem is to constrain the `rubocop` dependency of a project in
|
|
101
101
|
a [SemVer compliant](https://semver.org/) (Semantic Versioning) way that aligns with the the desired minimum
|
102
102
|
compatible/supported Ruby version.
|
103
103
|
|
104
|
-
## Ruby Version Support
|
104
|
+
## Ruby Version Support
|
105
105
|
|
106
106
|
Adding this gem will facilitate the best practice of adding a `~> ` version constrained `rubocop` dependency, while
|
107
107
|
minimizing the risk of a rubocop minor / patch upgrade breaking the build. See the
|
108
108
|
official [compatibility matrix][rubocop-matrix] for `rubocop`.
|
109
109
|
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
[
|
132
|
-
[
|
133
|
-
[
|
134
|
-
[
|
135
|
-
[
|
136
|
-
[
|
137
|
-
[
|
138
|
-
[
|
139
|
-
|
140
|
-
[
|
141
|
-
[
|
142
|
-
[
|
110
|
+
### Three Guarantees
|
111
|
+
|
112
|
+
`rubocop-ruby3_0` (this gem) will install a version of `rubocop` which will
|
113
|
+
**install** on (1), **run** on (2), and **analyze code** (3) intended to support any version of Ruby >= 3.0.
|
114
|
+
|
115
|
+
Any change to any of those three abilities would require a major version bump.
|
116
|
+
Each [spring `rubocop` drops][rubocop-matrix] the ability to **install** and **run** `rubocop` on an EOL'd Ruby.
|
117
|
+
Eventually `rubocop` will drop the ability to **analyze code** intended to support an EOL'd Ruby,
|
118
|
+
as they already have for Ruby 1.8 and 1.9.
|
119
|
+
When the `rubocop` team makes any of these changes they typically only bump the minor version of ruby,
|
120
|
+
in violation of SemVer. This is a primary _raison d’être_ for this project.
|
121
|
+
|
122
|
+
### A Gem Family
|
123
|
+
|
124
|
+
The `rubocop-lts` series of gems has a version supporting any version of Ruby you need.
|
125
|
+
They can be used as development dependencies for libraries or applications.
|
126
|
+
|
127
|
+
- [`rubocop-ruby1_9`][rr19]
|
128
|
+
- [Still supporting Ruby 1.8?][what1_8]
|
129
|
+
- [`rubocop-ruby2_0`][rr20]
|
130
|
+
- [`rubocop-ruby2_1`][rr21]
|
131
|
+
- [`rubocop-ruby2_2`][rr22]
|
132
|
+
- [`rubocop-ruby2_3`][rr23]
|
133
|
+
- [`rubocop-ruby2_4`][rr24]
|
134
|
+
- [`rubocop-ruby2_5`][rr25]
|
135
|
+
- [`rubocop-ruby2_6`][rr26]
|
136
|
+
- [`rubocop-ruby2_7`][rr27]
|
137
|
+
- [`rubocop-ruby3_0`][rr30]
|
138
|
+
- [`rubocop-ruby3_1`][rr31]
|
139
|
+
|
140
|
+
[rr19]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9
|
141
|
+
[rr20]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0
|
142
|
+
[rr21]: https://gitlab.com/rubocop-lts/rubocop-ruby2_1
|
143
|
+
[rr22]: https://gitlab.com/rubocop-lts/rubocop-ruby2_2
|
144
|
+
[rr23]: https://gitlab.com/rubocop-lts/rubocop-ruby2_3
|
145
|
+
[rr24]: https://gitlab.com/rubocop-lts/rubocop-ruby2_4
|
146
|
+
[rr25]: https://gitlab.com/rubocop-lts/rubocop-ruby2_5
|
147
|
+
[rr26]: https://gitlab.com/rubocop-lts/rubocop-ruby2_6
|
148
|
+
[rr27]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7
|
149
|
+
[rr30]: https://gitlab.com/rubocop-lts/rubocop-ruby3_0
|
150
|
+
[rr31]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1
|
151
|
+
[what1_8]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9#what-about-ruby-18
|
143
152
|
[rubocop-matrix]: https://github.com/rubocop/rubocop/blob/master/docs/modules/ROOT/pages/compatibility.adoc#support-matrix
|
144
153
|
|
145
154
|
## 🗿 Stable
|
146
155
|
|
147
|
-
All releases of this gem are stable releases.
|
156
|
+
All releases of this gem are stable releases.
|
157
|
+
We do not release new versions for every release of `rubocop`.
|
158
|
+
A typical release cycle for a gem in the `rubocop-lts` family is roughly every six months,
|
159
|
+
though eventually analysis support for an old version of Ruby will be dropped.
|
160
|
+
When that happens releases of the `rubocop-lts` gem for that version of Ruby will (mostly) cease.
|
148
161
|
|
149
162
|
## ✨ Installation
|
150
163
|
|
@@ -252,7 +265,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision.
|
|
252
265
|
For example:
|
253
266
|
|
254
267
|
```ruby
|
255
|
-
spec.add_dependency "rubocop-ruby3_0", "~> 1.
|
268
|
+
spec.add_dependency "rubocop-ruby3_0", "~> 1.1"
|
256
269
|
```
|
257
270
|
|
258
271
|
[copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
|
data/SECURITY.md
CHANGED
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,42 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-ruby3_0
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
+
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
15
|
+
A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
|
16
|
+
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
17
|
+
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
|
18
|
+
8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
|
19
|
+
0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
|
20
|
+
LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh
|
21
|
+
O1fmMbVKyieGv9HK7+pLotIoT08bjDv8NP6V7zZslwQRqW27bQc6cqC2LGIbTYO3
|
22
|
+
3jt1kQxfMWmhOictS6SzG9VtKSrXf0L4Neq0Gh7CLBZBvJFWJYZPfb92YNITDbd8
|
23
|
+
emPOAQlXXNMN4mMXsEqtEhCPZRMnmwO+fOk/cC4AyglKi9lnQugCQoFV1XDMZST/
|
24
|
+
CYbzdQyadOdPDInTntG6V+Uw51d2QGXZ6PDDfrx9+toc/3sl5h68rCUGgE6Q3jPz
|
25
|
+
srinqmBsxv2vTpmd4FjmiAtEnwH5/ooLpQYL8UdAjEoeysxS3AwIh+5dAgMBAAGj
|
26
|
+
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQWU6D156a2cle+
|
27
|
+
lb5RBfvVXlxTwjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
28
|
+
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
29
|
+
ggGBAJ4SqhPlgUiLYIrphGXIaxXScHyvx4kixuvdrwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
+
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
+
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
+
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
+
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
+
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
+
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
+
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
+
4/bR9A==
|
38
|
+
-----END CERTIFICATE-----
|
39
|
+
date: 2022-12-18 00:00:00.000000000 Z
|
12
40
|
dependencies:
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: rubocop
|
@@ -16,30 +44,44 @@ dependencies:
|
|
16
44
|
requirements:
|
17
45
|
- - "~>"
|
18
46
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
47
|
+
version: 1.40.0
|
20
48
|
type: :runtime
|
21
49
|
prerelease: false
|
22
50
|
version_requirements: !ruby/object:Gem::Requirement
|
23
51
|
requirements:
|
24
52
|
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
54
|
+
version: 1.40.0
|
27
55
|
- !ruby/object:Gem::Dependency
|
28
56
|
name: rake
|
29
57
|
requirement: !ruby/object:Gem::Requirement
|
30
58
|
requirements:
|
31
|
-
- - "
|
59
|
+
- - "~>"
|
32
60
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
61
|
+
version: '13.0'
|
34
62
|
type: :development
|
35
63
|
prerelease: false
|
36
64
|
version_requirements: !ruby/object:Gem::Requirement
|
37
65
|
requirements:
|
38
|
-
- - "
|
66
|
+
- - "~>"
|
39
67
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
68
|
+
version: '13.0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rspec
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '3.12'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '3.12'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: yard
|
43
85
|
requirement: !ruby/object:Gem::Requirement
|
44
86
|
requirements:
|
45
87
|
- - ">="
|
@@ -74,10 +116,11 @@ licenses:
|
|
74
116
|
- MIT
|
75
117
|
metadata:
|
76
118
|
homepage_uri: https://github.com/rubocop-lts/rubocop-ruby3_0
|
77
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v1.0
|
78
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v1.0
|
119
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v1.1.0
|
120
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v1.1.0/CHANGELOG.md
|
79
121
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
|
80
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/1.0
|
122
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/1.1.0
|
123
|
+
funding_uri: https://liberapay.com/pboling
|
81
124
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/wiki
|
82
125
|
rubygems_mfa_required: 'true'
|
83
126
|
post_install_message:
|
@@ -95,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
138
|
- !ruby/object:Gem::Version
|
96
139
|
version: '0'
|
97
140
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
141
|
+
rubygems_version: 3.2.33
|
99
142
|
signing_key:
|
100
143
|
specification_version: 4
|
101
144
|
summary: Semantically Versioned RuboCop Dependency
|
metadata.gz.sig
ADDED
Binary file
|