rubocop-ruby3_0 1.0.5 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c15c4dfc86a4df768105f18d18144427a8e3899e71d1bb81dde1bef1b65db083
4
- data.tar.gz: 982ff372875e088eb4a2c1b5d92ef1a8718982346fd737ca2e1e0f3282f4cd81
3
+ metadata.gz: 4e3371a4053ba36a1e7036bea52e94c2de373c6c0222d992d45fdfe025b20c01
4
+ data.tar.gz: 6f238448e57589b20b64ba06e62232d50688222a273c6d8c9f11872310664257
5
5
  SHA512:
6
- metadata.gz: c7b719fc0bd1ac1bba2e069a1ec11021e6458c9fe71802549509440ea752f887841c1881ced559b37af3cd6f4740a367935e65f5fb868dede6eb5dc0430094e6
7
- data.tar.gz: 6ec390c23f8142a02764c2ae2df9a90f4bbf6af5a26fd518c3f7104cb9000c00f739cb975e91407b23ee54365e7863845bc5f85d9aa390060416d6e69156bfad
6
+ metadata.gz: 93d07716f90c2303a08c144fd006f3d45428b87c413f29c2deb2994d2369511f0bb65e8239323b1690c55869d22c001129de45b703d5fd2be1d8cd2afd07e22c
7
+ data.tar.gz: 47a6a25cecfe0323789857490d2d80f40be055cf67a2bffb5e3057bc0e29d9ad619dce6fcf66002ad110a176a3b23d805c435804c678f47d42ef08e2c91aaeed
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -6,20 +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
+
22
+ ## [1.0.6] 2022-06-08
23
+ ### Changed
24
+ * Update to rubocop `~> 1.30.1`
25
+ * Removed test_files from gemspec
26
+ * Add binstubs for bundle, rake, rspec, and rubocop
27
+
16
28
  ## [1.0.5] 2022-06-05
17
29
  ### Changed
18
- * Update to rubocop 1.30.0
30
+ * Update to rubocop `~> 1.30.0`
19
31
 
20
32
  ## [1.0.4] 2022-05-23
21
33
  ### Changed
22
- * Update to rubocop 1.29.1
34
+ * Update to rubocop `~> 1.29.1`
23
35
 
24
36
  ## [1.0.3] 2022-05-23
25
37
  ### Added
@@ -39,7 +51,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
51
  ### Added
40
52
  * Initial release
41
53
 
42
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.5...HEAD
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
56
+ [1.0.6]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.5...v1.0.6
43
57
  [1.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.4...v1.0.5
44
58
  [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.3...v1.0.4
45
59
  [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.2...v1.0.3
data/CONTRIBUTING.md CHANGED
@@ -1,25 +1,38 @@
1
1
  ## Contributing
2
2
 
3
- Bug reports and pull requests are welcome on GitHub at [https://github.com/rubocop-lts/rubocop-ruby3_0][source]
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
- ## Contributors
10
-
11
- [![Contributors](https://contrib.rocks/image?repo=rubocop-lts/rubocop-ruby3_0)][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. 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
- [conduct]: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/main/CODE_OF_CONDUCT.md
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
- [contrib-rocks]: https://contrib.rocks
26
+ ## Contributors
20
27
 
21
- [contributors]: https://github.com/rubocop-lts/rubocop-ruby3_0/graphs/contributors
28
+ [![Contributors][🖐contributors-img]][🖐contributors]
22
29
 
23
30
  [comment]: <> (Following links are used by README, CONTRIBUTING, Homepage)
24
31
 
25
- [source]: https://github.com/rubocop-lts/rubocop-ruby3_0/
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 Rubocop team [has real reasons](https://github.com/semver/semver/issues/317)
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 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_0` (this gem) will install on any version of Ruby >= 3.0, and can be used to analyze code intended to support Ruby >= 3.0.
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
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. 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_0", "~> 1.0"
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
@@ -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 Ruby30
5
- VERSION = "1.0.5"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
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.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
- cert_chain: []
11
- date: 2022-06-05 00:00:00.000000000 Z
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.30.0
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.30.0
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
  - - ">="
@@ -69,18 +111,16 @@ files:
69
111
  - lib/rubocop/ruby3_0/version.rb
70
112
  - rubocop.yml
71
113
  - sig/rubocop/ruby3_0.rbs
72
- - spec/config/rspec/rspec_core.rb
73
- - spec/rubocop/ruby3_0_spec.rb
74
- - spec/spec_helper.rb
75
114
  homepage: https://github.com/rubocop-lts/rubocop-ruby3_0
76
115
  licenses:
77
116
  - MIT
78
117
  metadata:
79
118
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby3_0
80
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v1.0.5
81
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v1.0.5/CHANGELOG.md
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
82
121
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
83
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/1.0.5
122
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/1.1.0
123
+ funding_uri: https://liberapay.com/pboling
84
124
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/wiki
85
125
  rubygems_mfa_required: 'true'
86
126
  post_install_message:
@@ -98,11 +138,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
138
  - !ruby/object:Gem::Version
99
139
  version: '0'
100
140
  requirements: []
101
- rubygems_version: 3.3.14
141
+ rubygems_version: 3.2.33
102
142
  signing_key:
103
143
  specification_version: 4
104
144
  summary: Semantically Versioned RuboCop Dependency
105
- test_files:
106
- - spec/config/rspec/rspec_core.rb
107
- - spec/rubocop/ruby3_0_spec.rb
108
- - spec/spec_helper.rb
145
+ test_files: []
metadata.gz.sig ADDED
Binary file
@@ -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::Ruby30 do
4
- it "has a version number" do
5
- expect(Rubocop::Ruby30::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_0"
30
-
31
- # RSpec Configs
32
- require "config/rspec/rspec_core"