rubocop-lts 4.2.0 → 5.0.0
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 +4 -4
- data/CHANGELOG.md +47 -25
- data/CODE_OF_CONDUCT.md +0 -0
- data/CONTRIBUTING.md +12 -26
- data/LICENSE.txt +0 -0
- data/README.md +337 -198
- data/SECURITY.md +13 -31
- data/lib/rubocop/lts/version.rb +1 -3
- data/lib/rubocop/lts.rb +1 -12
- data/rubocop-lts.yml +8 -15
- data/sig/rubocop/lts.rbs +2 -4
- 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 +31 -170
- checksums.yaml.gz.sig +0 -0
- data/config/base.yml +0 -2
- data/config/rails.yml +0 -4
- data/config/rails_rspec.yml +0 -5
- data/config/rspec.yml +0 -4
- data/config/ruby.yml +0 -4
- data/config/ruby_rspec.yml +0 -5
- data/config/rubygem.yml +0 -4
- data/config/rubygem_rspec.yml +0 -5
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
data/SECURITY.md
CHANGED
|
@@ -2,37 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
## Supported Versions
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
|
10
|
-
|
|
11
|
-
|
|
|
12
|
-
|
|
|
13
|
-
|
|
|
14
|
-
|
|
|
15
|
-
|
|
|
16
|
-
|
|
|
17
|
-
|
|
|
18
|
-
| 7.latest | ❌ |
|
|
19
|
-
| 8.latest | ✅ |
|
|
20
|
-
| 9.latest | ❌ |
|
|
21
|
-
| 10.latest | ✅ |
|
|
22
|
-
| 11.latest | ❌ |
|
|
23
|
-
| 12.latest | ✅ |
|
|
24
|
-
| 13.latest | ❌ |
|
|
25
|
-
| 14.latest | ✅ |
|
|
26
|
-
| 15.latest | ❌ |
|
|
27
|
-
| 16.latest | ✅ |
|
|
28
|
-
| 17.latest | ❌ |
|
|
29
|
-
| 18.latest | ✅ |
|
|
30
|
-
| 19.latest | ❌ |
|
|
31
|
-
| 20.latest | ✅ |
|
|
32
|
-
| 21.latest | ❌ |
|
|
33
|
-
| 22.latest | ✅ |
|
|
34
|
-
| 23.latest | ❌ |
|
|
35
|
-
| 24.latest | ✅ |
|
|
5
|
+
| Version | Supported |
|
|
6
|
+
|---------|--------------------|
|
|
7
|
+
| 1.x | :white_check_mark: |
|
|
8
|
+
| 2.x | :white_check_mark: |
|
|
9
|
+
| 3.x | :white_check_mark: |
|
|
10
|
+
| 4.x | :white_check_mark: |
|
|
11
|
+
| 5.x | :white_check_mark: |
|
|
12
|
+
| 6.x | :white_check_mark: |
|
|
13
|
+
| 7.x | :white_check_mark: |
|
|
14
|
+
| 8.x | :white_check_mark: |
|
|
15
|
+
| 9.x | :white_check_mark: |
|
|
16
|
+
| 10.x | :white_check_mark: |
|
|
17
|
+
| 11.x | :white_check_mark: |
|
|
36
18
|
|
|
37
19
|
## Reporting a Vulnerability
|
|
38
20
|
|
data/lib/rubocop/lts/version.rb
CHANGED
data/lib/rubocop/lts.rb
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# external libs
|
|
4
|
-
require "version_gem"
|
|
5
|
-
require "rubocop/ruby2_0"
|
|
6
|
-
|
|
7
3
|
require_relative "lts/version"
|
|
8
4
|
|
|
9
5
|
module Rubocop
|
|
10
6
|
module Lts
|
|
11
7
|
class Error < StandardError; end
|
|
12
|
-
|
|
13
|
-
module_function def install_tasks
|
|
14
|
-
Rubocop::Ruby20.install_tasks
|
|
15
|
-
end
|
|
8
|
+
# Your code goes here...
|
|
16
9
|
end
|
|
17
10
|
end
|
|
18
|
-
|
|
19
|
-
Rubocop::Lts::Version.class_eval do
|
|
20
|
-
extend VersionGem::Basic
|
|
21
|
-
end
|
data/rubocop-lts.yml
CHANGED
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
#
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
#
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
# # rubocop-lts: config/ruby_rspec.yml # or config/ruby.yml w/o rspec
|
|
10
|
-
# # rubocop-lts: config/rubygem_rspec.yml # or config/rubygem.yml w/o rspec
|
|
11
|
-
# # Convention over configuration, hence loading this file just only Ruby and RSpec defaults:
|
|
12
|
-
# rubocop-lts: rubocop-lts.yml # for the ruby + rspec
|
|
13
|
-
|
|
14
|
-
inherit_from:
|
|
15
|
-
- config/ruby_rspec.yml
|
|
1
|
+
# Removed as of 0.80.0
|
|
2
|
+
# braces setting is for compatibility with Ruby 2.7+
|
|
3
|
+
# See:
|
|
4
|
+
# * https://github.com/rubocop/rubocop/issues/7641
|
|
5
|
+
# * https://github.com/rubocop/rubocop/pull/7643
|
|
6
|
+
Style/BracesAroundHashParameters:
|
|
7
|
+
Enabled: true
|
|
8
|
+
EnforcedStyle: context_dependent
|
data/sig/rubocop/lts.rbs
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,171 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-lts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 5.0.0
|
|
5
5
|
platform: ruby
|
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Gnl3yGkZj9SMTlo9qnTMiPmuWKQDatAgMBAAGj
|
|
25
|
-
fzB9MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBQE8uWvNbPVNRXZ
|
|
26
|
-
HlgPbc2PCzC4bjAhBgNVHREEGjAYgRZwZXRlci5ib2xpbmdAZ21haWwuY29tMCEG
|
|
27
|
-
A1UdEgQaMBiBFnBldGVyLmJvbGluZ0BnbWFpbC5jb20wDQYJKoZIhvcNAQELBQAD
|
|
28
|
-
ggGBAJbnUwfJQFPkBgH9cL7hoBfRtmWiCvdqdjeTmi04u8zVNCUox0A4gT982DE9
|
|
29
|
-
wmuN12LpdajxZONqbXuzZvc+nb0StFwmFYZG6iDwaf4BPywm2e/Vmq0YG45vZXGR
|
|
30
|
-
L8yMDSK1cQXjmA+ZBKOHKWavxP6Vp7lWvjAhz8RFwqF9GuNIdhv9NpnCAWcMZtpm
|
|
31
|
-
GUPyIWw/Cw/2wZp74QzZj6Npx+LdXoLTF1HMSJXZ7/pkxLCsB8m4EFVdb/IrW/0k
|
|
32
|
-
kNSfjtAfBHO8nLGuqQZVH9IBD1i9K6aSs7pT6TW8itXUIlkIUI2tg5YzW6OFfPzq
|
|
33
|
-
QekSkX3lZfY+HTSp/o+YvKkqWLUV7PQ7xh1ZYDtocpaHwgxe/j3bBqHE+CUPH2vA
|
|
34
|
-
0V/FwdTRWcwsjVoOJTrYcff8pBZ8r2MvtAc54xfnnhGFzeRHfcltobgFxkAXdE6p
|
|
35
|
-
DVjBtqT23eugOqQ73umLcYDZkc36vnqGxUBSsXrzY9pzV5gGr2I8YUxMqf6ATrZt
|
|
36
|
-
L9nRqA==
|
|
37
|
-
-----END CERTIFICATE-----
|
|
38
|
-
date: 1980-01-02 00:00:00.000000000 Z
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
|
39
12
|
dependencies:
|
|
40
13
|
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: rubocop-
|
|
42
|
-
requirement: !ruby/object:Gem::Requirement
|
|
43
|
-
requirements:
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
version: 3.0.0
|
|
47
|
-
- - "<"
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: '4'
|
|
50
|
-
type: :runtime
|
|
51
|
-
prerelease: false
|
|
52
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
53
|
-
requirements:
|
|
54
|
-
- - ">="
|
|
55
|
-
- !ruby/object:Gem::Version
|
|
56
|
-
version: 3.0.0
|
|
57
|
-
- - "<"
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: '4'
|
|
60
|
-
- !ruby/object:Gem::Dependency
|
|
61
|
-
name: standard-rubocop-lts
|
|
62
|
-
requirement: !ruby/object:Gem::Requirement
|
|
63
|
-
requirements:
|
|
64
|
-
- - ">="
|
|
65
|
-
- !ruby/object:Gem::Version
|
|
66
|
-
version: 2.0.2
|
|
67
|
-
- - "<"
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3'
|
|
70
|
-
type: :runtime
|
|
71
|
-
prerelease: false
|
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
73
|
-
requirements:
|
|
74
|
-
- - ">="
|
|
75
|
-
- !ruby/object:Gem::Version
|
|
76
|
-
version: 2.0.2
|
|
77
|
-
- - "<"
|
|
78
|
-
- !ruby/object:Gem::Version
|
|
79
|
-
version: '3'
|
|
80
|
-
- !ruby/object:Gem::Dependency
|
|
81
|
-
name: version_gem
|
|
82
|
-
requirement: !ruby/object:Gem::Requirement
|
|
83
|
-
requirements:
|
|
84
|
-
- - ">="
|
|
85
|
-
- !ruby/object:Gem::Version
|
|
86
|
-
version: 1.1.2
|
|
87
|
-
- - "<"
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '3'
|
|
90
|
-
type: :runtime
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - ">="
|
|
95
|
-
- !ruby/object:Gem::Version
|
|
96
|
-
version: 1.1.2
|
|
97
|
-
- - "<"
|
|
98
|
-
- !ruby/object:Gem::Version
|
|
99
|
-
version: '3'
|
|
100
|
-
- !ruby/object:Gem::Dependency
|
|
101
|
-
name: rubocop-packaging
|
|
14
|
+
name: rubocop-ruby2_1
|
|
102
15
|
requirement: !ruby/object:Gem::Requirement
|
|
103
16
|
requirements:
|
|
104
17
|
- - "~>"
|
|
105
18
|
- !ruby/object:Gem::Version
|
|
106
|
-
version:
|
|
107
|
-
type: :
|
|
108
|
-
prerelease: false
|
|
109
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
110
|
-
requirements:
|
|
111
|
-
- - "~>"
|
|
112
|
-
- !ruby/object:Gem::Version
|
|
113
|
-
version: '0.5'
|
|
114
|
-
- !ruby/object:Gem::Dependency
|
|
115
|
-
name: kettle-soup-cover
|
|
116
|
-
requirement: !ruby/object:Gem::Requirement
|
|
117
|
-
requirements:
|
|
118
|
-
- - "~>"
|
|
119
|
-
- !ruby/object:Gem::Version
|
|
120
|
-
version: '1.1'
|
|
121
|
-
- - ">="
|
|
122
|
-
- !ruby/object:Gem::Version
|
|
123
|
-
version: 1.1.3
|
|
124
|
-
type: :development
|
|
125
|
-
prerelease: false
|
|
126
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
127
|
-
requirements:
|
|
128
|
-
- - "~>"
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: '1.1'
|
|
131
|
-
- - ">="
|
|
132
|
-
- !ruby/object:Gem::Version
|
|
133
|
-
version: 1.1.3
|
|
134
|
-
- !ruby/object:Gem::Dependency
|
|
135
|
-
name: rubocop-lts-rspec
|
|
136
|
-
requirement: !ruby/object:Gem::Requirement
|
|
137
|
-
requirements:
|
|
138
|
-
- - "~>"
|
|
139
|
-
- !ruby/object:Gem::Version
|
|
140
|
-
version: '1.0'
|
|
141
|
-
- - ">="
|
|
142
|
-
- !ruby/object:Gem::Version
|
|
143
|
-
version: 1.0.1
|
|
144
|
-
type: :development
|
|
145
|
-
prerelease: false
|
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
147
|
-
requirements:
|
|
148
|
-
- - "~>"
|
|
149
|
-
- !ruby/object:Gem::Version
|
|
150
|
-
version: '1.0'
|
|
151
|
-
- - ">="
|
|
152
|
-
- !ruby/object:Gem::Version
|
|
153
|
-
version: 1.0.1
|
|
154
|
-
- !ruby/object:Gem::Dependency
|
|
155
|
-
name: rspec-block_is_expected
|
|
156
|
-
requirement: !ruby/object:Gem::Requirement
|
|
157
|
-
requirements:
|
|
158
|
-
- - "~>"
|
|
159
|
-
- !ruby/object:Gem::Version
|
|
160
|
-
version: '1.0'
|
|
161
|
-
type: :development
|
|
19
|
+
version: 1.0.4
|
|
20
|
+
type: :runtime
|
|
162
21
|
prerelease: false
|
|
163
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
164
23
|
requirements:
|
|
165
24
|
- - "~>"
|
|
166
25
|
- !ruby/object:Gem::Version
|
|
167
|
-
version:
|
|
168
|
-
description:
|
|
26
|
+
version: 1.0.4
|
|
27
|
+
description: Rubocop LTS - Chaos Reduction In a Bottle
|
|
169
28
|
email:
|
|
170
29
|
- peter.boling@gmail.com
|
|
171
30
|
executables: []
|
|
@@ -178,30 +37,25 @@ files:
|
|
|
178
37
|
- LICENSE.txt
|
|
179
38
|
- README.md
|
|
180
39
|
- SECURITY.md
|
|
181
|
-
- config/base.yml
|
|
182
|
-
- config/rails.yml
|
|
183
|
-
- config/rails_rspec.yml
|
|
184
|
-
- config/rspec.yml
|
|
185
|
-
- config/ruby.yml
|
|
186
|
-
- config/ruby_rspec.yml
|
|
187
|
-
- config/rubygem.yml
|
|
188
|
-
- config/rubygem_rspec.yml
|
|
189
40
|
- lib/rubocop/lts.rb
|
|
190
41
|
- lib/rubocop/lts/version.rb
|
|
191
42
|
- rubocop-lts.yml
|
|
192
43
|
- sig/rubocop/lts.rbs
|
|
193
|
-
|
|
44
|
+
- spec/config/rspec/rspec_core.rb
|
|
45
|
+
- spec/rubocop/lts_spec.rb
|
|
46
|
+
- spec/spec_helper.rb
|
|
47
|
+
homepage: https://github.com/rubocop-lts/rubocop-lts
|
|
194
48
|
licenses:
|
|
195
49
|
- MIT
|
|
196
50
|
metadata:
|
|
197
|
-
homepage_uri: https://rubocop-lts
|
|
198
|
-
source_code_uri: https://
|
|
199
|
-
changelog_uri: https://
|
|
200
|
-
bug_tracker_uri: https://
|
|
201
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/
|
|
202
|
-
wiki_uri: https://
|
|
203
|
-
funding_uri: https://liberapay.com/pboling
|
|
51
|
+
homepage_uri: https://github.com/rubocop-lts/rubocop-lts
|
|
52
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v5.0.0
|
|
53
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v5.0.0/CHANGELOG.md
|
|
54
|
+
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
|
55
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/5.0.0
|
|
56
|
+
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
|
204
57
|
rubygems_mfa_required: 'true'
|
|
58
|
+
post_install_message:
|
|
205
59
|
rdoc_options: []
|
|
206
60
|
require_paths:
|
|
207
61
|
- lib
|
|
@@ -209,14 +63,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
209
63
|
requirements:
|
|
210
64
|
- - ">="
|
|
211
65
|
- !ruby/object:Gem::Version
|
|
212
|
-
version:
|
|
66
|
+
version: 2.1.0
|
|
67
|
+
- - "<"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '2.2'
|
|
213
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
71
|
requirements:
|
|
215
72
|
- - ">="
|
|
216
73
|
- !ruby/object:Gem::Version
|
|
217
74
|
version: '0'
|
|
218
75
|
requirements: []
|
|
219
|
-
rubygems_version:
|
|
76
|
+
rubygems_version: 3.3.14
|
|
77
|
+
signing_key:
|
|
220
78
|
specification_version: 4
|
|
221
|
-
summary:
|
|
222
|
-
test_files:
|
|
79
|
+
summary: Rubocop LTS - Semantically Versioned
|
|
80
|
+
test_files:
|
|
81
|
+
- spec/spec_helper.rb
|
|
82
|
+
- spec/config/rspec/rspec_core.rb
|
|
83
|
+
- spec/rubocop/lts_spec.rb
|
checksums.yaml.gz.sig
DELETED
|
Binary file
|
data/config/base.yml
DELETED
data/config/rails.yml
DELETED
data/config/rails_rspec.yml
DELETED
data/config/rspec.yml
DELETED
data/config/ruby.yml
DELETED
data/config/ruby_rspec.yml
DELETED
data/config/rubygem.yml
DELETED
data/config/rubygem_rspec.yml
DELETED
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|