rubocop-lts 2.0.1 → 2.0.4

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: e6dc534bb647c65f54e1dbe7188a2c1e7e7e5f0bd4181333ccbc8d6a9ecb9539
4
- data.tar.gz: e34581d6578d54032d38b0c43c57e0041a4b1c804e0d332b7da94f7e3251aad0
3
+ metadata.gz: 6c78a6c2af3bb01fc344da37dade192659ba1eb35eb0d0de7fb150e9f4ea2ea9
4
+ data.tar.gz: 7d9d5202d81614a98d4f0b610f5b890cee8b4b712e684934597604d716629312
5
5
  SHA512:
6
- metadata.gz: bd6de6221878d022f986e5da3a5c9a344d6de91cf39e5139ff42ce6d0ef711d32d12d0360605c54ad7b4089bbded868d38dcf88aaaee20a59d93c52fdae72b84
7
- data.tar.gz: 0c9318e1968ddeca2e2af10d72bb3cfa20ec78d4cff841f1fd90a30851518a52dff3cb93e1bf450b984397c66b1f490b40eb76ba48ed6e0df208a82d948d1a24
6
+ metadata.gz: cb676db3c9a3a538ff01850e73c72a55d092589a186bf30c6b69ed67d2d1638a5aebd7a26c3e90b136a27cc767bea0a0862a6f961acb91ad73e445c4315f9eaa
7
+ data.tar.gz: 51e68fa57a6a1faab9df95ab640cb1e7e8bbe20f1bc3de5f770448857ecf1b70c765dbca25cbeb1eb22004de07aef099b925ca3b144ccc0fe2639678416d6b47
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
+ ## [2.0.4] - 2022-06-08
17
+ ### Fixed
18
+ - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
19
+
20
+ ## [2.0.3] - 2022-05-23
21
+ ### Fixed
22
+ - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
23
+
24
+ ## [2.0.2] - 2022-05-23
25
+ ### Fixed
26
+ - Ship rubocop config files in gem
27
+ - rubocop-lts.yml
28
+ - rubocop-lts1_8.yml
29
+
16
30
  ## [2.0.1] - 2022-05-22
17
31
  ### Fixed
18
32
  - Documentation typos & gemspec URLs
@@ -21,6 +35,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
21
35
  ### Added
22
36
  - Initial even release supporting Ruby >= 1.9
23
37
 
38
+ ## [1.0.3] - 2022-05-23
39
+ ### Fixed
40
+ - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
41
+
42
+ ## [1.0.2] - 2022-05-23
43
+ ### Fixed
44
+ - Ship rubocop config files in gem
45
+ - rubocop-lts.yml
46
+ - rubocop-lts1_8.yml
47
+
24
48
  ## [1.0.1] - 2022-05-22
25
49
  ### Fixed
26
50
  - Documentation typos & gemspec URLs
@@ -29,7 +53,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
53
  ### Added
30
54
  - Initial odd release supporting Ruby ~> 1.9
31
55
 
32
- [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...HEAD
33
- [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v2.0.0
56
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...HEAD
57
+ [2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
58
+ [2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
59
+ [2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
60
+ [2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
61
+ [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v2.0.0
62
+ [1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
63
+ [1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
34
64
  [1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
35
65
  [1.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/f0fcf8e7dbb4d884a01c7191e7f26ef8bf3b22af...v1.0.0
data/README.md CHANGED
@@ -118,7 +118,7 @@ Each major version will have a tracking branch named accordingly, [for developme
118
118
 
119
119
  ### 🪢 How To Untie Gorgon's Knot
120
120
 
121
- > NOTE: `rubocop-lts` is under active development, and hasn't had any releases yet. The ruby specific versions, e.g. `rubocop-ruby2_7`, are complete already, and you can use them! Keep scrolling down for links to each of them.
121
+ > NOTE: The ruby specific versions, e.g. `rubocop-ruby2_7`, can be used if you won't be upgrading ruby. Keep scrolling down for links to each of them.
122
122
 
123
123
  How to upgrade a project from yesterday, to today.
124
124
 
@@ -289,7 +289,7 @@ the [MIT License][license] [![License: MIT](https://img.shields.io/badge/License
289
289
  See [LICENSE][license] for the official [Copyright Notice][copyright-notice-explainer].
290
290
 
291
291
  <details>
292
- <summary>Project Logos (rubocop-ruby3_1)</summary>
292
+ <summary>Project Logos (rubocop-lts)</summary>
293
293
 
294
294
  See [docs/images/logo/README.txt][project-logos]
295
295
  </details>
@@ -302,7 +302,7 @@ Source: [Unsplash][org-logo-source]
302
302
  License: [Unsplash License][org-logo-license]
303
303
  </details>
304
304
 
305
- [project-logos]: https://github.com/rubocop-lts/rubocop-ruby3_1/blob/main/docs/images/logo/README.txt
305
+ [project-logos]: https://github.com/rubocop-lts/rubocop-lts/blob/main/docs/images/logo/README.txt
306
306
  [org-logo-author]: https://unsplash.com/@yusufevli
307
307
  [org-logo-source]: https://unsplash.com/photos/yaSLNLtKRIU
308
308
  [org-logo-license]: https://unsplash.com/license
@@ -313,7 +313,7 @@ License: [Unsplash License][org-logo-license]
313
313
 
314
314
  ## 🤝 Code of Conduct
315
315
 
316
- Everyone interacting in the Rubocop::Ruby19 project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-lts/blob/main/CODE_OF_CONDUCT.md).
316
+ Everyone interacting in Rubocop LTS codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/rubocop-lts/rubocop-lts/blob/main/CODE_OF_CONDUCT.md).
317
317
 
318
318
  ## 📌 Versioning
319
319
 
data/SECURITY.md CHANGED
@@ -15,6 +15,17 @@
15
15
  | 9.x | :white_check_mark: |
16
16
  | 10.x | :white_check_mark: |
17
17
  | 11.x | :white_check_mark: |
18
+ | 12.x | :white_check_mark: |
19
+ | 13.x | :white_check_mark: |
20
+ | 14.x | :white_check_mark: |
21
+ | 15.x | :white_check_mark: |
22
+ | 16.x | :white_check_mark: |
23
+ | 17.x | :white_check_mark: |
24
+ | 18.x | :white_check_mark: |
25
+ | 19.x | :white_check_mark: |
26
+ | 20.x | :white_check_mark: |
27
+ | 21.x | :white_check_mark: |
28
+ | 22.x | :white_check_mark: |
18
29
 
19
30
  ## Reporting a Vulnerability
20
31
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Rubocop
5
5
  module Lts
6
- VERSION = "2.0.1".freeze
6
+ VERSION = "2.0.4".freeze
7
7
  end
8
8
  end
data/rubocop-lts.yml ADDED
@@ -0,0 +1,19 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop.yml
3
+
4
+ # Removed as of 0.80.0
5
+ # braces setting is for compatibility with Ruby 2.7+
6
+ # See:
7
+ # * https://github.com/rubocop/rubocop/issues/7641
8
+ # * https://github.com/rubocop/rubocop/pull/7643
9
+ Style/BracesAroundHashParameters:
10
+ Enabled: true
11
+ EnforcedStyle: context_dependent
12
+
13
+ # The encoding comments can be removed once the project drops Ruby 1.9 support (and this gem!).
14
+ # Whole file UTF-8 Encoding is default in Ruby 2+, so the Encoding comment is usually not needed there.
15
+ # See:
16
+ # * https://www.rubydoc.info/gems/rubocop/0.49.0/RuboCop/Cop/Style/Encoding
17
+ Style/Encoding:
18
+ Enabled: true
19
+ EnforcedStyle: always
@@ -0,0 +1,34 @@
1
+ inherit_gem:
2
+ rubocop-ruby1_9: rubocop-ruby1_8.yml
3
+
4
+ ###################################################################
5
+ # Rules that allow preservation of ruby 1.8.7 / ree compatibility #
6
+ ###################################################################
7
+
8
+ Style/Documentation:
9
+ Enabled: false
10
+
11
+ # Ruby 1.8.7 needs the . on chain of method calls at the end of a line
12
+ Style/DotPosition:
13
+ EnforcedStyle: trailing
14
+
15
+ Style/FrozenStringLiteralComment:
16
+ Enabled: true
17
+
18
+ # Ruby 1.8.7 doesn't have 1.9 style hash syntax
19
+ Style/HashSyntax:
20
+ EnforcedStyle: hash_rockets
21
+
22
+ # Ruby 1.8.7 doesn't have the -> lambda
23
+ Style/Lambda:
24
+ Enabled: false
25
+
26
+ Style/PercentLiteralDelimiters:
27
+ Enabled: false
28
+
29
+ Style/SymbolArray:
30
+ EnforcedStyle: brackets
31
+
32
+ Style/WordArray:
33
+ EnforcedStyle: brackets
34
+
data/spec/spec_helper.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  # This gem
5
- require "rubocop/ruby1_9"
5
+ require "rubocop/lts"
6
6
 
7
7
  # RSpec Configs
8
8
  require "config/rspec/rspec_core"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-22 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-ruby1_9
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.3
19
+ version: 1.0.5
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.0.3
26
+ version: 1.0.5
27
27
  description: Rubocop LTS - Chaos Reduction In a Bottle
28
28
  email:
29
29
  - peter.boling@gmail.com
@@ -39,6 +39,8 @@ files:
39
39
  - SECURITY.md
40
40
  - lib/rubocop/lts.rb
41
41
  - lib/rubocop/lts/version.rb
42
+ - rubocop-lts.yml
43
+ - rubocop-lts1_8.yml
42
44
  - sig/rubocop/lts.rbs
43
45
  - spec/config/rspec/rspec_core.rb
44
46
  - spec/rubocop/lts_spec.rb
@@ -48,13 +50,13 @@ licenses:
48
50
  - MIT
49
51
  metadata:
50
52
  homepage_uri: https://github.com/rubocop-lts/rubocop-lts
51
- source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v2.0.1
52
- changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v2.0.1/CHANGELOG.md
53
+ source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v2.0.4
54
+ changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v2.0.4/CHANGELOG.md
53
55
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
54
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.0.1
56
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/2.0.4
55
57
  wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
56
58
  rubygems_mfa_required: 'true'
57
- post_install_message:
59
+ post_install_message:
58
60
  rdoc_options: []
59
61
  require_paths:
60
62
  - lib
@@ -65,18 +67,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
67
  version: 1.9.0
66
68
  - - "<"
67
69
  - !ruby/object:Gem::Version
68
- version: '3.2'
70
+ version: '4.0'
69
71
  required_rubygems_version: !ruby/object:Gem::Requirement
70
72
  requirements:
71
73
  - - ">="
72
74
  - !ruby/object:Gem::Version
73
75
  version: '0'
74
76
  requirements: []
75
- rubygems_version: 3.3.14
76
- signing_key:
77
+ rubygems_version: 3.3.15
78
+ signing_key:
77
79
  specification_version: 4
78
80
  summary: Rubocop LTS - Semantically Versioned
79
81
  test_files:
80
- - spec/spec_helper.rb
81
82
  - spec/config/rspec/rspec_core.rb
82
83
  - spec/rubocop/lts_spec.rb
84
+ - spec/spec_helper.rb