rubocop-lts 11.0.2 → 12.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -82
- data/README.md +6 -6
- data/SECURITY.md +0 -11
- data/lib/rubocop/lts/version.rb +1 -1
- data/spec/config/rspec/rspec_core.rb +13 -0
- data/spec/rubocop/lts_spec.rb +7 -0
- data/spec/spec_helper.rb +7 -0
- metadata +17 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 51ca0f69a924686dd5736af53c97724d1ec2a10ed3cc492711d8c48c02c79121
|
4
|
+
data.tar.gz: 8dc267aff0d16c592d54641e2ac9dd2cf4b1db13dd8768af0479e5a9b6689601
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 658eda911567d4bf8683d7342d09e9ad6bac20cff72b4e8fb5eeacbb0a514487bc2922fdc064c246f1a5d5a14e99a0da841d3a338337e536ebf6d203f4f183c7
|
7
|
+
data.tar.gz: 5bd1af7d3c31c38d0b4b9feed31d70f8e10c6b2d2c2c782f47dc76eb54e3a5de6455e37d9d3dbdefd90a5d92b1adfe304d0e357581db8978a48582436ed56cd8
|
data/CHANGELOG.md
CHANGED
@@ -13,69 +13,34 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
13
13
|
|
14
14
|
### Removed
|
15
15
|
|
16
|
-
## [
|
16
|
+
## [12.0.0] - 2022-05-23
|
17
17
|
### Added
|
18
|
-
-
|
19
|
-
|
20
|
-
## 11.0.1 - 2022-06-09 (YANKED)
|
21
|
-
- accidentally removed required_ruby_version from gemspec
|
18
|
+
- Initial even release supporting Ruby >= 2.4
|
22
19
|
|
23
20
|
## [11.0.0] - 2022-05-23
|
24
21
|
### Added
|
25
22
|
- Initial odd release supporting Ruby ~> 2.4
|
26
23
|
|
27
|
-
## [10.0.1] - 2022-06-09
|
28
|
-
### Fixed
|
29
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
30
|
-
### Added
|
31
|
-
- Improve, and dry up documentation
|
32
|
-
|
33
24
|
## [10.0.0] - 2022-05-23
|
34
25
|
### Added
|
35
26
|
- Initial even release supporting Ruby >= 2.3
|
36
27
|
|
37
|
-
## [9.0.1] - 2022-06-09
|
38
|
-
### Added
|
39
|
-
- Improve, and dry up documentation
|
40
|
-
|
41
28
|
## [9.0.0] - 2022-05-23
|
42
29
|
### Added
|
43
30
|
- Initial odd release supporting Ruby ~> 2.3
|
44
31
|
|
45
|
-
## [8.0.2] - 2022-06-09
|
46
|
-
### Fixed
|
47
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
48
|
-
|
49
|
-
## [8.0.1] - 2022-06-09
|
50
|
-
### Added
|
51
|
-
- Improve, and dry up documentation
|
52
|
-
|
53
32
|
## [8.0.0] - 2022-05-23
|
54
33
|
### Added
|
55
34
|
- Initial even release supporting Ruby >= 2.2
|
56
35
|
|
57
|
-
## [7.0.1] - 2022-06-08
|
58
|
-
### Added
|
59
|
-
- Improve, and dry up documentation
|
60
|
-
|
61
36
|
## [7.0.0] - 2022-05-23
|
62
37
|
### Added
|
63
38
|
- Initial odd release supporting Ruby ~> 2.2
|
64
39
|
|
65
|
-
## [6.0.1] - 2022-06-08
|
66
|
-
### Fixed
|
67
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
68
|
-
### Added
|
69
|
-
- Improve, and dry up documentation
|
70
|
-
|
71
40
|
## [6.0.0] - 2022-05-23
|
72
41
|
### Added
|
73
42
|
- Initial even release supporting Ruby >= 2.1
|
74
43
|
|
75
|
-
## [5.0.2] - 2022-06-08
|
76
|
-
### Added
|
77
|
-
- Improve, and dry up documentation
|
78
|
-
|
79
44
|
## [5.0.1] - 2022-05-23
|
80
45
|
### Fixed
|
81
46
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -84,10 +49,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
84
49
|
### Added
|
85
50
|
- Initial odd release supporting Ruby ~> 2.1
|
86
51
|
|
87
|
-
## [4.0.3] - 2022-06-08
|
88
|
-
### Fixed
|
89
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
90
|
-
|
91
52
|
## [4.0.2] - 2022-05-23
|
92
53
|
### Fixed
|
93
54
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -101,10 +62,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
101
62
|
### Added
|
102
63
|
- Initial even release supporting Ruby >= 2.0
|
103
64
|
|
104
|
-
## [3.0.3] - 2022-06-08
|
105
|
-
### Added
|
106
|
-
- Improve, and dry up documentation
|
107
|
-
|
108
65
|
## [3.0.2] - 2022-05-23
|
109
66
|
### Fixed
|
110
67
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -118,14 +75,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
118
75
|
### Added
|
119
76
|
- Initial odd release supporting Ruby ~> 2.0
|
120
77
|
|
121
|
-
## [2.0.5] - 2022-06-08
|
122
|
-
### Added
|
123
|
-
- Improve, and dry up documentation
|
124
|
-
|
125
|
-
## [2.0.4] - 2022-06-08
|
126
|
-
### Fixed
|
127
|
-
- Allow install up to Ruby < 4, which allows running against current Ruby HEAD @ 3.2-dev
|
128
|
-
|
129
78
|
## [2.0.3] - 2022-05-23
|
130
79
|
### Fixed
|
131
80
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -144,11 +93,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
144
93
|
### Added
|
145
94
|
- Initial even release supporting Ruby >= 1.9
|
146
95
|
|
147
|
-
## [1.0.4] - 2022-06-08
|
148
|
-
### Added
|
149
|
-
- Security Policy @ SECURITY.md
|
150
|
-
- Improve, and dry up documentation
|
151
|
-
|
152
96
|
## [1.0.3] - 2022-05-23
|
153
97
|
### Fixed
|
154
98
|
- Make rubocop config files load ruby specific config from relevant rubocop-ruby*_* gem
|
@@ -167,38 +111,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
167
111
|
### Added
|
168
112
|
- Initial odd release supporting Ruby ~> 1.9
|
169
113
|
|
170
|
-
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/
|
171
|
-
[
|
172
|
-
[11.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.
|
173
|
-
[10.0.
|
174
|
-
[
|
175
|
-
[
|
176
|
-
[
|
177
|
-
[
|
178
|
-
[8.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.0...v8.0.1
|
179
|
-
[8.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.1...v8.0.0
|
180
|
-
[7.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.0...v7.0.1
|
181
|
-
[7.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.1...v7.0.0
|
182
|
-
[6.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.0...v6.0.1
|
183
|
-
[6.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.2...v6.0.0
|
184
|
-
[5.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.1...v5.0.2
|
114
|
+
[Unreleased]: https://github.com/rubocop-lts/rubocop-lts/compare/v12.0.0...HEAD
|
115
|
+
[12.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v11.0.0...v12.0.0
|
116
|
+
[11.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v10.0.0...v11.0.0
|
117
|
+
[10.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v9.0.0...v10.0.0
|
118
|
+
[9.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v8.0.0...v9.0.0
|
119
|
+
[8.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v7.0.0...v8.0.0
|
120
|
+
[7.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v6.0.0...v7.0.0
|
121
|
+
[6.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.1...v6.0.0
|
185
122
|
[5.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v5.0.0...v5.0.1
|
186
|
-
[5.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.
|
187
|
-
[4.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v4.0.3
|
123
|
+
[5.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.2...v5.0.0
|
188
124
|
[4.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.1...v4.0.2
|
189
125
|
[4.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v4.0.0...v4.0.1
|
190
|
-
[4.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.
|
191
|
-
[3.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.2...v3.0.3
|
126
|
+
[4.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.2...v4.0.0
|
192
127
|
[3.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.1...v3.0.2
|
193
128
|
[3.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v3.0.0...v3.0.1
|
194
|
-
[3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.
|
195
|
-
[2.0.5]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.4...v2.0.5
|
196
|
-
[2.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v2.0.4
|
129
|
+
[3.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.3...v3.0.0
|
197
130
|
[2.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.2...v2.0.3
|
198
131
|
[2.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.1...v2.0.2
|
199
132
|
[2.0.1]: https://github.com/rubocop-lts/rubocop-lts/compare/v2.0.0...v2.0.1
|
200
|
-
[2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.
|
201
|
-
[1.0.4]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v1.0.4
|
133
|
+
[2.0.0]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.3...v2.0.0
|
202
134
|
[1.0.3]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.2...v1.0.3
|
203
135
|
[1.0.2]: https://github.com/rubocop-lts/rubocop-lts/compare/v1.0.1...v1.0.2
|
204
136
|
[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
|
-
#
|
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
|
38
|
+
**This README is for the even release of `rubocop-lts` supporting Ruby >= 2.4.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
|
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', '~>
|
205
|
+
gem 'rubocop-lts', '~> 12.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
|
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", "~>
|
332
|
+
spec.add_dependency "rubocop-lts", "~> 12.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
|
|
data/lib/rubocop/lts/version.rb
CHANGED
@@ -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
|
data/spec/spec_helper.rb
ADDED
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:
|
4
|
+
version: 12.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-
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop-ruby2_4
|
@@ -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/
|
50
|
-
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/
|
52
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v12.0.0
|
53
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v12.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/
|
55
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/12.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
|
@@ -63,15 +66,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
63
66
|
version: 2.4.0
|
64
67
|
- - "<"
|
65
68
|
- !ruby/object:Gem::Version
|
66
|
-
version: '2
|
69
|
+
version: '3.2'
|
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.
|
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
|