rubocop-shopify 2.8.0 → 2.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +21 -0
  3. data/rubocop.yml +6 -1
  4. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9436f1120bb39bca1433d1d5cece0818f6f103710e20eb2888973874651e2398
4
- data.tar.gz: fb39f6f552f0b46082b0dfb1aad399ee0734fc251be027f437a20744126fc1f7
3
+ metadata.gz: e9421e44b59a1ecaaaad089fc20585b3e0ebb4098573fc2d4c6a191a56276295
4
+ data.tar.gz: 83eac3987d5c8014fc917bd273af585420118669b308dbf97f86ecd45e613c3b
5
5
  SHA512:
6
- metadata.gz: 327baf61e43e2b609ecb53d97f8c03e09dd6120158b7b78e3885859330c3e43ef59bed5741ff3b17a4178ac6f700e8bd1b0f0463ff2b91878185f63e581a2575
7
- data.tar.gz: f76f47ef54165657a87463f1749e27c56e3e7847b6e245536e42060727327f50fc43b0c697b53cf1946fe02f8b2f1fb2026c221603603ca9fb68a4f98b33b5e5
6
+ metadata.gz: 9e2c05e08cfac80b27607ac6ff87b5df8ddd8f0428cc3fba6421633a1bc94f6d81c3b23a65f3a7988811b26dc3cf503f060324628829893468d69835f4fbb787
7
+ data.tar.gz: bd9567bb9feff7f8da173bda31c42aab68c004dfff01a8809030ef7bf5cc633768dcfcf1cb9d695dc97c448d40a192b01de44538a04b3f37d8d1cbe4c5e4e584
data/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2015-2022 Shopify Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/rubocop.yml CHANGED
@@ -531,7 +531,7 @@ Style/MapToHash:
531
531
 
532
532
  Style/MethodCallWithArgsParentheses:
533
533
  Enabled: true
534
- IgnoredMethods:
534
+ AllowedMethods:
535
535
  - require
536
536
  - require_relative
537
537
  - require_dependency
@@ -723,3 +723,8 @@ Style/WordArray:
723
723
 
724
724
  Style/YodaCondition:
725
725
  Enabled: false
726
+
727
+ Style/ClassMethodsDefinitions:
728
+ EnforcedStyle: self_class
729
+ Enabled: true
730
+
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.8.0
4
+ version: 2.9.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-06-28 00:00:00.000000000 Z
11
+ date: 2022-08-05 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.31'
19
+ version: '1.33'
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.31'
26
+ version: '1.33'
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
@@ -31,13 +31,14 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - LICENSE.md
34
35
  - rubocop-cli.yml
35
36
  - rubocop.yml
36
37
  homepage: https://shopify.github.io/ruby-style-guide/
37
38
  licenses:
38
39
  - MIT
39
40
  metadata:
40
- source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.8.0
41
+ source_code_uri: https://github.com/Shopify/ruby-style-guide/tree/v2.9.0
41
42
  allowed_push_host: https://rubygems.org
42
43
  post_install_message:
43
44
  rdoc_options: []