rubocop-shopify 1.0.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/rubocop-cli.yml +3 -2
- data/rubocop.yml +13 -12
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 427947a9f6de76856e9903b724d5b4a61cd3781a6a468d02c6232cd15f76139f
|
|
4
|
+
data.tar.gz: af823f2ed650d4b1844c8afa9e95da123da510a347ceb5c13e7a4db7da2813cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 258adbdfe71a0820ccfb4124dfe2e5c7625741d59a914e7b1c511a663d3e346ebf3e203c5a130aacf374e4c549abb5faf385faf27cd7fc32591c94ab952844c4
|
|
7
|
+
data.tar.gz: 9885612e116859fb92d448d4314b05c1ba226fc452bf0d63e3c9867983230b2b682872a04748be47b7b13dcc044b9d6c5b97495b55299e90334c3c6046c0838e
|
data/rubocop-cli.yml
CHANGED
data/rubocop.yml
CHANGED
|
@@ -20,6 +20,12 @@ Style/Alias:
|
|
|
20
20
|
- prefer_alias
|
|
21
21
|
- prefer_alias_method
|
|
22
22
|
|
|
23
|
+
Layout/ArgumentAlignment:
|
|
24
|
+
EnforcedStyle: with_fixed_indentation
|
|
25
|
+
SupportedStyles:
|
|
26
|
+
- with_first_argument
|
|
27
|
+
- with_fixed_indentation
|
|
28
|
+
|
|
23
29
|
Layout/HashAlignment:
|
|
24
30
|
EnforcedHashRocketStyle: key
|
|
25
31
|
EnforcedColonStyle: key
|
|
@@ -165,14 +171,6 @@ Naming/FileName:
|
|
|
165
171
|
Regex:
|
|
166
172
|
IgnoreExecutableScripts: true
|
|
167
173
|
|
|
168
|
-
Layout/FirstArgumentIndentation:
|
|
169
|
-
EnforcedStyle: consistent
|
|
170
|
-
SupportedStyles:
|
|
171
|
-
- consistent
|
|
172
|
-
- special_for_inner_method_call
|
|
173
|
-
- special_for_inner_method_call_in_parentheses
|
|
174
|
-
IndentationWidth:
|
|
175
|
-
|
|
176
174
|
Style/For:
|
|
177
175
|
EnforcedStyle: each
|
|
178
176
|
SupportedStyles:
|
|
@@ -399,11 +397,14 @@ Style/StabbyLambdaParentheses:
|
|
|
399
397
|
- require_parentheses
|
|
400
398
|
- require_no_parentheses
|
|
401
399
|
|
|
400
|
+
Style/StringLiterals:
|
|
401
|
+
Enabled: true
|
|
402
|
+
EnforcedStyle: double_quotes
|
|
403
|
+
ConsistentQuotesInMultiline: false
|
|
404
|
+
|
|
402
405
|
Style/StringLiteralsInInterpolation:
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
- single_quotes
|
|
406
|
-
- double_quotes
|
|
406
|
+
Enabled: true
|
|
407
|
+
EnforcedStyle: double_quotes
|
|
407
408
|
|
|
408
409
|
Layout/SpaceAroundBlockParameters:
|
|
409
410
|
EnforcedStyleInsidePipes: no_space
|
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:
|
|
4
|
+
version: 2.0.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:
|
|
11
|
+
date: 2021-03-23 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.11'
|
|
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.11'
|
|
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/
|
|
40
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.0.0
|
|
41
41
|
allowed_push_host: https://rubygems.org
|
|
42
42
|
post_install_message:
|
|
43
43
|
rdoc_options: []
|