rubocop-shopify 2.13.0 → 2.14.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.yml +10 -3
- 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: 63613b7088f4aa93372f9e4feb012d749fb092865ab1a556aff4587e2fb77c3f
|
|
4
|
+
data.tar.gz: b6d3e195b06729ef3d2ef2d5107b8e3a534ce4bc11e521e34dfcc3f44727012a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0b453ba7067cc1d0e957b6827aa206b26f01178627866abbb1cb25be532f0e1ef98a75838a26f377337a1c635b28d79fb494e79e69b11d8f2afcfae4112275e
|
|
7
|
+
data.tar.gz: fe7eaf1cc8b434d634f480404f73b757fbf3ccf0f48103bae281508f7e554b2a44c8bf6f9a4466e0af8c627c306d92a4b67ebed78efa1482bc54e28795aa13d5
|
data/rubocop.yml
CHANGED
|
@@ -195,7 +195,7 @@ Lint/NestedPercentLiteral:
|
|
|
195
195
|
Enabled: false
|
|
196
196
|
|
|
197
197
|
Lint/NoReturnInBeginEndBlocks:
|
|
198
|
-
Enabled:
|
|
198
|
+
Enabled: true
|
|
199
199
|
|
|
200
200
|
Lint/NonAtomicFileOperation:
|
|
201
201
|
Enabled: false
|
|
@@ -372,8 +372,9 @@ Naming/InclusiveLanguage:
|
|
|
372
372
|
- leader
|
|
373
373
|
AllowedRegex:
|
|
374
374
|
- !ruby/regexp '/master[_\s\.]key/' # Rails master key
|
|
375
|
-
-
|
|
376
|
-
- '
|
|
375
|
+
- !ruby/regexp /\w*:\/\/\S+/ # URLs (e.g. https://github.com/org/repo/blob/master/README.md)
|
|
376
|
+
- !ruby/regexp '/(?:blob|tree)/master/' # e.g. github.com/org/repo/blob/master/README.md, without https://
|
|
377
|
+
- !ruby/regexp '/origin[ \/]master/' # Legacy default git branch name
|
|
377
378
|
- 'mastercard'
|
|
378
379
|
- 'webmaster'
|
|
379
380
|
|
|
@@ -512,6 +513,9 @@ Style/EnvHome:
|
|
|
512
513
|
Style/EvalWithLocation:
|
|
513
514
|
Enabled: false
|
|
514
515
|
|
|
516
|
+
Style/ExactRegexpMatch:
|
|
517
|
+
Enabled: true
|
|
518
|
+
|
|
515
519
|
Style/ExpandPathArguments:
|
|
516
520
|
Enabled: false
|
|
517
521
|
|
|
@@ -756,6 +760,9 @@ Style/RegexpLiteral:
|
|
|
756
760
|
Style/RescueStandardError:
|
|
757
761
|
Enabled: false
|
|
758
762
|
|
|
763
|
+
Style/ReturnNil:
|
|
764
|
+
Enabled: true
|
|
765
|
+
|
|
759
766
|
Style/SelectByRegexp:
|
|
760
767
|
Enabled: false
|
|
761
768
|
|
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.14.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-
|
|
11
|
+
date: 2023-06-09 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.51'
|
|
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.51'
|
|
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.
|
|
41
|
+
source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.14.0
|
|
42
42
|
allowed_push_host: https://rubygems.org
|
|
43
43
|
post_install_message:
|
|
44
44
|
rdoc_options: []
|
|
@@ -55,7 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: '0'
|
|
57
57
|
requirements: []
|
|
58
|
-
rubygems_version: 3.4.
|
|
58
|
+
rubygems_version: 3.4.13
|
|
59
59
|
signing_key:
|
|
60
60
|
specification_version: 4
|
|
61
61
|
summary: Shopify's style guide for Ruby.
|