rubocop-inhouse 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/default.yml +0 -1
- data/config/layout.yml +1 -1
- data/config/lint.yml +1 -1
- data/config/metrics.yml +11 -11
- data/config/rails.yml +3 -3
- data/config/rspec.yml +20 -20
- data/config/style.yml +1 -1
- data/lib/rubocop/inhouse/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48f54735ce42a48166773964182081e2c6bf5bb318ac6cd14d111ec507abb883
|
4
|
+
data.tar.gz: 23a1296e201ccaacd634607cad7549aa5fe61142dc6f9aa6c9cf3817408bb6fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5845c84fa0bdfb15792a6de131f27033b11cc35e8d0594456d0f91139b6ddc4118a825ec14cb95bfa4cfa871d4ad6a3dad57dc682d42fa59632905298197e57
|
7
|
+
data.tar.gz: 76c4324593f42790e40cbf3201e61b4c3f82db287e48369d469ebd4ae899dbe12407dba9a04b655a740fc84783f3dde511f25b85bc00b97941592be6fd0b6a6d
|
data/config/default.yml
CHANGED
data/config/layout.yml
CHANGED
data/config/lint.yml
CHANGED
data/config/metrics.yml
CHANGED
@@ -4,17 +4,17 @@ Metrics/AbcSize:
|
|
4
4
|
# Excluding controllers here because respond_to blocks and others make this
|
5
5
|
# higher than they otherwise should be
|
6
6
|
Exclude:
|
7
|
-
- "app/controllers/**/*"
|
8
|
-
- "app/views/**/*.rb"
|
7
|
+
- "**/app/controllers/**/*"
|
8
|
+
- "**/app/views/**/*.rb"
|
9
9
|
|
10
10
|
Metrics/BlockLength:
|
11
11
|
CountComments: false
|
12
12
|
Max: 25
|
13
13
|
Exclude:
|
14
|
-
- "spec/**/*.rb"
|
15
|
-
- "config/**/*.rb"
|
16
|
-
- "app/views/**/*.rb"
|
17
|
-
- "lib/tasks/**/*.rake"
|
14
|
+
- "**/spec/**/*.rb"
|
15
|
+
- "**/config/**/*.rb"
|
16
|
+
- "**/app/views/**/*.rb"
|
17
|
+
- "**/lib/tasks/**/*.rake"
|
18
18
|
- "**/*.rake"
|
19
19
|
|
20
20
|
Metrics/CollectionLiteralLength:
|
@@ -24,8 +24,8 @@ Metrics/ClassLength:
|
|
24
24
|
CountAsOne: ["array", "hash"]
|
25
25
|
Max: 100
|
26
26
|
Exclude:
|
27
|
-
- "app/controllers/**/*.rb"
|
28
|
-
- "app/views/**/*.rb"
|
27
|
+
- "**/app/controllers/**/*.rb"
|
28
|
+
- "**/app/views/**/*.rb"
|
29
29
|
|
30
30
|
Metrics/CyclomaticComplexity:
|
31
31
|
Max: 10
|
@@ -34,13 +34,13 @@ Metrics/MethodLength:
|
|
34
34
|
CountAsOne: ["array", "hash", "method_call"]
|
35
35
|
Max: 20
|
36
36
|
Exclude:
|
37
|
-
- "app/views/**/*.rb"
|
37
|
+
- "**/app/views/**/*.rb"
|
38
38
|
|
39
39
|
Metrics/ModuleLength:
|
40
40
|
CountAsOne: ["array", "hash"]
|
41
41
|
Max: 100
|
42
42
|
Exclude:
|
43
|
-
- "spec/**/*.rb"
|
43
|
+
- "**/spec/**/*.rb"
|
44
44
|
|
45
45
|
Metrics/ParameterLists:
|
46
46
|
Max: 2
|
@@ -49,4 +49,4 @@ Metrics/ParameterLists:
|
|
49
49
|
Metrics/PerceivedComplexity:
|
50
50
|
Max: 8
|
51
51
|
Exclude:
|
52
|
-
- "app/views/**/*.rb"
|
52
|
+
- "**/app/views/**/*.rb"
|
data/config/rails.yml
CHANGED
@@ -159,9 +159,9 @@ Rails/SaveBang:
|
|
159
159
|
Enabled: true
|
160
160
|
AllowImplicitReturn: false
|
161
161
|
Exclude:
|
162
|
-
- "spec/**/*.rb"
|
163
|
-
- "config/**/*.rb"
|
164
|
-
- "lib/**/*.rb"
|
162
|
+
- "**/spec/**/*.rb"
|
163
|
+
- "**/config/**/*.rb"
|
164
|
+
- "**/lib/**/*.rb"
|
165
165
|
|
166
166
|
Rails/ShortI18n:
|
167
167
|
Enabled: true
|
data/config/rspec.yml
CHANGED
@@ -67,96 +67,96 @@ RSpec/VerifiedDoubleReference:
|
|
67
67
|
RSpec/SpecFilePathFormat:
|
68
68
|
Enabled: true
|
69
69
|
Exclude:
|
70
|
-
- "spec/factories/**/*.rb"
|
71
|
-
- "spec/components/**/*.rb"
|
70
|
+
- "**/spec/factories/**/*.rb"
|
71
|
+
- "**/spec/components/**/*.rb"
|
72
72
|
|
73
73
|
RSpec/MissingExampleGroupArgument:
|
74
74
|
Enabled: true
|
75
75
|
Exclude:
|
76
|
-
- 'spec/factories/**/*.rb'
|
76
|
+
- '**/spec/factories/**/*.rb'
|
77
77
|
|
78
78
|
RSpec/EmptyExampleGroup:
|
79
79
|
Enabled: true
|
80
80
|
Exclude:
|
81
|
-
- 'spec/factories/**/*.rb'
|
81
|
+
- '**/spec/factories/**/*.rb'
|
82
82
|
|
83
83
|
RSpec/AnyInstance:
|
84
84
|
Enabled: false
|
85
85
|
Exclude:
|
86
|
-
- 'spec/factories/**/*.rb'
|
86
|
+
- '**/spec/factories/**/*.rb'
|
87
87
|
|
88
88
|
RSpec/BeforeAfterAll:
|
89
89
|
Enabled: false
|
90
90
|
Exclude:
|
91
|
-
- 'spec/factories/**/*.rb'
|
91
|
+
- '**/spec/factories/**/*.rb'
|
92
92
|
|
93
93
|
RSpec/ContextWording:
|
94
94
|
Enabled: false
|
95
95
|
Exclude:
|
96
|
-
- 'spec/factories/**/*.rb'
|
96
|
+
- '**/spec/factories/**/*.rb'
|
97
97
|
|
98
98
|
RSpec/DescribeClass:
|
99
99
|
Enabled: false
|
100
100
|
Exclude:
|
101
|
-
- 'spec/factories/**/*.rb'
|
101
|
+
- '**/spec/factories/**/*.rb'
|
102
102
|
|
103
103
|
RSpec/ExampleLength:
|
104
104
|
Enabled: false
|
105
105
|
Exclude:
|
106
|
-
- 'spec/factories/**/*.rb'
|
106
|
+
- '**/spec/factories/**/*.rb'
|
107
107
|
|
108
108
|
RSpec/ExpectInHook:
|
109
109
|
Enabled: false
|
110
110
|
Exclude:
|
111
|
-
- 'spec/factories/**/*.rb'
|
111
|
+
- '**/spec/factories/**/*.rb'
|
112
112
|
|
113
113
|
RSpec/InstanceVariable:
|
114
114
|
Enabled: false
|
115
115
|
Exclude:
|
116
|
-
- 'spec/factories/**/*.rb'
|
116
|
+
- '**/spec/factories/**/*.rb'
|
117
117
|
|
118
118
|
RSpec/LetSetup:
|
119
119
|
Enabled: false
|
120
120
|
Exclude:
|
121
|
-
- 'spec/factories/**/*.rb'
|
121
|
+
- '**/spec/factories/**/*.rb'
|
122
122
|
|
123
123
|
RSpec/MessageChain:
|
124
124
|
Enabled: false
|
125
125
|
Exclude:
|
126
|
-
- 'spec/factories/**/*.rb'
|
126
|
+
- '**/spec/factories/**/*.rb'
|
127
127
|
|
128
128
|
RSpec/MessageSpies:
|
129
129
|
Enabled: false
|
130
130
|
Exclude:
|
131
|
-
- 'spec/factories/**/*.rb'
|
131
|
+
- '**/spec/factories/**/*.rb'
|
132
132
|
|
133
133
|
RSpec/MultipleExpectations:
|
134
134
|
Enabled: false
|
135
135
|
Exclude:
|
136
|
-
- 'spec/factories/**/*.rb'
|
136
|
+
- '**/spec/factories/**/*.rb'
|
137
137
|
|
138
138
|
RSpec/NamedSubject:
|
139
139
|
Enabled: false
|
140
140
|
Exclude:
|
141
|
-
- 'spec/factories/**/*.rb'
|
141
|
+
- '**/spec/factories/**/*.rb'
|
142
142
|
|
143
143
|
RSpec/NestedGroups:
|
144
144
|
Max: 7
|
145
145
|
Exclude:
|
146
|
-
- 'spec/factories/**/*.rb'
|
146
|
+
- '**/spec/factories/**/*.rb'
|
147
147
|
|
148
148
|
RSpec/SubjectStub:
|
149
149
|
Enabled: false
|
150
150
|
Exclude:
|
151
|
-
- 'spec/factories/**/*.rb'
|
151
|
+
- '**/spec/factories/**/*.rb'
|
152
152
|
|
153
153
|
RSpec/VerifiedDoubles:
|
154
154
|
Enabled: false
|
155
155
|
Exclude:
|
156
|
-
- 'spec/factories/**/*.rb'
|
156
|
+
- '**/spec/factories/**/*.rb'
|
157
157
|
|
158
158
|
RSpec/VoidExpect:
|
159
159
|
Enabled: false
|
160
160
|
Exclude:
|
161
|
-
- 'spec/factories/**/*.rb'
|
161
|
+
- '**/spec/factories/**/*.rb'
|
162
162
|
|
data/config/style.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-inhouse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nolan J Tait
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
- !ruby/object:Gem::Version
|
169
169
|
version: '0'
|
170
170
|
requirements: []
|
171
|
-
rubygems_version: 3.5.
|
171
|
+
rubygems_version: 3.5.14
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Rubocop configuration for InHouse projects
|