switchcop 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/rubocop.yml +24 -0
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8657607ea10ebe4b979316cb20ac9572f1e576173f5a2d707eadf717c0ecf46
|
4
|
+
data.tar.gz: fa338b34894770020fa697b3be9665edfb5df3dc85707c06a57de0fd59d36e59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21af93890e7a869a56f7ff7db4b12a6671868337bf379e9b5d0084d7d758a00986d43b9f83b2092b2cc2438e49ec2076d46fa5e694a514c8c30033fbdb177170
|
7
|
+
data.tar.gz: 19d8225ea788353174ceaac5ad8fc162ffdac0c32df507ad523ab9b4c123247873866b0ad8ed6cc41c2c8d5cdbee56f33dec827a658f1edd152fb63505373b14
|
data/rubocop.yml
CHANGED
@@ -2,6 +2,7 @@ require:
|
|
2
2
|
- rubocop-rails
|
3
3
|
- rubocop-performance
|
4
4
|
- rubocop-rspec
|
5
|
+
- rubocop-factory_bot
|
5
6
|
|
6
7
|
inherit_gem:
|
7
8
|
rubocop-shopify: rubocop.yml
|
@@ -41,5 +42,28 @@ Metrics/BlockLength:
|
|
41
42
|
RSpec/Rails/InferredSpecType:
|
42
43
|
Enabled: false
|
43
44
|
|
45
|
+
RSpec/Rails/NegationBeValid:
|
46
|
+
Enabled: false
|
47
|
+
|
48
|
+
RSpec/IndexedLet:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
# Rails
|
52
|
+
|
53
|
+
Rails/ThreeStateBooleanColumn:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
Rails/FindEach:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
# FactoryBot
|
60
|
+
|
61
|
+
FactoryBot/AssociationStyle:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
FactoryBot/RedundantFactoryOption:
|
65
|
+
Enabled: false
|
66
|
+
|
44
67
|
AllCops:
|
68
|
+
SuggestExtensions: false
|
45
69
|
NewCops: enable
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: switchcop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Switch Dreams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 1.64.1
|
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:
|
26
|
+
version: 1.64.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 1.21.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 1.21.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rubocop-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 2.25.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 2.25.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 2.29.2
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.29.2
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rubocop-shopify
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.15.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 2.15.1
|
83
83
|
description: Gem containing the rubocop.yml config for Switch Dreams` style guide
|
84
84
|
for Ruby.
|
85
85
|
email:
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '0'
|
114
114
|
requirements: []
|
115
|
-
rubygems_version: 3.
|
115
|
+
rubygems_version: 3.5.3
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Switch Dreams' style guide for Ruby.
|