switchcop 0.1.3 → 0.1.5

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 +32 -0
  3. metadata +23 -23
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed18a240ff1d0ecabff67a37e8db92d93c718afdc8971ae4e869d08e14dba389
4
- data.tar.gz: f492a9038436911cc9a5eedfbf05efafd7de4bf37528f8abd6ac6951d7eaaa52
3
+ metadata.gz: 063be50be874bbf6b52fde095de5b514c59ef98d39529c96138915a6523ed86c
4
+ data.tar.gz: f5a3d7c40d92f43cf67b9ceda2af9de99a098f63a2afdfa261838b519318f2bc
5
5
  SHA512:
6
- metadata.gz: 55b4219c6d6cc27a159af84aafbaf6c931d0f308655abf7514bf8fcf6dc3ba89f8a803fc6957af892e1f3d66866e613f5d2256a4c3f720411a502977f46a052c
7
- data.tar.gz: 7e22db6fcaac98c6c31ba1840fcf24b499bf0ce1ada3accdc2c2d67af269eb0ff76f36f449720fe06ceaa1e0fbff2b9e8996a48108351849b4cf6b00e3382ef8
6
+ metadata.gz: f5ed3284405032baaa7cf9e539754fc8c177ca7bb7695242c349a30f4cbd033b1b244ab7a20a56bbad549072b7db9502510259c95f8540f6348ba92e4a410692
7
+ data.tar.gz: 839f334deb492157b45299d33837facd172ad6ef9d51b9cd7915032fc1cfcfa4d65ce08a0d576559a425d71f372a7754cf59658abc5cfe12294d3b474145b4fa
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
@@ -20,6 +21,14 @@ Style/ClassAndModuleChildren:
20
21
  Style/Documentation:
21
22
  Enabled: false
22
23
 
24
+ # Layout
25
+
26
+ Layout/ArgumentAlignment:
27
+ EnforcedStyle: with_fixed_indentation
28
+
29
+ Layout/MultilineHashKeyLineBreaks:
30
+ Enabled: false
31
+
23
32
  # Metrics
24
33
 
25
34
  Metrics/AbcSize:
@@ -33,5 +42,28 @@ Metrics/BlockLength:
33
42
  RSpec/Rails/InferredSpecType:
34
43
  Enabled: false
35
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
+
36
67
  AllCops:
68
+ SuggestExtensions: false
37
69
  NewCops: enable
metadata CHANGED
@@ -1,85 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchcop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Switch Dreams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2024-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.48'
19
+ version: 1.60.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: '1.48'
26
+ version: 1.60.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: '1.16'
33
+ version: 1.20.2
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: '1.16'
40
+ version: 1.20.2
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: '2.18'
47
+ version: 2.23.1
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: '2.18'
54
+ version: 2.23.1
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: '2.19'
61
+ version: 2.26.1
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: '2.19'
68
+ version: 2.26.1
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: '2.12'
75
+ version: '2.14'
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: '2.12'
82
+ version: '2.14'
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.3.3
115
+ rubygems_version: 3.4.10
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Switch Dreams' style guide for Ruby.