rubocop-ruby3_1 1.1.2 β†’ 1.1.4

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: 5eed17fd3f35351f09d9cc1641d51cfcacb1bb9a1f7fe5b80da0cc2612e49e2d
4
- data.tar.gz: 1996b16b90a2870ecd220338df98e620229d78d1d3e3ee560a2fbb5fd01f9a85
3
+ metadata.gz: 4fa257b0093a53b0203bcb98151edc8af3800954fdd053a34de9d00406cfc11d
4
+ data.tar.gz: 3ac36971f55fcb57a14beef96c3820932c2746e10571ac7eac8815f01fa94654
5
5
  SHA512:
6
- metadata.gz: a43e517e514ae18d082c5e530976a080c0cb852111077974969f227892d2fc6f8fa832e87fad6d5b31a9cb4d028cd73088fcd58cc442883cf6ec42a1cfe08f31
7
- data.tar.gz: a036a78cbed6e20503bd3bb2325d549ce35dea18ad97e70f74de5b0ecb9768ff8378d80494e5765124800c1fa130b1add856841d07c3567457e6d39415e202af
6
+ metadata.gz: 45fbd3d32dd9de42e9e3a0a6759e18fec397050dc6751c785d61e2c3f763dfb07e12684130e099cc55ae89466ba4d81bc9881b57d7e37540526ce042f3b7b934
7
+ data.tar.gz: 70b2e088be38ac4ecb05075fff2c6e790ad53e46963369c26d31de408a108ddd96853e8b5ace820d2aff9b4a2f8c5156572db148d932aab31099006768329481
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,34 +10,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
- ## [1.1.2] 2022-12-18
13
+ ## [1.1.4] 2022-12-20
14
+ ### Fixed
15
+ * Do not require version.rb from gemspec so code coverage is accurate from both `rake` and `rspec`
16
+ * Typos in CHANGELOG & Documentation
14
17
  ### Changed
18
+ * Minimum Code Coverage == 100%
19
+
20
+ ## [1.1.3] 2022-12-18
21
+ ### Added
22
+ * Linting to fix CI build
23
+ * Improved Rakefile for YARD docs
24
+ * Documentation of Three Guarantees:
25
+ * `rubocop-ruby2_7` (this gem) will install a version of `rubocop` which will
26
+ **install** on (1), **run** on (2), and **analyze code** (3) intended to support any version of Ruby >= 2.7.
27
+
28
+ ## [1.1.2] 2022-12-18
29
+ ### Added
15
30
  * Release is securely signed by author
16
31
 
17
32
  ## [1.1.1] 2022-12-17
18
33
  ### Changed
19
- * Update to rubocop ~> 1.40.0
34
+ * Update to rubocop `~> 1.40.0`
20
35
  * Improved CI workflows (still on GitHub)
21
36
 
22
37
  ## [1.1.0] 2022-12-7
23
38
  ### Changed
24
- * Update to rubocop ~> 1.39.0
25
- * Gem release ships with SHA512 and SHA256 checksums
39
+ * Update to rubocop `~> 1.39.0`
26
40
  * Migration from GitHub to GitLab [ref](https://github.com/actions/toolkit/issues/1214)
41
+ ### Added
42
+ * Gem release ships with `SHA512` and `SHA256` checksums
27
43
 
28
44
  ## [1.0.6] 2022-06-08
29
45
  ### Changed
30
- * Update to rubocop 1.30.1
46
+ * Update to rubocop `~> 1.30.1`
31
47
  * Removed test_files from gemspec
32
48
  * Add binstubs for bundle, rake, rspec, and rubocop
33
49
 
34
50
  ## [1.0.5] 2022-06-05
35
51
  ### Changed
36
- * Update to rubocop 1.30.0
52
+ * Update to rubocop `~> 1.30.0`
37
53
 
38
54
  ## [1.0.4] 2022-05-23
39
55
  ### Changed
40
- * Update to rubocop 1.29.1
56
+ * Update to rubocop `~> 1.29.1`
41
57
 
42
58
  ## [1.0.3] 2022-05-23
43
59
  ### Added
@@ -57,7 +73,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
57
73
  ### Added
58
74
  * Initial release
59
75
 
60
- [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.2...HEAD
76
+ [Unreleased]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.4...HEAD
77
+ [1.1.4]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.3...v1.1.4
78
+ [1.1.3]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.2...v1.1.3
61
79
  [1.1.2]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.1...v1.1.2
62
80
  [1.1.1]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.1.0...v1.1.1
63
81
  [1.1.0]: https://gitlab.com/rubocop-lts/rubocop-ruby3_1/-/compare/v1.0.6...v1.1.0
data/README.md CHANGED
@@ -101,32 +101,41 @@ 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 Matrix
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
- `rubocop-ruby3_1` (this gem) will install on any version of Ruby >= 3.1, and can be used to analyze code intended to support Ruby >= 3.1.
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] | | | | | | | | πŸ›  | πŸ›  | πŸ›  | πŸ›  | 🧊 πŸƒβ€ πŸ›  | 🧊 πŸƒβ€ | 🧊 πŸƒβ€ |
110
+ ### Three Guarantees
111
+
112
+ `rubocop-ruby3_1` (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.1.
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]
130
139
 
131
140
  [rr19]: https://gitlab.com/rubocop-lts/rubocop-ruby1_9
132
141
  [rr20]: https://gitlab.com/rubocop-lts/rubocop-ruby2_0
@@ -144,7 +153,11 @@ official [compatibility matrix][rubocop-matrix] for `rubocop`.
144
153
 
145
154
  ## πŸ—Ώ Stable
146
155
 
147
- All releases of this gem are stable releases. The first version is `1.0.0`.
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_1", "~> 1.0"
268
+ spec.add_dependency "rubocop-ruby3_1", "~> 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
@@ -2,9 +2,9 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- | Version | Supported |
6
- |---------| ------------------ |
7
- | 1.x | :white_check_mark: |
5
+ | Version | Supported |
6
+ |---------|-----------|
7
+ | 1.x | βœ… |
8
8
 
9
9
  ## Reporting a Vulnerability
10
10
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby31
5
- VERSION = "1.1.2"
5
+ VERSION = "1.1.4"
6
6
  end
7
7
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby3_1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -36,7 +36,7 @@ cert_chain:
36
36
  gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
37
  4/bR9A==
38
38
  -----END CERTIFICATE-----
39
- date: 2022-12-18 00:00:00.000000000 Z
39
+ date: 2022-12-20 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop
@@ -116,10 +116,10 @@ licenses:
116
116
  - MIT
117
117
  metadata:
118
118
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby3_1
119
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v1.1.2
120
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v1.1.2/CHANGELOG.md
119
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/tree/v1.1.4
120
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/v1.1.4/CHANGELOG.md
121
121
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/issues
122
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/1.1.2
122
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_1/1.1.4
123
123
  funding_uri: https://liberapay.com/pboling
124
124
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_1/wiki
125
125
  rubygems_mfa_required: 'true'
metadata.gz.sig CHANGED
Binary file