rubocop-shopify 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +22 -13
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27e2888826f579c69efbf5df48f4f1f40630ae20f9d962cfde7ab86f08dbdeb7
|
4
|
+
data.tar.gz: 90e1f14c3f766ca65058237f9d28d6157017101709177d4bacf9bdc997e39a3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 357cf572615207e7cc87f3fd47a1c0b58a1027eb017691ff1a05f1a081edbed5f88a5c3e70c5a5af603957eb3b56b9d73521fe1bede2ea89880bcdcc7227b149
|
7
|
+
data.tar.gz: 1e6526dd264bd0cfb29b26f7ca1dadf645ca12ff073cdfcb3108791b09e6a28c38d25589c449b65acec6ec6be27edbc9bf83c4a6c3724952aee96c2da3bd7c28
|
data/rubocop.yml
CHANGED
@@ -24,9 +24,6 @@ Layout/ArgumentAlignment:
|
|
24
24
|
Layout/CaseIndentation:
|
25
25
|
EnforcedStyle: end
|
26
26
|
|
27
|
-
Layout/EmptyLineAfterGuardClause:
|
28
|
-
Enabled: true
|
29
|
-
|
30
27
|
Layout/EndAlignment:
|
31
28
|
EnforcedStyleAlignWith: variable
|
32
29
|
|
@@ -48,7 +45,7 @@ Layout/LineEndStringConcatenationIndentation:
|
|
48
45
|
|
49
46
|
Layout/LineLength:
|
50
47
|
IgnoreCopDirectives: false
|
51
|
-
|
48
|
+
AllowedPatterns:
|
52
49
|
- "\\A\\s*(remote_)?test(_\\w+)?\\s.*(do|->)(\\s|\\Z)"
|
53
50
|
|
54
51
|
Layout/MultilineMethodCallIndentation:
|
@@ -193,6 +190,9 @@ Lint/RedundantWithIndex:
|
|
193
190
|
Lint/RedundantWithObject:
|
194
191
|
Enabled: false
|
195
192
|
|
193
|
+
Lint/RefinementImportMethods:
|
194
|
+
Enabled: false
|
195
|
+
|
196
196
|
Lint/RegexpAsCondition:
|
197
197
|
Enabled: false
|
198
198
|
|
@@ -346,6 +346,9 @@ Naming/RescuedExceptionsVariableName:
|
|
346
346
|
Naming/VariableNumber:
|
347
347
|
Enabled: false
|
348
348
|
|
349
|
+
Security/CompoundHash:
|
350
|
+
Enabled: false
|
351
|
+
|
349
352
|
Security/MarshalLoad:
|
350
353
|
Enabled: false
|
351
354
|
|
@@ -370,9 +373,6 @@ Style/AndOr:
|
|
370
373
|
Style/ArgumentsForwarding:
|
371
374
|
Enabled: false
|
372
375
|
|
373
|
-
Style/AsciiComments:
|
374
|
-
Enabled: false
|
375
|
-
|
376
376
|
Style/BisectedAttrAccessor:
|
377
377
|
Enabled: false
|
378
378
|
|
@@ -433,18 +433,21 @@ Style/Encoding:
|
|
433
433
|
Style/EndlessMethod:
|
434
434
|
Enabled: false
|
435
435
|
|
436
|
+
Style/EnvHome:
|
437
|
+
Enabled: false
|
438
|
+
|
436
439
|
Style/EvalWithLocation:
|
437
440
|
Enabled: false
|
438
441
|
|
439
442
|
Style/ExpandPathArguments:
|
440
443
|
Enabled: false
|
441
444
|
|
442
|
-
Style/ExplicitBlockArgument:
|
443
|
-
Enabled: true
|
444
|
-
|
445
445
|
Style/ExponentialNotation:
|
446
446
|
Enabled: false
|
447
447
|
|
448
|
+
Style/FetchEnvVar:
|
449
|
+
Enabled: false
|
450
|
+
|
448
451
|
Style/FileRead:
|
449
452
|
Enabled: false
|
450
453
|
|
@@ -463,9 +466,6 @@ Style/FrozenStringLiteralComment:
|
|
463
466
|
literals will become the default in a future Ruby version, and we want to make
|
464
467
|
sure we''re ready.'
|
465
468
|
|
466
|
-
Style/GlobalStdStream:
|
467
|
-
Enabled: true
|
468
|
-
|
469
469
|
Style/GuardClause:
|
470
470
|
Enabled: false
|
471
471
|
|
@@ -562,6 +562,9 @@ Style/NegatedIfElseCondition:
|
|
562
562
|
Style/NegatedUnless:
|
563
563
|
Enabled: false
|
564
564
|
|
565
|
+
Style/NestedFileDirname:
|
566
|
+
Enabled: true
|
567
|
+
|
565
568
|
Style/NilLambda:
|
566
569
|
Enabled: false
|
567
570
|
|
@@ -580,6 +583,9 @@ Style/NumericLiterals:
|
|
580
583
|
Style/NumericPredicate:
|
581
584
|
Enabled: false
|
582
585
|
|
586
|
+
Style/ObjectThen:
|
587
|
+
Enabled: false
|
588
|
+
|
583
589
|
Style/OpenStructUse:
|
584
590
|
Enabled: true
|
585
591
|
|
@@ -616,6 +622,9 @@ Style/RedundantFetchBlock:
|
|
616
622
|
Style/RedundantFileExtensionInRequire:
|
617
623
|
Enabled: false
|
618
624
|
|
625
|
+
Style/RedundantInitialize:
|
626
|
+
Enabled: false
|
627
|
+
|
619
628
|
Style/RedundantRegexpCharacterClass:
|
620
629
|
Enabled: false
|
621
630
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-shopify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shopify Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.29'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.29'
|
27
27
|
description: Gem containing the rubocop.yml config that corresponds to the implementation
|
28
28
|
of the Shopify's style guide for Ruby.
|
29
29
|
email: gems@shopify.com
|
@@ -37,7 +37,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
|
|
37
37
|
licenses:
|
38
38
|
- MIT
|
39
39
|
metadata:
|
40
|
-
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.6.0
|
41
41
|
allowed_push_host: https://rubygems.org
|
42
42
|
post_install_message:
|
43
43
|
rdoc_options: []
|
@@ -47,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version:
|
50
|
+
version: 2.7.0
|
51
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - ">="
|