rubocop-shopify 2.11.1 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/rubocop.yml +16 -4
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: abebcc9f7a47e8f2a5f64841561d43e4d0055566762ac7d8488eb91143673af6
4
- data.tar.gz: c9ad11b0cde28e1f5dd9f9d65fe78670a20c24e251ec9cc1eefc224b95af6fe5
3
+ metadata.gz: 942dce94db368b872f9ea964f76636215e71629cbaf4de313464fca664ad4a29
4
+ data.tar.gz: d9de136a56fd72cff7892a14bab9c186c9432582d0ef9efd5bb028db628e1dfe
5
5
  SHA512:
6
- metadata.gz: 13865ee2ece3d2e84eff8b9c952f5239a90800c77289ce2e4cd0bc83c83e0a55edced7783212de88a63f04f52cb81777209a58aeaa8243dbb6a29cc4d57a65d8
7
- data.tar.gz: 9c086e67a99c20fb969a2e5da20896699813c3f88f36870180ce6a0322dc7f64dc9fccfdbc0c59c99bb6d52d1d20be2b0d3eeabb31c3a158bdd5293e3e5467dd
6
+ metadata.gz: 5203fa9ff71fd237d3704146d16baee5bafd448519729ab30c0d660b9705edec24cd22564a53617bf1b898f0aa53648306899451ee32460a53344bdfec2300ae
7
+ data.tar.gz: 781744afcd2e317a9368a73e948ef663668bad5c9e943b4ef7c7f2893dc0b44fad95b46cef48a88d2d524ee5013040ea39f652662e1ed691f5665856ab765c31
data/rubocop.yml CHANGED
@@ -12,6 +12,9 @@ Bundler/OrderedGems:
12
12
  Gemspec/DeprecatedAttributeAssignment:
13
13
  Enabled: true
14
14
 
15
+ Gemspec/DevelopmentDependencies:
16
+ Enabled: false
17
+
15
18
  Gemspec/RequireMFA:
16
19
  Enabled: false
17
20
 
@@ -305,6 +308,9 @@ Lint/UriRegexp:
305
308
  Lint/UselessMethodDefinition:
306
309
  Enabled: false
307
310
 
311
+ Lint/UselessRescue:
312
+ Enabled: true
313
+
308
314
  Lint/UselessRuby2Keywords:
309
315
  Enabled: true
310
316
 
@@ -410,6 +416,9 @@ Style/AndOr:
410
416
  Style/ArgumentsForwarding:
411
417
  Enabled: false
412
418
 
419
+ Style/ArrayIntersect:
420
+ Enabled: true
421
+
413
422
  Style/BisectedAttrAccessor:
414
423
  Enabled: false
415
424
 
@@ -442,6 +451,9 @@ Style/CommandLiteral:
442
451
  Style/CommentedKeyword:
443
452
  Enabled: false
444
453
 
454
+ Style/ComparableClamp:
455
+ Enabled: true
456
+
445
457
  Style/ConcatArrayLiterals:
446
458
  Enabled: true
447
459
 
@@ -553,6 +565,9 @@ Style/InPatternThen:
553
565
  Style/InverseMethods:
554
566
  Enabled: false
555
567
 
568
+ Style/InvertibleUnlessCondition:
569
+ Enabled: true
570
+
556
571
  Style/KeywordParametersOrder:
557
572
  Enabled: false
558
573
 
@@ -648,7 +663,7 @@ Style/OpenStructUse:
648
663
  Enabled: true
649
664
 
650
665
  Style/OperatorMethodCall:
651
- Enabled: false
666
+ Enabled: true
652
667
 
653
668
  Style/OptionalBooleanParameter:
654
669
  Enabled: false
@@ -781,6 +796,3 @@ Style/WordArray:
781
796
 
782
797
  Style/YodaCondition:
783
798
  Enabled: false
784
-
785
- Style/YodaExpression:
786
- Enabled: false
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.11.1
4
+ version: 2.12.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: 2023-01-02 00:00:00.000000000 Z
11
+ date: 2023-01-30 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.42'
19
+ version: '1.44'
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.42'
26
+ version: '1.44'
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
@@ -38,7 +38,7 @@ homepage: https://shopify.github.io/ruby-style-guide/
38
38
  licenses:
39
39
  - MIT
40
40
  metadata:
41
- source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.11.1
41
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.12.0
42
42
  allowed_push_host: https://rubygems.org
43
43
  post_install_message:
44
44
  rdoc_options: []