standard-rubocop-lts 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c3466114b0107af7698f87e05458afa4f9cf9c1f44250916fe9ab7b2df3bf1f4
4
- data.tar.gz: 471cf0ed0aeece979ea44aac51befc0f9a7b69b4258fc74a6fa178e6f7e5f7ae
3
+ metadata.gz: 077ea6c4ee205a5542ab422ce06b7608044c954f70fb65e68d1648b1e81dbd2d
4
+ data.tar.gz: 4ee5e933b59246e094b621312170302671db2bec6c776d56857fa62ee370c704
5
5
  SHA512:
6
- metadata.gz: 3342f97ec546e9a8983e135afd3a6a28a198e8d97abeafa0184d02ed95b1a8a5cdfb8f4691d8c049cd77faea97455b1c21fae9986d0c69f2786af78c67d67730
7
- data.tar.gz: d19f2e1386dada83b12a87d918ab9320139e844e3af04a555450a55cc71c124fbad7ba7c21a793e60e8ae3e60f9eed460ee56d66dd107d7f0e8c4cefa8b1563a
6
+ metadata.gz: 7f02d241a9b0e9580d6bc7441c9e02f970413b2dfe3315fe506b41412ba40f4a5f05cff12417353872398502d2c96ad30c1a244dbd066f3db67075cd0fc74ba3
7
+ data.tar.gz: 745dba1e7db74cfd1a6d6f6d849cb758fd0e282492003ce76f1767187bb3150ea2810d8d75e824624cf77e4e53a88f07bb6db6311178e16286ccbc746d81fd91
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
  ### Fixed
11
11
  ### Removed
12
12
 
13
+ ## [1.0.8] 2023-07-07
14
+ ### Fixed
15
+ - compatibility with changes from standard v1.30.1
16
+
13
17
  ## [1.0.7] 2023-06-08
14
18
  ### Changed
15
19
  - follow best practices for gemspec
data/README.md CHANGED
@@ -173,6 +173,7 @@ inherit_mode:
173
173
  - Include
174
174
 
175
175
  require:
176
+ - standard-rubocop-lts
176
177
  - standard
177
178
  - standard-performance
178
179
  - standard-custom
@@ -180,7 +181,7 @@ require:
180
181
 
181
182
  # Load basic rules for this version of Ruby from standard.
182
183
  # Rules are overridden in a LIFO stack.
183
- # If rubocop-performance is loaded first, and standard-performance after it,
184
+ # If rubocop-performance is listed first, and standard-performance after it,
184
185
  # then rubocop-performance's rules will take precedence.
185
186
  # This is the opposite of what you might expect.
186
187
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-1.8.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-1.8.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-1.9.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-1.9.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.0.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.0.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.1.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.1.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.2.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.2.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.3.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.3.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.4.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.4.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.5.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.5.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.6.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.6.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-2.7.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-2.7.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-3.0.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-3.0.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-3.1.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-3.1.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-3.2.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-3.2.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -17,7 +18,7 @@ require:
17
18
 
18
19
  # Load basic rules for this version of Ruby from standard.
19
20
  # Rules are overridden in a LIFO stack.
20
- # If rubocop-performance is loaded first, and standard-performance after it,
21
+ # If rubocop-performance is listed first, and standard-performance after it,
21
22
  # then rubocop-performance's rules will take precedence.
22
23
  # This is the opposite of what you might expect.
23
24
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
data/config/ruby-3.3.yml CHANGED
@@ -10,6 +10,7 @@ inherit_from:
10
10
  - ./internal/ruby-3.3.yml
11
11
 
12
12
  require:
13
+ - standard-rubocop-lts
13
14
  - standard
14
15
  - standard-performance
15
16
  - standard-custom
@@ -20,7 +21,7 @@ require:
20
21
  # inherit_gem:
21
22
  # standard: config/ruby-3.3.yml
22
23
  # Rules are overridden in a LIFO stack.
23
- # If rubocop-performance is loaded first, and standard-performance after it,
24
+ # If rubocop-performance is listed first, and standard-performance after it,
24
25
  # then rubocop-performance's rules will take precedence.
25
26
  # This is the opposite of what you might expect.
26
27
  # Below: standard's rules override rubocop-performance's (mostly disabling rules)
@@ -0,0 +1,2 @@
1
+ # Load standard-custom gem's cops:
2
+ require "standard/cop/block_single_line_braces"
@@ -7,7 +7,7 @@ module Standard
7
7
  module Version
8
8
  # Bump VERSION manually for each new release!
9
9
  # See: CONTRIBUTING.md
10
- VERSION = "1.0.7"
10
+ VERSION = "1.0.8"
11
11
  end
12
12
  end
13
13
  end
@@ -2,8 +2,12 @@
2
2
 
3
3
  # external libs
4
4
  require "version_gem"
5
+ require "rubocop"
6
+ require "standard-custom"
5
7
 
6
8
  require_relative "lts/version"
9
+ # Load any Cops that aren't explicitly loaded by standard's plugins (e.g. standard-custom).
10
+ require_relative "lts/cops"
7
11
 
8
12
  # Namespace for this library
9
13
  module Standard
@@ -0,0 +1,4 @@
1
+ # For technical reasons, if we move to Zeitwerk, this cannot be require_relative.
2
+ # See: https://github.com/fxn/zeitwerk#for_gem_extension
3
+ # Hook for other libraries to load this library (e.g. via bundler)
4
+ require "standard/rubocop/lts"
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-rubocop-lts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -36,7 +36,7 @@ cert_chain:
36
36
  gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
37
37
  4/bR9A==
38
38
  -----END CERTIFICATE-----
39
- date: 2023-06-08 00:00:00.000000000 Z
39
+ date: 2023-07-07 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: standard
@@ -44,7 +44,7 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '1.29'
47
+ version: 1.30.1
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
50
  version: '2'
@@ -54,7 +54,7 @@ dependencies:
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: '1.29'
57
+ version: 1.30.1
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
60
  version: '2'
@@ -102,9 +102,9 @@ dependencies:
102
102
  name: standard-performance
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - "~>"
105
+ - - ">="
106
106
  - !ruby/object:Gem::Version
107
- version: '1.1'
107
+ version: 1.1.1
108
108
  - - "<"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '2'
@@ -112,9 +112,9 @@ dependencies:
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - "~>"
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
- version: '1.1'
117
+ version: 1.1.1
118
118
  - - "<"
119
119
  - !ruby/object:Gem::Version
120
120
  version: '2'
@@ -162,7 +162,9 @@ files:
162
162
  - config/ruby-3.1.yml
163
163
  - config/ruby-3.2.yml
164
164
  - config/ruby-3.3.yml
165
+ - lib/standard-rubocop-lts.rb
165
166
  - lib/standard/rubocop/lts.rb
167
+ - lib/standard/rubocop/lts/cops.rb
166
168
  - lib/standard/rubocop/lts/version.rb
167
169
  - sig/standard/rubocop/lts.rbs
168
170
  homepage: https://gitlab.com/rubocop-lts/standard-rubocop-lts
@@ -170,10 +172,10 @@ licenses:
170
172
  - MIT
171
173
  metadata:
172
174
  homepage_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts
173
- source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.7
174
- changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.7/CHANGELOG.md
175
+ source_code_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/tree/v1.0.8
176
+ changelog_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/blob/v1.0.8/CHANGELOG.md
175
177
  bug_tracker_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/issues
176
- documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.7
178
+ documentation_uri: https://www.rubydoc.info/gems/standard-rubocop-lts/1.0.8
177
179
  wiki_uri: https://gitlab.com/rubocop-lts/standard-rubocop-lts/-/wikis/home
178
180
  funding_uri: https://liberapay.com/pboling
179
181
  rubygems_mfa_required: 'true'
@@ -192,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
194
  - !ruby/object:Gem::Version
193
195
  version: '0'
194
196
  requirements: []
195
- rubygems_version: 3.4.13
197
+ rubygems_version: 3.4.14
196
198
  signing_key:
197
199
  specification_version: 4
198
200
  summary: Extended Standard Ruby Configs for Finely Aged Rubies
metadata.gz.sig CHANGED
Binary file