1
1
# This configuration was generated by
2
2
# `rubocop --auto-gen-config`
3
- # on 2021-02-24 19:09:31 +0100 using RuboCop version 0.61.1 .
3
+ # on 2021-07-21 08:44:28 UTC using RuboCop version 1.18.3 .
4
4
# The point is for the user to remove these configuration records
5
5
# one by one as the offenses are removed from the code base.
6
6
# Note that changes in the inspected code, or installation of new
7
7
# versions of RuboCop, may require this file to be generated again.
8
8
9
- # Offense count: 42
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
12
- # SupportedHashRocketStyles: key, separator, table
13
- # SupportedColonStyles: key, separator, table
14
- # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
15
- Layout/AlignHash :
16
- Exclude :
17
- - ' lib/autoprovision/portal/app_client.rb'
18
-
19
- # Offense count: 15
9
+ # Offense count: 13
20
10
# Cop supports --auto-correct.
21
11
Layout/EmptyLineAfterGuardClause :
22
12
Exclude :
23
13
- ' lib/autoprovision/auth_data.rb'
24
14
- ' lib/autoprovision/certificate_helper.rb'
25
15
- ' lib/autoprovision/device.rb'
26
16
- ' lib/autoprovision/portal/app_client.rb'
27
- - ' lib/autoprovision/portal/common.rb'
28
17
- ' lib/autoprovision/project_helper.rb'
29
18
- ' log/log.rb'
30
19
- ' params.rb'
31
20
32
- # Offense count: 1
21
+ # Offense count: 42
33
22
# Cop supports --auto-correct.
34
- Layout/EmptyLinesAroundExceptionHandlingKeywords :
23
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
24
+ # SupportedHashRocketStyles: key, separator, table
25
+ # SupportedColonStyles: key, separator, table
26
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
27
+ Layout/HashAlignment :
35
28
Exclude :
36
- - ' main .rb'
29
+ - ' lib/autoprovision/portal/app_client .rb'
37
30
38
- # Offense count: 3
31
+ # Offense count: 1
39
32
# Cop supports --auto-correct.
40
33
# Configuration parameters: Width, IgnoredPatterns.
41
34
Layout/IndentationWidth :
42
35
Exclude :
43
36
- ' log/log.rb'
44
- - ' main.rb'
45
37
46
38
# Offense count: 1
47
39
# Cop supports --auto-correct.
48
- # Configuration parameters: EnforcedStyle.
49
- # SupportedStyles: final_newline, final_blank_line
50
- Layout/TrailingBlankLines :
40
+ # Configuration parameters: AllowInHeredoc.
41
+ Layout/TrailingWhitespace :
51
42
Exclude :
52
- - ' main .rb'
43
+ - ' spec/device_client_spec .rb'
53
44
54
- # Offense count: 32
45
+ # Offense count: 29
46
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
55
47
Metrics/AbcSize :
56
- Max : 65
48
+ Max : 64
57
49
58
50
# Offense count: 2
59
- # Configuration parameters: CountComments, ExcludedMethods.
60
- # ExcludedMethods : refine
51
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods .
52
+ # IgnoredMethods : refine
61
53
Metrics/BlockLength :
62
- Max : 38
54
+ Max : 78
63
55
64
56
# Offense count: 4
65
- # Configuration parameters: CountComments.
57
+ # Configuration parameters: CountComments, CountAsOne .
66
58
Metrics/ClassLength :
67
59
Max : 331
68
60
69
- # Offense count: 16
61
+ # Offense count: 17
62
+ # Configuration parameters: IgnoredMethods.
70
63
Metrics/CyclomaticComplexity :
71
- Max : 18
64
+ Max : 22
72
65
73
66
# Offense count: 35
74
- # Configuration parameters: CountComments, ExcludedMethods.
67
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods .
75
68
Metrics/MethodLength :
76
69
Max : 61
77
70
78
71
# Offense count: 2
79
- # Configuration parameters: CountKeywordArgs.
72
+ # Configuration parameters: CountKeywordArgs, MaxOptionalParameters .
80
73
Metrics/ParameterLists :
81
74
Max : 8
82
75
83
- # Offense count: 13
76
+ # Offense count: 16
77
+ # Configuration parameters: IgnoredMethods.
84
78
Metrics/PerceivedComplexity :
85
- Max : 22
79
+ Max : 24
80
+
81
+ # Offense count: 1
82
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
83
+ # AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
84
+ Naming/MethodParameterName :
85
+ Exclude :
86
+ - ' lib/autoprovision/portal/common.rb'
87
+
88
+ # Offense count: 7
89
+ # Cop supports --auto-correct.
90
+ # Configuration parameters: PreferredName.
91
+ Naming/RescuedExceptionsVariableName :
92
+ Exclude :
93
+ - ' lib/autoprovision/portal/common.rb'
94
+ - ' lib/autoprovision/portal/device_client.rb'
95
+ - ' lib/autoprovision/portal/profile_client.rb'
96
+ - ' lib/autoprovision/profile_helper.rb'
97
+ - ' step.rb'
98
+
99
+ # Offense count: 32
100
+ # Cop supports --auto-correct.
101
+ # Configuration parameters: EnforcedStyle.
102
+ # SupportedStyles: separated, grouped
103
+ Style/AccessorGrouping :
104
+ Exclude :
105
+ - ' lib/autoprovision/auth_data.rb'
106
+ - ' lib/autoprovision/certificate_helper.rb'
107
+ - ' lib/autoprovision/certificate_info.rb'
108
+ - ' lib/autoprovision/device.rb'
109
+ - ' lib/autoprovision/profile_info.rb'
110
+ - ' lib/autoprovision/project_helper.rb'
111
+ - ' params.rb'
86
112
87
113
# Offense count: 1
88
114
# Cop supports --auto-correct.
89
115
Style/BlockComments :
90
116
Exclude :
91
117
- ' spec/spec_helper.rb'
92
118
119
+ # Offense count: 2
120
+ # Cop supports --auto-correct.
121
+ Style/CaseLikeIf :
122
+ Exclude :
123
+ - ' lib/autoprovision/portal/app_client.rb'
124
+
93
125
# Offense count: 1
94
126
# Configuration parameters: MinBodyLength.
95
127
Style/GuardClause :
@@ -103,7 +135,41 @@ Style/IfUnlessModifier:
103
135
- ' lib/autoprovision/certificate_helper.rb'
104
136
- ' lib/autoprovision/profile_helper.rb'
105
137
106
- # Offense count: 7
138
+ # Offense count: 1
139
+ # Cop supports --auto-correct.
140
+ # Configuration parameters: IgnoredMethods.
141
+ Style/MethodCallWithoutArgsParentheses :
142
+ Exclude :
143
+ - ' spec/device_client_spec.rb'
144
+
145
+ # Offense count: 3
146
+ # Configuration parameters: AllowedMethods.
147
+ # AllowedMethods: respond_to_missing?
148
+ Style/OptionalBooleanParameter :
149
+ Exclude :
150
+ - ' lib/autoprovision/portal/profile_client.rb'
151
+ - ' lib/autoprovision/profile_helper.rb'
152
+
153
+ # Offense count: 2
154
+ # Cop supports --auto-correct.
155
+ Style/RedundantAssignment :
156
+ Exclude :
157
+ - ' lib/autoprovision/device.rb'
158
+ - ' lib/autoprovision/utils.rb'
159
+
160
+ # Offense count: 1
161
+ # Cop supports --auto-correct.
162
+ Style/RedundantFileExtensionInRequire :
163
+ Exclude :
164
+ - ' spec/project_helper_spec.rb'
165
+
166
+ # Offense count: 2
167
+ # Cop supports --auto-correct.
168
+ Style/RedundantSelfAssignment :
169
+ Exclude :
170
+ - ' lib/autoprovision/portal/device_client.rb'
171
+
172
+ # Offense count: 6
107
173
# Cop supports --auto-correct.
108
174
# Configuration parameters: EnforcedStyle.
109
175
# SupportedStyles: implicit, explicit
@@ -112,19 +178,38 @@ Style/RescueStandardError:
112
178
- ' lib/autoprovision/portal/device_client.rb'
113
179
- ' lib/autoprovision/portal/profile_client.rb'
114
180
- ' lib/autoprovision/profile_helper.rb'
115
- - ' main.rb'
116
181
- ' step.rb'
117
182
118
- # Offense count: 4
183
+ # Offense count: 6
119
184
# Cop supports --auto-correct.
120
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
121
- # SupportedStyles: single_quotes, double_quotes
122
- Style/StringLiterals :
185
+ # Configuration parameters: Mode.
186
+ Style/StringConcatenation :
123
187
Exclude :
124
- - ' main.rb'
188
+ - ' lib/autoprovision/auth_helper.rb'
189
+ - ' lib/autoprovision/keychain_helper.rb'
190
+ - ' lib/autoprovision/profile_helper.rb'
191
+ - ' lib/autoprovision/project_helper.rb'
192
+ - ' spec/project_helper_spec.rb'
125
193
126
- # Offense count: 235
127
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
194
+ # Offense count: 1
195
+ # Cop supports --auto-correct.
196
+ # Configuration parameters: EnforcedStyleForMultiline.
197
+ # SupportedStylesForMultiline: comma, consistent_comma, no_comma
198
+ Style/TrailingCommaInArrayLiteral :
199
+ Exclude :
200
+ - ' spec/device_client_spec.rb'
201
+
202
+ # Offense count: 2
203
+ # Cop supports --auto-correct.
204
+ # Configuration parameters: WordRegex.
205
+ # SupportedStyles: percent, brackets
206
+ Style/WordArray :
207
+ EnforcedStyle : percent
208
+ MinSize : 3
209
+
210
+ # Offense count: 56
211
+ # Cop supports --auto-correct.
212
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
128
213
# URISchemes: http, https
129
- Metrics /LineLength :
214
+ Layout /LineLength :
130
215
Max : 225
0 commit comments