switchcop 0.1.4 → 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 +24 -0
  3. metadata +13 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5bb75f022de4fa705d7c4015455c45b4e854b93759c25c1b70c1ce5732af3c2
4
- data.tar.gz: fefb84b22b9ac0a7be7930297f7a65e16b9b9099f09c95ef013005708732e345
3
+ metadata.gz: 063be50be874bbf6b52fde095de5b514c59ef98d39529c96138915a6523ed86c
4
+ data.tar.gz: f5a3d7c40d92f43cf67b9ceda2af9de99a098f63a2afdfa261838b519318f2bc
5
5
  SHA512:
6
- metadata.gz: 3c56fefedbff64a11f5694dd7dfe4ea26d32f24e8a0f70ef808b6f7448ec1e7d9d7ec41f9a4b1c1d83f1788d33d26d7fe21d351870d5b54817afcc4ea6000566
7
- data.tar.gz: 16e09d56bd9a8e467ec8df3c945e73c58a89b189b35eac2c75f33182bf0fad0ee706c3d49ba314e9a1786efcf2723f2b50ed4211d18c2e2ae1637121a8173e58
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
@@ -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
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-06-06 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
@@ -16,70 +16,70 @@ dependencies:
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.