rubocop-ruby2_7 1.0.5 → 1.1.0

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: 271ea8deb5be130658ca231310ca877ea6dfc02bb2a342f31b6e303204c60ac0
4
- data.tar.gz: bbd2eb614a55da80d372ddedf993fb479bc927ba59e3d004ec193c7c3cd7e238
3
+ metadata.gz: dc76c9be41a60e57144b84af327498549bad1ca4c00f2df83ba31175bfde1841
4
+ data.tar.gz: 211a0d5ebef106748f9ee3a9d0dfada839d7f9dc079af8828f84709361670443
5
5
  SHA512:
6
- metadata.gz: 0a731d8f839f23bac83da068f20ef6df30f0fa595ce0ae37f356381ef5c0f4d2f59a321c020b221cc94757e9fb04c80fc1302ac904686a3a0b6e04669332baca
7
- data.tar.gz: d0e691ce71ea309813d10684b49790a30c64eed213ab8fe6ba825c1eda1629306b5fefb054a5c49ca23e72ab6d83313effcba1a898b49b050df80b5357976f6d
6
+ metadata.gz: b62b62554e5e9c8dcac7607aa69e1d416520a5fb0e98349d76cf05ff278b92411789d514058f7dc0d16781923ab82af890922b557fa85381bd6d1ca9e22a5919
7
+ data.tar.gz: 53c4df0f85a51a20534fc773b90f0e416398df60c8dc25b16ef3dfcde9f9dbe0d2b81644aae78188bb71cc70f1f845162b5a5464cc75d233840e563a79179602
checksums.yaml.gz.sig ADDED
Binary file
data/CHANGELOG.md CHANGED
@@ -6,13 +6,26 @@ 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-19
14
+ ### Added
15
+ * More Linting Rules
16
+ * Improved Rakefile for YARD docs
17
+ * Improved Documentation related to Three Guarantees
18
+ * Updated Ruby Version Support in Readme
19
+ * Improved documentation
20
+ ### Changed
21
+ * Rubocop => RuboCop typo repair in documentation
22
+
23
+ ## [1.0.6] 2022-06-08
24
+ ### Changed
25
+ * Update to rubocop 1.30.1
26
+ * Removed test_files from gemspec
27
+ * Add binstubs for bundle, rake, rspec, and rubocop
28
+
16
29
  ## [1.0.5] 2022-06-05
17
30
  ### Changed
18
31
  * Update to rubocop 1.30.0
@@ -39,7 +52,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
39
52
  ### Added
40
53
  * Initial release
41
54
 
42
- [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.5...HEAD
55
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.1.0...HEAD
56
+ [1.1.0]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.6...v1.1.0
57
+ [1.0.6]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.5...v1.0.6
43
58
  [1.0.5]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.4...v1.0.5
44
59
  [1.0.4]: https://github.com/rubocop-lts/rubocop-ruby2_7/compare/v1.0.3...v1.0.4
45
60
  [1.0.3]: https://github.com/rubocop-lts/rubocop-ruby2_7/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-ruby2_7][source]
3
+ Bug reports and pull requests are welcome on GitLab at [https://gitlab.com/rubocop-lts/rubocop-ruby2_7][🚎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-ruby2_7)][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-ruby2_7/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-ruby2_7/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-ruby2_7/
32
+ [conduct]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/blob/main/CODE_OF_CONDUCT.md
33
+ [🖐contributors]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/graphs/main
34
+ [🖐contributors-img]: https://img.shields.io/github/contributors-anon/rubocop-lts/rubocop-ruby2_7
35
+ [🚎src-main]: https://gitlab.com/rubocop-lts/rubocop-ruby2_7/-/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.
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 Ruby27
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-ruby2_7
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
- autorequire:
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
+ LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA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lcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
34
+ hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
35
+ 2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
36
+ gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
+ 4/bR9A==
38
+ -----END CERTIFICATE-----
39
+ date: 2022-12-19 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,21 +111,19 @@ files:
69
111
  - lib/rubocop/ruby2_7/version.rb
70
112
  - rubocop.yml
71
113
  - 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
114
  homepage: https://github.com/rubocop-lts/rubocop-ruby2_7
76
115
  licenses:
77
116
  - MIT
78
117
  metadata:
79
118
  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.5
81
- changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.0.5/CHANGELOG.md
119
+ source_code_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/tree/v1.1.0
120
+ changelog_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/blob/v1.1.0/CHANGELOG.md
82
121
  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.5
122
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby2_7/1.1.0
123
+ funding_uri: https://liberapay.com/pboling
84
124
  wiki_uri: https://github.com/rubocop-lts/rubocop-ruby2_7/wiki
85
125
  rubygems_mfa_required: 'true'
86
- post_install_message:
126
+ post_install_message:
87
127
  rdoc_options: []
88
128
  require_paths:
89
129
  - lib
@@ -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
102
- signing_key:
141
+ rubygems_version: 3.1.6
142
+ signing_key:
103
143
  specification_version: 4
104
144
  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
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::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"