rubocop-lts 12.0.1 → 13.0.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: 7bb8a135ad36d0240df6499b92d1de40a6af4fe47803d93346df0456fc850d14
4
- data.tar.gz: 67e390be035f2e8f21fe3c67f5ff7527284e76c6bbe808fcd9569acc4cbf8bbd
3
+ metadata.gz: f2a71a12caf3ec0368cfbf476589600e48a40b516dcc713429e856fbeba01704
4
+ data.tar.gz: d529e1e5b87ab7d09ff171937e9de089120ab140025a84c4f8de550e4bb9cf2a
5
5
  SHA512:
6
- metadata.gz: e9552e5141f7fe8da6a4398df61ff82d4e8d8e71ba60d8b0f97bef5a583701f7ac44c3e8f60e7d0890813bcca89c53b12febb6fdc4e04b1624d0b7f0cb8ab707
7
- data.tar.gz: b623f924ddb80db7e02228651c1fa59f5b8df0ea5838daddbad681c4b790b1e92534f22842c582af391796cbf0b9c291aa3293da26c42ab42fb90a8828351922
6
+ metadata.gz: 20705517973b2c4a86b4713af165a08d60ac602bf1cddffd3b7b48e07c5d22a2f3240ddd168e3aa7595ca8695b99d0b5045e072ace65da34f0fe56845e13784e
7
+ data.tar.gz: a1f24b722fa3cab0236009fad5794ac608b3b57ea19e37fe64caa86bb04de0ed7e2fec2e6a0a858fed912675af48416e295db09c6990b9e38f0a2ae526ba8bbd
data/CHANGELOG.md CHANGED
@@ -13,79 +13,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
 
14
14
  ### Removed
15
15
 
16
- ## [12.0.1] - 2022-06-09
17
- ### Fixed
18
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
16
+ ## [13.0.0] - 2022-05-23
19
17
  ### Added
20
- - Improve, and dry up documentation
18
+ - Initial odd release supporting Ruby ~> 2.4
21
19
 
22
20
  ## [12.0.0] - 2022-05-23
23
21
  ### Added
24
22
  - Initial even release supporting Ruby >= 2.4
25
23
 
26
- ## [11.0.2] - 2022-06-09
27
- ### Added
28
- - Improve, and dry up documentation
29
-
30
- ## 11.0.1 - 2022-06-09 (YANKED)
31
- - accidentally removed required_ruby_version from gemspec
32
-
33
24
  ## [11.0.0] - 2022-05-23
34
25
  ### Added
35
26
  - Initial odd release supporting Ruby ~> 2.4
36
27
 
37
- ## [10.0.1] - 2022-06-09
38
- ### Fixed
39
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
40
- ### Added
41
- - Improve, and dry up documentation
42
-
43
28
  ## [10.0.0] - 2022-05-23
44
29
  ### Added
45
30
  - Initial even release supporting Ruby >= 2.3
46
31
 
47
- ## [9.0.1] - 2022-06-09
48
- ### Added
49
- - Improve, and dry up documentation
50
-
51
32
  ## [9.0.0] - 2022-05-23
52
33
  ### Added
53
34
  - Initial odd release supporting Ruby ~> 2.3
54
35
 
55
- ## [8.0.2] - 2022-06-09
56
- ### Fixed
57
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
58
-
59
- ## [8.0.1] - 2022-06-09
60
- ### Added
61
- - Improve, and dry up documentation
62
-
63
36
  ## [8.0.0] - 2022-05-23
64
37
  ### Added
65
38
  - Initial even release supporting Ruby >= 2.2
66
39
 
67
- ## [7.0.1] - 2022-06-08
68
- ### Added
69
- - Improve, and dry up documentation
70
-
71
40
  ## [7.0.0] - 2022-05-23
72
41
  ### Added
73
42
  - Initial odd release supporting Ruby ~> 2.2
74
43
 
75
- ## [6.0.1] - 2022-06-08
76
- ### Fixed
77
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
78
- ### Added
79
- - Improve, and dry up documentation
80
-
81
44
  ## [6.0.0] - 2022-05-23
82
45
  ### Added
83
46
  - Initial even release supporting Ruby >= 2.1
84
47
 
85
- ## [5.0.2] - 2022-06-08
86
- ### Added
87
- - Improve, and dry up documentation
88
-
89
48
  ## [5.0.1] - 2022-05-23
90
49
  ### Fixed
91
50
  - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
@@ -94,10 +53,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
94
53
  ### Added
95
54
  - Initial odd release supporting Ruby ~> 2.1
96
55
 
97
- ## [4.0.3] - 2022-06-08
98
- ### Fixed
99
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
100
-
101
56
  ## [4.0.2] - 2022-05-23
102
57
  ### Fixed
103
58
  - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
@@ -111,10 +66,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
111
66
  ### Added
112
67
  - Initial even release supporting Ruby >= 2.0
113
68
 
114
- ## [3.0.3] - 2022-06-08
115
- ### Added
116
- - Improve, and dry up documentation
117
-
118
69
  ## [3.0.2] - 2022-05-23
119
70
  ### Fixed
120
71
  - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
@@ -128,14 +79,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
128
79
  ### Added
129
80
  - Initial odd release supporting Ruby ~> 2.0
130
81
 
131
- ## [2.0.5] - 2022-06-08
132
- ### Added
133
- - Improve, and dry up documentation
134
-
135
- ## [2.0.4] - 2022-06-08
136
- ### Fixed
137
- - Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
138
-
139
82
  ## [2.0.3] - 2022-05-23
140
83
  ### Fixed
141
84
  - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
@@ -154,11 +97,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
154
97
  ### Added
155
98
  - Initial even release supporting Ruby >= 1.9
156
99
 
157
- ## [1.0.4] - 2022-06-08
158
- ### Added
159
- - Security Policy @ SECURITY.md
160
- - Improve, and dry up documentation
161
-
162
100
  ## [1.0.3] - 2022-05-23
163
101
  ### Fixed
164
102
  - Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
@@ -177,40 +115,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
177
115
  ### Added
178
116
  - Initial odd release supporting Ruby ~> 1.9
179
117
 
180
- [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.1...HEAD
181
- [12.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.0...v12.0.1
182
- [12.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.2...v12.0.0
183
- [11.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.0...v11.0.2
184
- [11.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.1...v11.0.0
185
- [10.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.0...v10.0.1
186
- [10.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.1...v10.0.0
187
- [9.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.0...v9.0.1
188
- [9.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.2...v9.0.0
189
- [8.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.1...v8.0.2
190
- [8.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.0...v8.0.1
191
- [8.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.1...v8.0.0
192
- [7.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.0...v7.0.1
193
- [7.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.1...v7.0.0
194
- [6.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.0...v6.0.1
195
- [6.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.2...v6.0.0
196
- [5.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.1...v5.0.2
118
+ [Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v13.0.0...HEAD
119
+ [13.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.0...v13.0.0
120
+ [12.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.0...v12.0.0
121
+ [11.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.0...v11.0.0
122
+ [10.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.0...v10.0.0
123
+ [9.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.0...v9.0.0
124
+ [8.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.0...v8.0.0
125
+ [7.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.0...v7.0.0
126
+ [6.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.1...v6.0.0
197
127
  [5.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.0...v5.0.1
198
- [5.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.3...v5.0.0
199
- [4.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v4.0.3
128
+ [5.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v5.0.0
200
129
  [4.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.1...v4.0.2
201
130
  [4.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.0...v4.0.1
202
- [4.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.3...v4.0.0
203
- [3.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.2...v3.0.3
131
+ [4.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.2...v4.0.0
204
132
  [3.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.1...v3.0.2
205
133
  [3.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.0...v3.0.1
206
- [3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.5...v3.0.0
207
- [2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
208
- [2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
134
+ [3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v3.0.0
209
135
  [2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
210
136
  [2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
211
137
  [2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
212
- [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.4...v2.0.0
213
- [1.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v1.0.4
138
+ [2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v2.0.0
214
139
  [1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
215
140
  [1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
216
141
  [1.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.0...v1.0.1
data/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  </a>
17
17
  </p>
18
18
 
19
- # RuboCop LTS
19
+ # Rubocop LTS
20
20
 
21
21
  ## 🙋‍♀️ How often has RuboCop broken your build?
22
22
 
@@ -35,7 +35,7 @@ Projects that support a single version of Ruby (like many closed-source applicat
35
35
  Projects that support multiple versions of Ruby simultaneously (like many open-source applications and libraries) will use the [Even releases][even-release].
36
36
 
37
37
  <!-- FIND VERSION -->
38
- **This README is for the even release of `rubocop-lts` supporting Ruby >= 2.4.0.**
38
+ **This README is for the odd release of `rubocop-lts` supporting Ruby ~> 2.5.0.**
39
39
 
40
40
  [odd-release]: https://github.com/rubocop-lts/rubocop-lts#odd-major-release
41
41
  [even-release]: https://github.com/rubocop-lts/rubocop-lts#even-major-release
@@ -91,7 +91,7 @@ of ruby from `2.6` on.
91
91
 
92
92
  Intended for applications and libraries that lint against a range of Ruby versions.
93
93
 
94
- Even versions will help projects upgrade to newer Rubies while keeping the same underlying version of RuboCop version, so change can be introduced one step at a time.
94
+ Even versions will help projects upgrade to newer Rubies while keeping the same underlying version of Rubocop version, so change can be introduced one step at a time.
95
95
 
96
96
  | Minimum Ruby | Your Gemfile | Your Gemfile.lock | Your .rubocop.yml |
97
97
  |-----------------------------------|--------------------------------|-------------------|------------------------------------------------|
@@ -202,7 +202,7 @@ Add this line to your application's Gemfile:
202
202
 
203
203
  <!-- FIND VERSION -->
204
204
  ```ruby
205
- gem 'rubocop-lts', '~> 12.0', require: false
205
+ gem 'rubocop-lts', '~> 13.0', require: false
206
206
  ```
207
207
 
208
208
  And then execute:
@@ -313,7 +313,7 @@ License: [Unsplash License][org-logo-license]
313
313
 
314
314
  ## 🤝 Code of Conduct
315
315
 
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).
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
 
@@ -329,7 +329,7 @@ For example:
329
329
 
330
330
  <!-- FIND VERSION -->
331
331
  ```ruby
332
- spec.add_dependency "rubocop-lts", "~> 12.0"
332
+ spec.add_dependency "rubocop-lts", "~> 13.0"
333
333
  ```
334
334
 
335
335
 
data/SECURITY.md CHANGED
@@ -15,17 +15,6 @@
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: |
29
18
 
30
19
  ## Reporting a Vulnerability
31
20
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Lts
5
- VERSION = "12.0.1"
5
+ VERSION = "13.0.0"
6
6
  end
7
7
  end
data/rubocop-lts.yml CHANGED
@@ -1,2 +1,2 @@
1
1
  inherit_gem:
2
- rubocop-ruby2_4: rubocop.yml
2
+ rubocop-ruby2_5: rubocop.yml
@@ -0,0 +1,13 @@
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
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ RSpec.describe Rubocop::Lts do
4
+ it "has a version number" do
5
+ expect(Rubocop::Lts::VERSION).not_to be nil
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This gem
4
+ require "rubocop/lts"
5
+
6
+ # RSpec Configs
7
+ require "config/rspec/rspec_core"
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.0.1
4
+ version: 13.0.0
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-06-09 00:00:00.000000000 Z
11
+ date: 2022-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rubocop-ruby2_4
14
+ name: rubocop-ruby2_5
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -41,18 +41,21 @@ files:
41
41
  - lib/rubocop/lts/version.rb
42
42
  - rubocop-lts.yml
43
43
  - sig/rubocop/lts.rbs
44
+ - spec/config/rspec/rspec_core.rb
45
+ - spec/rubocop/lts_spec.rb
46
+ - spec/spec_helper.rb
44
47
  homepage: https://github.com/rubocop-lts/rubocop-lts
45
48
  licenses:
46
49
  - MIT
47
50
  metadata:
48
51
  homepage_uri: https://github.com/rubocop-lts/rubocop-lts
49
- source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v12.0.1
50
- changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v12.0.1/CHANGELOG.md
52
+ source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v13.0.0
53
+ changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v13.0.0/CHANGELOG.md
51
54
  bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
52
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/12.0.1
55
+ documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/13.0.0
53
56
  wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
54
57
  rubygems_mfa_required: 'true'
55
- post_install_message:
58
+ post_install_message:
56
59
  rdoc_options: []
57
60
  require_paths:
58
61
  - lib
@@ -60,18 +63,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
63
  requirements:
61
64
  - - ">="
62
65
  - !ruby/object:Gem::Version
63
- version: 2.4.0
66
+ version: 2.5.0
64
67
  - - "<"
65
68
  - !ruby/object:Gem::Version
66
- version: '4.0'
69
+ version: '2.6'
67
70
  required_rubygems_version: !ruby/object:Gem::Requirement
68
71
  requirements:
69
72
  - - ">="
70
73
  - !ruby/object:Gem::Version
71
74
  version: '0'
72
75
  requirements: []
73
- rubygems_version: 3.3.15
74
- signing_key:
76
+ rubygems_version: 3.3.14
77
+ signing_key:
75
78
  specification_version: 4
76
79
  summary: Rubocop LTS - Semantically Versioned
77
- test_files: []
80
+ test_files:
81
+ - spec/spec_helper.rb
82
+ - spec/config/rspec/rspec_core.rb
83
+ - spec/rubocop/lts_spec.rb