rubocop-ruby2_7 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62297fad4b641d8fe130a1d91d9d4e25b1ffb0458f77461fd103f5f463df317e
4
- data.tar.gz: 1c699e23eae95b0d0af23689b5636bd39e859f4f672f445fc153d9441c1c1bc4
3
+ metadata.gz: daf69e19edae03745b5a1ee9050d80ff80d801783869af3ddec4ff23fe0f19f1
4
+ data.tar.gz: 4f55b07c0a9d812798b7991c2910639c8f066e3efed01c07b8acd05609bbae6f
5
5
  SHA512:
6
- metadata.gz: c4eff46a147a98f4671499eabf4f16222d2e7d10516e7553f111bdee9f929804e6af17395a70dcbf9f6c7e6c39d9e26ae222d6f60174682266870fce229de31f
7
- data.tar.gz: 364af6c1dc4a60a4216b9e343015f3d2ed66258ea669e08a77df786d4e7b261575e7f296a44a7b5b545f333c3f883af484d06f2d3ad54ee76b085cdbc37ce317
6
+ metadata.gz: acfc1343f1e90fe372648f4354ad560e21e43f8fe616df80a62e67845475295c382fc9d8e1da98e45674ab0fcb42d912100b874ba2e188dc88733cf927a1edba
7
+ data.tar.gz: b8096dd42d45d0182750bed10e933b95bf20b2f38b0193900c42233eadde893e8737809079f000ab0ecf33a1f7c394f5f80c395c460fac2bea43a8a40b092153
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-ruby2_7/compare/v1.0.3...HEAD
48
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.6...HEAD
49
+ [1.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.5...v1.0.6
50
+ [1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.4...v1.0.5
51
+ [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.3...v1.0.4
35
52
  [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.2...v1.0.3
36
53
  [1.0.2]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.1...v1.0.2
37
54
  [1.0.1]: https://github.com/rubocop-lts/rubocop-ruby2_7/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-ruby2_7`][⛳️27-gh] | [![Gem Version][⛳️27-vi]][⛳️27-g] | [![Total DL][🖇️27-dti]][⛳️27-g] [![DL Rank][🏘️27-rti]][⛳️27-g] | [![Current][🚎27-cwfi]][🚎27-cwf] [![Heads][🖐27-hwfi]][🖐27-hwf] | [![Open Issues][📗27-ioi]][📗27-io] [![Closed Issues][🚀27-ici]][🚀27-ic] [![Open PRs][💄27-poi]][💄27-po] [![Closed PRs][👽27-pci]][👽27-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
+ [⛳️27-vi]: http://img.shields.io/gem/v/rubocop-ruby2_7.svg
62
+ [🖇️27-dti]: https://img.shields.io/gem/dt/rubocop-ruby2_7.svg
63
+ [🏘️27-rti]: https://img.shields.io/gem/rt/rubocop-ruby2_7.svg
64
+ [🚎27-cwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml
65
+ [🚎27-cwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/current.yml/badge.svg
66
+ [🖐27-hwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml
67
+ [🖐27-hwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/heads.yml/badge.svg
68
+ [🧮27-lwf]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml
69
+ [🧮27-lwfi]: https://github.com/rubocop-lts/rubocop-ruby2_7/actions/workflows/legacy.yml/badge.svg
70
+ [📗27-io]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
71
+ [📗27-ioi]: https://img.shields.io/github/issues-raw/rubocop-lts/rubocop-ruby2_7
72
+ [🚀27-ic]: https://github.com/rubocop-lts/rubocop-ruby2_7/issues?q=is%3Aissue+is%3Aclosed
73
+ [🚀27-ici]: https://img.shields.io/github/issues-closed-raw/rubocop-lts/rubocop-ruby2_7
74
+ [💄27-po]: https://github.com/rubocop-lts/rubocop-ruby2_7/pulls
75
+ [💄27-poi]: https://img.shields.io/github/issues-pr/rubocop-lts/rubocop-ruby2_7
76
+ [👽27-pc]: https://github.com/rubocop-lts/rubocop-ruby2_7/pulls?q=is%3Apr+is%3Aclosed
77
+ [👽27-pci]: https://img.shields.io/github/issues-pr-closed/rubocop-lts/rubocop-ruby2_7
78
+ [⛳️27-g]: https://rubygems.org/gems/rubocop-ruby2_7
79
+ [⛳️27-gh]: https://github.com/rubocop-lts/rubocop-ruby2_7
80
+
19
81
  # Rubocop::Ruby27
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
- | 0.x | :white_check_mark: |
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.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Ruby27
5
- VERSION = "1.0.3"
5
+ VERSION = "1.0.6"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-ruby2_7
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
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-05-23 00:00:00.000000000 Z
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.28.2
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.28.2
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/ruby2_7/version.rb
70
70
  - rubocop.yml
71
71
  - sig/rubocop/ruby2_7.rbs
72
- - spec/config/rspec/rspec_core.rb
73
- - spec/rubocop/ruby2_7_spec.rb
74
- - spec/spec_helper.rb
75
72
  homepage: https://github.com/rubocop-lts/rubocop-ruby2_7
76
73
  licenses:
77
74
  - MIT
78
75
  metadata:
79
76
  homepage_uri: https://github.com/rubocop-lts/rubocop-ruby2_7
80
- source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.0.3
81
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.0.3/CHANGELOG.md
77
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.0.6
78
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.0.6/CHANGELOG.md
82
79
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/issues
83
- documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.0.3
80
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.0.6
84
81
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/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.14
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_7_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
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- RSpec.describe Rubocop::Ruby27 do
4
- it "has a version number" do
5
- expect(Rubocop::Ruby27::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/ruby2_7"
30
-
31
- # RSpec Configs
32
- require "config/rspec/rspec_core"