rubocop-lts 14.1.1 → 15.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 +132 -16
- data/CONTRIBUTING.md +12 -26
- data/README.md +337 -198
- data/SECURITY.md +24 -31
- data/lib/rubocop/lts/version.rb +1 -3
- data/lib/rubocop/lts.rb +1 -12
- data/rubocop-lts.yml +2 -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 +30 -146
- checksums.yaml.gz.sig +0 -0
- data/config/base.yml +0 -2
- data/config/rails.yml +0 -4
- data/config/rails_rspec.yml +0 -4
- data/config/rspec.yml +0 -4
- data/config/ruby.yml +0 -4
- data/config/ruby_rspec.yml +0 -4
- data/config/rubygem.yml +0 -4
- data/config/rubygem_rspec.yml +0 -4
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -1
data/SECURITY.md
CHANGED
@@ -2,37 +2,30 @@
|
|
2
2
|
|
3
3
|
## Supported Versions
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
|
10
|
-
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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: |
|
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: |
|
36
29
|
|
37
30
|
## Reporting a Vulnerability
|
38
31
|
|
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_5"
|
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::Ruby25.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,2 @@
|
|
1
|
-
|
2
|
-
|
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
|
1
|
+
inherit_gem:
|
2
|
+
rubocop-ruby2_6: rubocop.yml
|
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,146 +1,30 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-lts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 15.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Boling
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIEgDCCAuigAwIBAgIBATANBgkqhkiG9w0BAQsFADBDMRUwEwYDVQQDDAxwZXRl
|
14
|
-
ci5ib2xpbmcxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ix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rwhI4VoQV2qXvO7R6ZjOXVwX
|
30
|
-
f/z84BWPiTZ8lzThPbt1UV/BGwkvLw9I4RjOdzvUz3J42j9Ly6q63isall07bo3F
|
31
|
-
QWe/OBvIMBF1IbjC3q5vKPg4rq8+TkNRJNoE86U2gfR+PkW3jYYs9uiy0GloHDCP
|
32
|
-
k5xgaj0vSL0Uy5mTOPdk3K6a/sUGZyYniWK05zdhIi956ynhfGaFO988FFdVw5Jq
|
33
|
-
LHtXfIpAU8F7ES04syZSslxOluw7VlcSKyRdVIr737J92ZTduppB4PRGSKRgBsWV
|
34
|
-
hXTahRE72Kyw53Q7FAuzF3v102WxAAQ7BuMjW+MyCUT75fwPm3W4ELPL8HYkNGE7
|
35
|
-
2oA5CPghFitRnvYS3GNrDG+9bNiRMEskeaBYwZ9UgReBQIwGYVj7LZk3UhiAsn44
|
36
|
-
gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
|
37
|
-
4/bR9A==
|
38
|
-
-----END CERTIFICATE-----
|
39
|
-
date: 2023-05-30 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-05-23 00:00:00.000000000 Z
|
40
12
|
dependencies:
|
41
13
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: rubocop-
|
14
|
+
name: rubocop-ruby2_6
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 2.0.3
|
48
|
-
- - "<"
|
49
|
-
- !ruby/object:Gem::Version
|
50
|
-
version: '3'
|
51
|
-
type: :runtime
|
52
|
-
prerelease: false
|
53
|
-
version_requirements: !ruby/object:Gem::Requirement
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
version: 2.0.3
|
58
|
-
- - "<"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '3'
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: standard-rubocop-lts
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - ">="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: 1.0.3
|
68
|
-
- - "<"
|
69
|
-
- !ruby/object:Gem::Version
|
70
|
-
version: '3'
|
71
|
-
type: :runtime
|
72
|
-
prerelease: false
|
73
|
-
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 1.0.3
|
78
|
-
- - "<"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: '3'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: version_gem
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - ">="
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: 1.1.2
|
88
|
-
- - "<"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '3'
|
91
|
-
type: :runtime
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - ">="
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 1.1.2
|
98
|
-
- - "<"
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: '3'
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: rubocop-packaging
|
103
|
-
requirement: !ruby/object:Gem::Requirement
|
104
|
-
requirements:
|
105
|
-
- - "~>"
|
106
|
-
- !ruby/object:Gem::Version
|
107
|
-
version: '0.5'
|
108
|
-
type: :development
|
109
|
-
prerelease: false
|
110
|
-
version_requirements: !ruby/object:Gem::Requirement
|
111
16
|
requirements:
|
112
17
|
- - "~>"
|
113
18
|
- !ruby/object:Gem::Version
|
114
|
-
version:
|
115
|
-
|
116
|
-
name: rubocop-rspec
|
117
|
-
requirement: !ruby/object:Gem::Requirement
|
118
|
-
requirements:
|
119
|
-
- - "~>"
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: '2.22'
|
122
|
-
type: :development
|
123
|
-
prerelease: false
|
124
|
-
version_requirements: !ruby/object:Gem::Requirement
|
125
|
-
requirements:
|
126
|
-
- - "~>"
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
version: '2.22'
|
129
|
-
- !ruby/object:Gem::Dependency
|
130
|
-
name: rspec-block_is_expected
|
131
|
-
requirement: !ruby/object:Gem::Requirement
|
132
|
-
requirements:
|
133
|
-
- - "~>"
|
134
|
-
- !ruby/object:Gem::Version
|
135
|
-
version: '1.0'
|
136
|
-
type: :development
|
19
|
+
version: 1.0.4
|
20
|
+
type: :runtime
|
137
21
|
prerelease: false
|
138
22
|
version_requirements: !ruby/object:Gem::Requirement
|
139
23
|
requirements:
|
140
24
|
- - "~>"
|
141
25
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
143
|
-
description:
|
26
|
+
version: 1.0.4
|
27
|
+
description: Rubocop LTS - Chaos Reduction In a Bottle
|
144
28
|
email:
|
145
29
|
- peter.boling@gmail.com
|
146
30
|
executables: []
|
@@ -153,37 +37,34 @@ files:
|
|
153
37
|
- LICENSE.txt
|
154
38
|
- README.md
|
155
39
|
- SECURITY.md
|
156
|
-
- config/base.yml
|
157
|
-
- config/rails.yml
|
158
|
-
- config/rails_rspec.yml
|
159
|
-
- config/rspec.yml
|
160
|
-
- config/ruby.yml
|
161
|
-
- config/ruby_rspec.yml
|
162
|
-
- config/rubygem.yml
|
163
|
-
- config/rubygem_rspec.yml
|
164
40
|
- lib/rubocop/lts.rb
|
165
41
|
- lib/rubocop/lts/version.rb
|
166
42
|
- rubocop-lts.yml
|
167
43
|
- sig/rubocop/lts.rbs
|
168
|
-
|
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
|
169
48
|
licenses:
|
170
49
|
- MIT
|
171
50
|
metadata:
|
172
|
-
homepage_uri: https://rubocop-lts
|
173
|
-
source_code_uri: https://
|
174
|
-
changelog_uri: https://
|
175
|
-
bug_tracker_uri: https://
|
176
|
-
documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/
|
177
|
-
wiki_uri: https://
|
178
|
-
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/v15.0.0
|
53
|
+
changelog_uri: https://github.com/rubocop-lts/rubocop-lts/blob/v15.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/15.0.0
|
56
|
+
wiki_uri: https://github.com/rubocop-lts/rubocop-lts/wiki
|
179
57
|
rubygems_mfa_required: 'true'
|
180
|
-
post_install_message:
|
58
|
+
post_install_message:
|
181
59
|
rdoc_options: []
|
182
60
|
require_paths:
|
183
61
|
- lib
|
184
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
185
63
|
requirements:
|
186
64
|
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.6.0
|
67
|
+
- - "<"
|
187
68
|
- !ruby/object:Gem::Version
|
188
69
|
version: '2.7'
|
189
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -192,8 +73,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
73
|
- !ruby/object:Gem::Version
|
193
74
|
version: '0'
|
194
75
|
requirements: []
|
195
|
-
rubygems_version: 3.
|
196
|
-
signing_key:
|
76
|
+
rubygems_version: 3.3.14
|
77
|
+
signing_key:
|
197
78
|
specification_version: 4
|
198
|
-
summary:
|
199
|
-
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
@@ -1 +0,0 @@
|
|
1
|
-
m�蒾-Ca�>3�ʹ�]^��E�K�$C2��3�o�JN��O^�N�o�Ȭ"���:��a/GB#�%�'�h1��o�Q��s~�f��U b�|K�lym��^ z�ٓB�V2�Y� �A�FPC�0�Ħ��M1���gl�a����4ք^*��g���h��A��~��p���c�w�M�4�������K&WLg����T+�*��xY��K\ ������t<��+�Mdu����(�3�(MZ?,���xp�K�$7X�(�i�4��I4%�F��"�ٺ�H��,l�>Ӈ�_��je�I���m,V�e�yU[�)�5c�������nYTHקv�@'-��?P� 44��n��3�(F>T �H
|