rubocop-shopify 2.11.0 → 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 +15 -3
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21ac23c9ebfbd7f589aa8524df6f3a183ee125d9b25016c2a8ed83b93d46ce9e
4
- data.tar.gz: 578b7168d89eaf4cbea64e7003e8cb9cf238947f316e6bf6bde5fd2f89960816
3
+ metadata.gz: 942dce94db368b872f9ea964f76636215e71629cbaf4de313464fca664ad4a29
4
+ data.tar.gz: d9de136a56fd72cff7892a14bab9c186c9432582d0ef9efd5bb028db628e1dfe
5
5
  SHA512:
6
- metadata.gz: 527471d3e1919a3e0f858c2e67a5039b5cdee05693b79d29fdd09d55096e73ce92bb16ba4d96af088ca8ba1fd804dc3c376237c3486e470953b4a6570a26c672
7
- data.tar.gz: 9b5629342bc006f44e9d8905852d715d4ab01d049bb32008325ce4fc80b6c2f60e8c47bd282748dcacb86eee6002025548a572f571e31d3fa1d44e366b9d4568
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
 
@@ -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.0
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.0
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: []