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.
data/SECURITY.md CHANGED
@@ -2,37 +2,30 @@
2
2
 
3
3
  ## Supported Versions
4
4
 
5
- Major even versions are supported.
6
-
7
- Major odd versions are not supported, and no further odd major releases are planned.
8
-
9
- | Version | Supported |
10
- |-----------|-----------|
11
- | 0.latest | |
12
- | 1.latest | |
13
- | 2.latest | |
14
- | 3.latest | |
15
- | 4.latest | |
16
- | 5.latest | |
17
- | 6.latest | |
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: |
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
 
@@ -2,8 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Lts
5
- module Version
6
- VERSION = "14.1.1"
7
- end
5
+ VERSION = "15.0.0"
8
6
  end
9
7
  end
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
- # 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
1
+ inherit_gem:
2
+ rubocop-ruby2_6: rubocop.yml
data/sig/rubocop/lts.rbs CHANGED
@@ -1,8 +1,6 @@
1
1
  module Rubocop
2
2
  module Lts
3
- module Version
4
- VERSION: String
5
- # See the writing guide of rbs: https://github.com/ruby/rbs#guides
6
- end
3
+ VERSION: String
4
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
7
5
  end
8
6
  end
@@ -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,146 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 14.1.1
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/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkW
15
- A2NvbTAeFw0yMjA5MTgyMzEyMzBaFw0yMzA5MTgyMzEyMzBaMEMxFTATBgNVBAMM
16
- DHBldGVyLmJvbGluZzEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPy
17
- LGQBGRYDY29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEA2Dn1GM3W
18
- 8K2/rvN1zz+06bQMcxD16ZKTihVwi7Pb1v3T98rM4Omnxohm3s+CwpDWGeiB9pj6
19
- 0I/CTce0e4e3s8GKJSOrg93veImPSoH2PfsMsRsuB8wtqyiOCjLbF5o6S29x87r0
20
- LA5EawH+Lh4xqrkkPjdffsmLk7TaCig/vlmNvnzxXKBdey/X/aEJZXzzBiWRfVdh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JrXGk
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-ruby2_5
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: '0.5'
115
- - !ruby/object:Gem::Dependency
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: '1.0'
143
- 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
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
- homepage: https://gitlab.com/rubocop-lts/rubocop-lts
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.gitlab.io/
173
- source_code_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/tree/v14.1.1
174
- changelog_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/blob/v14.1.1/CHANGELOG.md
175
- bug_tracker_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/issues
176
- documentation_uri: https://www.rubydoc.info/gems/rubocop-lts/14.1.1
177
- wiki_uri: https://gitlab.com/rubocop-lts/rubocop-lts/-/wiki
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.4.13
196
- signing_key:
76
+ rubygems_version: 3.3.14
77
+ signing_key:
197
78
  specification_version: 4
198
- summary: 'Rules for Rubies: Rubocop + Standard + Betterlint + Shopify + Gradual'
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
@@ -1,2 +0,0 @@
1
- AllCops:
2
- DisplayCopNames: true # Display the name of the failing cops
data/config/rails.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/rails.yml
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/rails_rspec.yml
data/config/rspec.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/rspec.yml
data/config/ruby.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/ruby.yml
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/ruby_rspec.yml
data/config/rubygem.yml DELETED
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/rubygem.yml
@@ -1,4 +0,0 @@
1
- inherit_from: ./base.yml
2
-
3
- inherit_gem:
4
- rubocop-ruby2_5: rubocop-lts/rubygem_rspec.yml
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