rubocop-ruby2_6 1.0.4 → 1.0.7
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/ruby2_6/version.rb +1 -1
- metadata +9 -15
- data/spec/config/rspec/rspec_core.rb +0 -13
- data/spec/rubocop/ruby2_6_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: a84b1e007e7f8131718a58e9cf7f6066426854b32a3a3eb875182a60debc0e95
|
4
|
+
data.tar.gz: e5881b4a8913dab98c6a429036dc4f128cca2f774227227c22b858d7035514fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8c5c517b9b81eb0fde56ed1008c0d7d0745baac8a1aa6279e78093271fdc5dea3a85d499e07d28a8cf5ad59ded243b4919d824a8b66451b4ce5126386be24593
|
7
|
+
data.tar.gz: 076cf5b9a4041707ccd0c7573fb44456b003d003c0b552f4bb0c186d6992978f1ad62514e3226d52e60011045ef6afc50b246e2f30953209dc891b2c26089b34
|
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.7] 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.6] 2022-06-05
|
23
|
+
### Changed
|
24
|
+
* Update to rubocop 1.30.0
|
25
|
+
|
26
|
+
## [1.0.5] 2022-05-23
|
27
|
+
### Changed
|
28
|
+
* Update to rubocop 1.29.1
|
29
|
+
|
16
30
|
## [1.0.4] 2022-05-23
|
17
31
|
### Added
|
18
32
|
* Rubocop => RuboCop typo repair
|
@@ -35,7 +49,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
35
49
|
### Added
|
36
50
|
* Initial release (yanked)
|
37
51
|
|
38
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.
|
52
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.7...HEAD
|
53
|
+
[1.0.7]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.6...v1.0.7
|
54
|
+
[1.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.5...v1.0.6
|
55
|
+
[1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.4...v1.0.5
|
39
56
|
[1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.3...v1.0.4
|
40
57
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.2...v1.0.3
|
41
58
|
[1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_6/compare/v1.0.1...v1.0.2
|
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-ruby2_6`][⛳️26-gh] | [![Gem Version][⛳️26-vi]][⛳️26-g] | [![Total DL][🖇️26-dti]][⛳️26-g] [![DL Rank][🏘️26-rti]][⛳️26-g] | [![Current][🚎26-cwfi]][🚎26-cwf] [![Heads][🖐26-hwfi]][🖐26-hwf] [![Legacy][🧮26-lwfi]][🧮26-lwf] | [![Open Issues][📗26-ioi]][📗26-io] [![Closed Issues][🚀26-ici]][🚀26-ic] [![Open PRs][💄26-poi]][💄26-po] [![Closed PRs][👽26-pci]][👽26-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
|
+
[⛳️26-vi]: http://img.shields.io/gem/v/rubocop-ruby2_6.svg
|
62
|
+
[🖇️26-dti]: https://img.shields.io/gem/dt/rubocop-ruby2_6.svg
|
63
|
+
[🏘️26-rti]: https://img.shields.io/gem/rt/rubocop-ruby2_6.svg
|
64
|
+
[🚎26-cwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml
|
65
|
+
[🚎26-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/current.yml/badge.svg
|
66
|
+
[🖐26-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml
|
67
|
+
[🖐26-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/heads.yml/badge.svg
|
68
|
+
[🧮26-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml
|
69
|
+
[🧮26-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_6/actions/workflows/legacy.yml/badge.svg
|
70
|
+
[📗26-io]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
|
71
|
+
[📗26-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_6
|
72
|
+
[🚀26-ic]: https://github.com/rubocop-lts/rubocop-ruby2_6/issues?q=is%3Aissue+is%3Aclosed
|
73
|
+
[🚀26-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby2_6
|
74
|
+
[💄26-po]: https://github.com/rubocop-lts/rubocop-ruby2_6/pulls
|
75
|
+
[💄26-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby2_6
|
76
|
+
[👽26-pc]: https://github.com/rubocop-lts/rubocop-ruby2_6/pulls?q=is%3Apr+is%3Aclosed
|
77
|
+
[👽26-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby2_6
|
78
|
+
[⛳️26-g]: https://rubygems.org/gems/rubocop-ruby2_6
|
79
|
+
[⛳️26-gh]: https://github.com/rubocop-lts/rubocop-ruby2_6
|
80
|
+
|
19
81
|
# Rubocop::Ruby26
|
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-ruby2_6
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
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.0
|
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.0
|
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/ruby2_6/version.rb
|
70
70
|
- rubocop.yml
|
71
71
|
- sig/rubocop/ruby2_6.rbs
|
72
|
-
- spec/config/rspec/rspec_core.rb
|
73
|
-
- spec/rubocop/ruby2_6_spec.rb
|
74
|
-
- spec/spec_helper.rb
|
75
72
|
homepage: https://github.com/rubocop-lts/rubocop-ruby2_6
|
76
73
|
licenses:
|
77
74
|
- MIT
|
78
75
|
metadata:
|
79
76
|
homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_6
|
80
|
-
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v1.0.
|
81
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v1.0.
|
77
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/tree/v1.0.7
|
78
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/blob/v1.0.7/CHANGELOG.md
|
82
79
|
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/issues
|
83
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/1.0.
|
80
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_6/1.0.7
|
84
81
|
wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_6/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/spec_helper.rb
|
107
|
-
- spec/config/rspec/rspec_core.rb
|
108
|
-
- spec/rubocop/ruby2_6_spec.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/ruby2_6"
|
30
|
-
|
31
|
-
# RSpec Configs
|
32
|
-
require "config/rspec/rspec_core"
|