rubocop-ruby2_7 1.0.6 → 1.1.1
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 +20 -3
- data/CONTRIBUTING.md +24 -11
- data/README.md +50 -37
- data/SECURITY.md +3 -3
- data/lib/rubocop/ruby2_7/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +59 -16
- 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: c578c1d05c141d9c4379bc7b36afdda7f31f8aa75b59be6aea316d9eef0b15aa
|
4
|
+
data.tar.gz: e1b1e5d51b8bed8006df03ffcb77500d75d467ecdef19b769268533ae1fffb5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fbf80c4f8b75b354a018b151e779346abc0433a5a2f5d2ca6897398fa833d0fd40b766d4e50e5d81daba2ac1f8c77f2a3b1a2059c5b2b24c50f893f64d96262
|
7
|
+
data.tar.gz: b3e39294096bb15240f4283e61587cd28a1078aea678994cb57d960a8810dab8e1319d01e0e7554f8f310a6d24778d7d2cfd9a3ec8a9578ddc76de36418c1906
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -6,12 +6,27 @@ 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
|
10
|
+
### Fixed
|
11
|
+
### Removed
|
11
12
|
|
13
|
+
## [1.1.1] 2022-12-20
|
12
14
|
### Fixed
|
15
|
+
* Documentation of Three Guarantees:
|
16
|
+
* `rubocop-ruby2_7` (this gem) will install a version of `rubocop` which will
|
17
|
+
**install** on (1), **run** on (2), and **analyze code** (3) intended to support any version of Ruby >= 2.7.
|
18
|
+
### Changed
|
19
|
+
* Minimum code coverage == 100%
|
13
20
|
|
14
|
-
|
21
|
+
## [1.1.0] 2022-12-19
|
22
|
+
### Added
|
23
|
+
* More Linting Rules
|
24
|
+
* Improved Rakefile for YARD docs
|
25
|
+
* Improved Documentation related to Three Guarantees
|
26
|
+
* Updated Ruby Version Support in Readme
|
27
|
+
* Improved documentation
|
28
|
+
### Changed
|
29
|
+
* Rubocop => RuboCop typo repair in documentation
|
15
30
|
|
16
31
|
## [1.0.6] 2022-06-08
|
17
32
|
### Changed
|
@@ -45,7 +60,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
45
60
|
### Added
|
46
61
|
* Initial release
|
47
62
|
|
48
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.
|
63
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.1.1...HEAD
|
64
|
+
[1.1.1]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.1.0...v1.1.1
|
65
|
+
[1.1.0]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.6...v1.1.0
|
49
66
|
[1.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.5...v1.0.6
|
50
67
|
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.4...v1.0.5
|
51
68
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/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-ruby2_7][🚎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-ruby2_7)][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-ruby2_7/-/blob/main/CODE_OF_CONDUCT.md
|
33
|
+
[🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/graphs/main
|
34
|
+
[🖐contributors-img]: https://img.shields.io/github/contributors-anon/rubocop-lts/rubocop-ruby2_7
|
35
|
+
[🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/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 >= 2.7.
|
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-ruby2_7", "~> 1.
|
268
|
+
spec.add_dependency "rubocop-ruby2_7", "~> 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-ruby2_7
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
|
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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-20 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,13 +116,14 @@ licenses:
|
|
74
116
|
- MIT
|
75
117
|
metadata:
|
76
118
|
homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_7
|
77
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.
|
78
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.
|
119
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.1.1
|
120
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.1.1/CHANGELOG.md
|
79
121
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
|
80
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.
|
122
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.1.1
|
123
|
+
funding_uri: https://liberapay.com/pboling
|
81
124
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/wiki
|
82
125
|
rubygems_mfa_required: 'true'
|
83
|
-
post_install_message:
|
126
|
+
post_install_message:
|
84
127
|
rdoc_options: []
|
85
128
|
require_paths:
|
86
129
|
- lib
|
@@ -95,8 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
138
|
- !ruby/object:Gem::Version
|
96
139
|
version: '0'
|
97
140
|
requirements: []
|
98
|
-
rubygems_version: 3.
|
99
|
-
signing_key:
|
141
|
+
rubygems_version: 3.1.6
|
142
|
+
signing_key:
|
100
143
|
specification_version: 4
|
101
144
|
summary: Semantically Versioned RuboCop Dependency
|
102
145
|
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|