rubocop-lts 2.3.0 → 3.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 +15 -54
- data/CODE_OF_CONDUCT.md +0 -0
- data/CONTRIBUTING.md +12 -26
- data/LICENSE.txt +0 -0
- data/README.md +355 -202
- data/SECURITY.md +13 -31
- data/lib/rubocop/lts/version.rb +1 -3
- data/lib/rubocop/lts.rb +1 -12
- data/sig/rubocop/lts.rbs +2 -4
- data/spec/config/rspec/rspec_core.rb +14 -0
- data/spec/rubocop/lts_spec.rb +8 -0
- data/spec/spec_helper.rb +8 -0
- metadata +30 -182
- 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/rubocop-lts.yml +0 -15
- 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,22 +1,11 @@
|
|
|
1
1
|
# encoding: utf-8
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
# external libs
|
|
5
|
-
require "version_gem"
|
|
6
|
-
require "rubocop/ruby1_9"
|
|
7
|
-
|
|
8
4
|
require_relative "lts/version"
|
|
9
5
|
|
|
10
6
|
module Rubocop
|
|
11
7
|
module Lts
|
|
12
8
|
class Error < StandardError; end
|
|
13
|
-
|
|
14
|
-
module_function def install_tasks
|
|
15
|
-
Rubocop::Ruby19.install_tasks
|
|
16
|
-
end
|
|
9
|
+
# Your code goes here...
|
|
17
10
|
end
|
|
18
11
|
end
|
|
19
|
-
|
|
20
|
-
Rubocop::Lts::Version.class_eval do
|
|
21
|
-
extend VersionGem::Basic
|
|
22
|
-
end
|
data/sig/rubocop/lts.rbs
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
RSpec.configure do |config|
|
|
5
|
+
# Enable flags like --only-failures and --next-failure
|
|
6
|
+
config.example_status_persistence_file_path = ".rspec_status"
|
|
7
|
+
|
|
8
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
|
9
|
+
config.disable_monkey_patching!
|
|
10
|
+
|
|
11
|
+
config.expect_with :rspec do |c|
|
|
12
|
+
c.syntax = :expect
|
|
13
|
+
end
|
|
14
|
+
end
|
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
|
@@ -1,183 +1,30 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-lts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 3.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peter Boling
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
|
-
cert_chain:
|
|
10
|
-
-
|
|
11
|
-
-----BEGIN CERTIFICATE-----
|
|
12
|
-
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
|
13
|
-
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
|
|
14
|
-
A2NvbTAeFw0yNTA1MDQxNTMzMDlaFw00NTA0MjkxNTMzMDlaMEMxFTATBgNVBAMM
|
|
15
|
-
DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
|
|
16
|
-
LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAruUoo0WA
|
|
17
|
-
uoNuq6puKWYeRYiZekz/nsDeK5x/0IEirzcCEvaHr3Bmz7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xLCsB8m4EFVdb/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-22 00:00:00.000000000 Z
|
|
39
12
|
dependencies:
|
|
40
13
|
- !ruby/object:Gem::Dependency
|
|
41
|
-
name: rubocop-
|
|
14
|
+
name: rubocop-ruby2_0
|
|
42
15
|
requirement: !ruby/object:Gem::Requirement
|
|
43
16
|
requirements:
|
|
44
17
|
- - "~>"
|
|
45
18
|
- !ruby/object:Gem::Version
|
|
46
|
-
version:
|
|
47
|
-
- - ">="
|
|
48
|
-
- !ruby/object:Gem::Version
|
|
49
|
-
version: 3.0.1
|
|
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'
|
|
57
|
-
- - ">="
|
|
58
|
-
- !ruby/object:Gem::Version
|
|
59
|
-
version: 3.0.1
|
|
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'
|
|
67
|
-
- - ">="
|
|
68
|
-
- !ruby/object:Gem::Version
|
|
69
|
-
version: 2.0.3
|
|
19
|
+
version: 1.0.4
|
|
70
20
|
type: :runtime
|
|
71
21
|
prerelease: false
|
|
72
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
23
|
requirements:
|
|
74
24
|
- - "~>"
|
|
75
25
|
- !ruby/object:Gem::Version
|
|
76
|
-
version:
|
|
77
|
-
|
|
78
|
-
- !ruby/object:Gem::Version
|
|
79
|
-
version: 2.0.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'
|
|
87
|
-
- - ">="
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: 1.1.9
|
|
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'
|
|
97
|
-
- - ">="
|
|
98
|
-
- !ruby/object:Gem::Version
|
|
99
|
-
version: 1.1.9
|
|
100
|
-
- !ruby/object:Gem::Dependency
|
|
101
|
-
name: rubocop-packaging
|
|
102
|
-
requirement: !ruby/object:Gem::Requirement
|
|
103
|
-
requirements:
|
|
104
|
-
- - "~>"
|
|
105
|
-
- !ruby/object:Gem::Version
|
|
106
|
-
version: '0.6'
|
|
107
|
-
- - ">="
|
|
108
|
-
- !ruby/object:Gem::Version
|
|
109
|
-
version: 0.6.0
|
|
110
|
-
type: :development
|
|
111
|
-
prerelease: false
|
|
112
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
113
|
-
requirements:
|
|
114
|
-
- - "~>"
|
|
115
|
-
- !ruby/object:Gem::Version
|
|
116
|
-
version: '0.6'
|
|
117
|
-
- - ">="
|
|
118
|
-
- !ruby/object:Gem::Version
|
|
119
|
-
version: 0.6.0
|
|
120
|
-
- !ruby/object:Gem::Dependency
|
|
121
|
-
name: kettle-soup-cover
|
|
122
|
-
requirement: !ruby/object:Gem::Requirement
|
|
123
|
-
requirements:
|
|
124
|
-
- - "~>"
|
|
125
|
-
- !ruby/object:Gem::Version
|
|
126
|
-
version: '1.1'
|
|
127
|
-
- - ">="
|
|
128
|
-
- !ruby/object:Gem::Version
|
|
129
|
-
version: 1.1.3
|
|
130
|
-
type: :development
|
|
131
|
-
prerelease: false
|
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
133
|
-
requirements:
|
|
134
|
-
- - "~>"
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
version: '1.1'
|
|
137
|
-
- - ">="
|
|
138
|
-
- !ruby/object:Gem::Version
|
|
139
|
-
version: 1.1.3
|
|
140
|
-
- !ruby/object:Gem::Dependency
|
|
141
|
-
name: rubocop-lts-rspec
|
|
142
|
-
requirement: !ruby/object:Gem::Requirement
|
|
143
|
-
requirements:
|
|
144
|
-
- - "~>"
|
|
145
|
-
- !ruby/object:Gem::Version
|
|
146
|
-
version: '1.0'
|
|
147
|
-
- - ">="
|
|
148
|
-
- !ruby/object:Gem::Version
|
|
149
|
-
version: 1.0.2
|
|
150
|
-
type: :development
|
|
151
|
-
prerelease: false
|
|
152
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
153
|
-
requirements:
|
|
154
|
-
- - "~>"
|
|
155
|
-
- !ruby/object:Gem::Version
|
|
156
|
-
version: '1.0'
|
|
157
|
-
- - ">="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: 1.0.2
|
|
160
|
-
- !ruby/object:Gem::Dependency
|
|
161
|
-
name: rspec-block_is_expected
|
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - "~>"
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: '1.0'
|
|
167
|
-
- - ">="
|
|
168
|
-
- !ruby/object:Gem::Version
|
|
169
|
-
version: 1.0.6
|
|
170
|
-
type: :development
|
|
171
|
-
prerelease: false
|
|
172
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
173
|
-
requirements:
|
|
174
|
-
- - "~>"
|
|
175
|
-
- !ruby/object:Gem::Version
|
|
176
|
-
version: '1.0'
|
|
177
|
-
- - ">="
|
|
178
|
-
- !ruby/object:Gem::Version
|
|
179
|
-
version: 1.0.6
|
|
180
|
-
description: Configure RuboCop + a bevy of friends to gradually lint Ruby code
|
|
26
|
+
version: 1.0.4
|
|
27
|
+
description: Rubocop LTS - Chaos Reduction In a Bottle
|
|
181
28
|
email:
|
|
182
29
|
- peter.boling@gmail.com
|
|
183
30
|
executables: []
|
|
@@ -190,30 +37,24 @@ files:
|
|
|
190
37
|
- LICENSE.txt
|
|
191
38
|
- README.md
|
|
192
39
|
- SECURITY.md
|
|
193
|
-
- config/base.yml
|
|
194
|
-
- config/rails.yml
|
|
195
|
-
- config/rails_rspec.yml
|
|
196
|
-
- config/rspec.yml
|
|
197
|
-
- config/ruby.yml
|
|
198
|
-
- config/ruby_rspec.yml
|
|
199
|
-
- config/rubygem.yml
|
|
200
|
-
- config/rubygem_rspec.yml
|
|
201
40
|
- lib/rubocop/lts.rb
|
|
202
41
|
- lib/rubocop/lts/version.rb
|
|
203
|
-
- rubocop-lts.yml
|
|
204
42
|
- sig/rubocop/lts.rbs
|
|
205
|
-
|
|
43
|
+
- spec/config/rspec/rspec_core.rb
|
|
44
|
+
- spec/rubocop/lts_spec.rb
|
|
45
|
+
- spec/spec_helper.rb
|
|
46
|
+
homepage: https://github.com/rubocop-lts/rubocop-lts
|
|
206
47
|
licenses:
|
|
207
48
|
- MIT
|
|
208
49
|
metadata:
|
|
209
|
-
homepage_uri: https://rubocop-lts
|
|
210
|
-
source_code_uri: https://
|
|
211
|
-
changelog_uri: https://
|
|
212
|
-
bug_tracker_uri: https://
|
|
213
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/
|
|
214
|
-
wiki_uri: https://
|
|
215
|
-
funding_uri: https://liberapay.com/pboling
|
|
50
|
+
homepage_uri: https://github.com/rubocop-lts/rubocop-lts
|
|
51
|
+
source_code_uri: https://github.com/rubocop-lts/rubocop-lts/tree/v3.0.0
|
|
52
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v3.0.0/CHANGELOG.md
|
|
53
|
+
bug_tracker_uri: https://github.com/rubocop-lts/rubocop-lts/issues
|
|
54
|
+
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/3.0.0
|
|
55
|
+
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
|
216
56
|
rubygems_mfa_required: 'true'
|
|
57
|
+
post_install_message:
|
|
217
58
|
rdoc_options: []
|
|
218
59
|
require_paths:
|
|
219
60
|
- lib
|
|
@@ -221,14 +62,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
221
62
|
requirements:
|
|
222
63
|
- - ">="
|
|
223
64
|
- !ruby/object:Gem::Version
|
|
224
|
-
version:
|
|
65
|
+
version: 2.0.0
|
|
66
|
+
- - "<"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '2.1'
|
|
225
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
70
|
requirements:
|
|
227
71
|
- - ">="
|
|
228
72
|
- !ruby/object:Gem::Version
|
|
229
73
|
version: '0'
|
|
230
74
|
requirements: []
|
|
231
|
-
rubygems_version:
|
|
75
|
+
rubygems_version: 3.3.14
|
|
76
|
+
signing_key:
|
|
232
77
|
specification_version: 4
|
|
233
|
-
summary:
|
|
234
|
-
test_files:
|
|
78
|
+
summary: Rubocop LTS - Semantically Versioned
|
|
79
|
+
test_files:
|
|
80
|
+
- spec/spec_helper.rb
|
|
81
|
+
- spec/config/rspec/rspec_core.rb
|
|
82
|
+
- 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/rubocop-lts.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Change the file you inherit if you:
|
|
2
|
-
# * use Rails,
|
|
3
|
-
# * are creating a RubyGem, or
|
|
4
|
-
# * don't use RSpec
|
|
5
|
-
# As follows:
|
|
6
|
-
# inherit_gem:
|
|
7
|
-
# # Pick one:
|
|
8
|
-
# # rubocop-lts: config/rails_rspec.yml # or config/rails.yml w/o rspec
|
|
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
|
data.tar.gz.sig
DELETED
|
Binary file
|
metadata.gz.sig
DELETED
|
Binary file
|