rubocop-shopify 2.4.0 → 2.5.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 +6 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34017fcf49afc88f15b88b908e95438cc9718dddf0276f75cb379060bfdd5938
4
- data.tar.gz: 26f48c655dc94bcbe27d188c6bd870d86195e4c9e996b6a1e07ce882ff27c1a8
3
+ metadata.gz: 919bdd1ac16cef2b85d4ca1fbaca5286a3e798082b0bdc05449a9caeee55b773
4
+ data.tar.gz: 1c330205e8c41176286f07d4a1dd889bc29940b746009b9b387d6382a2f3da5b
5
5
  SHA512:
6
- metadata.gz: b77c16b8c19b9791da448d56a518f4ef940655ddc0c0f1cbbbf25906575bb118440af3c89b993a9980db618a43b41be0aca34686bbf8982de91107410e80ca3b
7
- data.tar.gz: d11b5d953a318f61d6b7d420161688ec9fa98cf2869c3b79078e06098932214ecf497f3784e36aef608c419beaea16057cf96f6277a6f73bd5b5068b7cd7cec5
6
+ metadata.gz: 567e49decd34e1944f9f96843b68d849bb4bb2a9c8e5cd75402c609a60a1a709c3882f5c7b260ff1b404e32c984a1f129425224a565e2c0d068a120526eeb4c5
7
+ data.tar.gz: 2c013458b013c729069ae805bc5cbc234d9351ea3dcf7dab02231c5b155fe4a1d84477e0311a47ad9a93f305c4c6578bad64918a46975aa7046e5498651bf6bf
data/rubocop.yml CHANGED
@@ -25,7 +25,7 @@ Layout/CaseIndentation:
25
25
  EnforcedStyle: end
26
26
 
27
27
  Layout/EmptyLineAfterGuardClause:
28
- Enabled: false
28
+ Enabled: true
29
29
 
30
30
  Layout/EndAlignment:
31
31
  EnforcedStyleAlignWith: variable
@@ -326,6 +326,7 @@ Naming/InclusiveLanguage:
326
326
  - 'blob/master/'
327
327
  - 'origin/master'
328
328
  - 'mastercard'
329
+ - 'webmaster'
329
330
 
330
331
  Naming/MemoizedInstanceVariableName:
331
332
  Enabled: false
@@ -463,7 +464,7 @@ Style/FrozenStringLiteralComment:
463
464
  sure we''re ready.'
464
465
 
465
466
  Style/GlobalStdStream:
466
- Enabled: false
467
+ Enabled: true
467
468
 
468
469
  Style/GuardClause:
469
470
  Enabled: false
@@ -483,6 +484,9 @@ Style/HashExcept:
483
484
  Style/HashLikeCase:
484
485
  Enabled: false
485
486
 
487
+ Style/HashSyntax:
488
+ EnforcedShorthandSyntax: either
489
+
486
490
  Style/HashTransformKeys:
487
491
  Enabled: false
488
492
 
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.0
4
+ version: 2.5.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-01-11 00:00:00.000000000 Z
11
+ date: 2022-03-04 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.24'
19
+ version: '1.25'
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.24'
26
+ version: '1.25'
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.4.0
40
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.5.0
41
41
  allowed_push_host: https://rubygems.org
42
42
  post_install_message:
43
43
  rdoc_options: []