rubocop-ruby3_0 1.0.3 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -1
- data/README.md +62 -0
- data/SECURITY.md +3 -3
- data/lib/rubocop/ruby3_0/version.rb +1 -1
- metadata +9 -15
- data/spec/config/rspec/rspec_core.rb +0 -13
- data/spec/rubocop/ruby3_0_spec.rb +0 -7
- data/spec/spec_helper.rb +0 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b080c8284bfc35158f37ae9ce92528dc18381cefb47bc777354a04acef5269c6
|
4
|
+
data.tar.gz: 2befee236200fc709eb4f8aceb159b76615597800d4e977dea8aa762340e7cbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0de227249e50e1b8dba9848ad9e54b8847eaee3f2d4d67c8d543e070dec45ed1d29bb76ee2b911cf37181afb6cf93f607470cf9c1b05d9d40c26363e5815bcda
|
7
|
+
data.tar.gz: d4a844ceead7ea3f99932a19a1085665ce85d2c9337e64bcd06666a282e5bf49390c6e6907e214f1c6b443408e7a3b316862f0e412615c9fcd74fd9b2d13c2ba
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
+
## [1.0.6] 2022-06-08
|
17
|
+
### Changed
|
18
|
+
* Update to rubocop 1.30.1
|
19
|
+
* Removed test_files from gemspec
|
20
|
+
* Add binstubs for bundle, rake, rspec, and rubocop
|
21
|
+
|
22
|
+
## [1.0.5] 2022-06-05
|
23
|
+
### Changed
|
24
|
+
* Update to rubocop 1.30.0
|
25
|
+
|
26
|
+
## [1.0.4] 2022-05-23
|
27
|
+
### Changed
|
28
|
+
* Update to rubocop 1.29.1
|
29
|
+
|
16
30
|
## [1.0.3] 2022-05-23
|
17
31
|
### Added
|
18
32
|
* Rubocop => RuboCop typo repair
|
@@ -31,7 +45,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
31
45
|
### Added
|
32
46
|
* Initial release
|
33
47
|
|
34
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.
|
48
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.6...HEAD
|
49
|
+
[1.0.6]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.5...v1.0.6
|
50
|
+
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.4...v1.0.5
|
51
|
+
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.3...v1.0.4
|
35
52
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.2...v1.0.3
|
36
53
|
[1.0.2]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.1...v1.0.2
|
37
54
|
[1.0.1]: https://github.com/rubocop-lts/rubocop-ruby3_0/compare/v1.0.0...v1.0.1
|
data/README.md
CHANGED
@@ -16,6 +16,68 @@
|
|
16
16
|
</a>
|
17
17
|
</p>
|
18
18
|
|
19
|
+
---
|
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.
|
22
|
+
|
23
|
+
| Gem Name | Version | Downloads | CI | Activity |
|
24
|
+
|------------------------------|-------------------------------------|----------------------------------------------------------------------|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------|
|
25
|
+
| [`rubocop-lts`][⛳️lts-gh] | [![Gem Version][⛳️lts-vi]][⛳️lts-g] | [![Total DL][🖇️lts-dti]][⛳️lts-g] [![DL Rank][🏘️lts-rti]][⛳️lts-g] | [![Current][🚎lts-cwfi]][🚎lts-cwf] | [![Open Issues][📗lts-ioi]][📗lts-io] [![Closed Issues][🚀lts-ici]][🚀lts-ic] [![Open PRs][💄lts-poi]][💄lts-po] [![Closed PRs][👽lts-pci]][👽lts-pc] |
|
26
|
+
| [`rubocop-ruby3_0`][⛳️30-gh] | [![Gem Version][⛳️30-vi]][⛳️30-g] | [![Total DL][🖇️30-dti]][⛳️30-g] [![DL Rank][🏘️30-rti]][⛳️30-g] | [![Current][🚎30-cwfi]][🚎30-cwf] [![Heads][🖐30-hwfi]][🖐30-hwf] | [![Open Issues][📗30-ioi]][📗30-io] [![Closed Issues][🚀30-ici]][🚀30-ic] [![Open PRs][💄30-poi]][💄30-po] [![Closed PRs][👽30-pci]][👽30-pc] |
|
27
|
+
|
28
|
+
<!-- columnar badge #s for Project Health table:
|
29
|
+
⛳️
|
30
|
+
🖇
|
31
|
+
🏘
|
32
|
+
🚎
|
33
|
+
🖐
|
34
|
+
🧮
|
35
|
+
📗
|
36
|
+
🚀
|
37
|
+
💄
|
38
|
+
👽
|
39
|
+
-->
|
40
|
+
|
41
|
+
[⛳️lts-vi]: http://img.shields.io/gem/v/rubocop-lts.svg
|
42
|
+
[🖇️lts-dti]: https://img.shields.io/gem/dt/rubocop-lts.svg
|
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
|
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
|
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
|
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
|
57
|
+
[👽lts-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-lts
|
58
|
+
[⛳️lts-g]: https://rubygems.org/gems/rubocop-lts
|
59
|
+
[⛳️lts-gh]: https://github.com/rubocop-lts/rubocop-lts
|
60
|
+
|
61
|
+
[⛳️30-vi]: http://img.shields.io/gem/v/rubocop-ruby3_0.svg
|
62
|
+
[🖇️30-dti]: https://img.shields.io/gem/dt/rubocop-ruby3_0.svg
|
63
|
+
[🏘️30-rti]: https://img.shields.io/gem/rt/rubocop-ruby3_0.svg
|
64
|
+
[🚎30-cwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml
|
65
|
+
[🚎30-cwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/current.yml/badge.svg
|
66
|
+
[🖐30-hwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml
|
67
|
+
[🖐30-hwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/heads.yml/badge.svg
|
68
|
+
[🧮30-lwf]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml
|
69
|
+
[🧮30-lwfi]: https://github.com/rubocop-lts/rubocop-ruby3_0/actions/workflows/legacy.yml/badge.svg
|
70
|
+
[📗30-io]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues
|
71
|
+
[📗30-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby3_0
|
72
|
+
[🚀30-ic]: https://github.com/rubocop-lts/rubocop-ruby3_0/issues?q=is%3Aissue+is%3Aclosed
|
73
|
+
[🚀30-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby3_0
|
74
|
+
[💄30-po]: https://github.com/rubocop-lts/rubocop-ruby3_0/pulls
|
75
|
+
[💄30-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby3_0
|
76
|
+
[👽30-pc]: https://github.com/rubocop-lts/rubocop-ruby3_0/pulls?q=is%3Apr+is%3Aclosed
|
77
|
+
[👽30-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby3_0
|
78
|
+
[⛳️30-g]: https://rubygems.org/gems/rubocop-ruby3_0
|
79
|
+
[⛳️30-gh]: https://github.com/rubocop-lts/rubocop-ruby3_0
|
80
|
+
|
19
81
|
# Rubocop::Ruby30
|
20
82
|
|
21
83
|
See the intro [blog post](https://dev.to/pboling/rubocop-ruby-matrix-gems-nj)!
|
data/SECURITY.md
CHANGED
@@ -3,11 +3,11 @@
|
|
3
3
|
## Supported Versions
|
4
4
|
|
5
5
|
| Version | Supported |
|
6
|
-
|
7
|
-
|
|
6
|
+
|---------| ------------------ |
|
7
|
+
| 1.x | :white_check_mark: |
|
8
8
|
|
9
9
|
## Reporting a Vulnerability
|
10
10
|
|
11
11
|
Peter Boling is the primary maintainer of this gem. Please find a way
|
12
12
|
to [contact him directly](https://railsbling.com/contact) to report the issue. Include as much relevant information as
|
13
|
-
possible.
|
13
|
+
possible.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.0.6
|
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-
|
11
|
+
date: 2022-06-08 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.
|
19
|
+
version: 1.30.1
|
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.
|
26
|
+
version: 1.30.1
|
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_0/version.rb
|
70
70
|
- rubocop.yml
|
71
71
|
- 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
72
|
homepage: https://github.com/rubocop-lts/rubocop-ruby3_0
|
76
73
|
licenses:
|
77
74
|
- MIT
|
78
75
|
metadata:
|
79
76
|
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.
|
81
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v1.0.
|
77
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/tree/v1.0.6
|
78
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/blob/v1.0.6/CHANGELOG.md
|
82
79
|
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.
|
80
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby3_0/1.0.6
|
84
81
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby3_0/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.3.
|
98
|
+
rubygems_version: 3.3.15
|
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_0_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
|
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"
|