evva 0.4.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/{rubocop.yml → .rubocop.yml} +10 -6
- data/.rubocop_todo.yml +244 -326
- data/Gemfile +12 -10
- data/Gemfile.lock +60 -49
- data/README.md +1 -1
- data/bin/evva +1 -1
- data/changelog.md +9 -0
- data/evva.gemspec +14 -12
- data/lib/evva/config.rb +1 -1
- data/lib/evva/file_reader.rb +1 -1
- data/lib/evva/google_sheet.rb +17 -17
- data/lib/evva/{android_generator.rb → kotlin_generator.rb} +8 -10
- data/lib/evva/logger.rb +6 -6
- data/lib/evva/object_extension.rb +1 -1
- data/lib/evva/swift_generator.rb +9 -11
- data/lib/evva/templates/kotlin/events.kt +1 -1
- data/lib/evva/version.rb +2 -2
- data/lib/evva.rb +24 -24
- data/spec/lib/evva/config_spec.rb +25 -25
- data/spec/lib/evva/google_sheet_spec.rb +21 -21
- data/spec/lib/evva/{android_generator_spec.rb → kotlin_generator_spec.rb} +31 -31
- data/spec/lib/evva/logger_spec.rb +9 -9
- data/spec/lib/evva/object_extension_spec.rb +28 -28
- data/spec/lib/evva/swift_generator_spec.rb +14 -14
- data/spec/spec_helper.rb +4 -4
- metadata +12 -10
data/.rubocop_todo.yml
CHANGED
@@ -1,477 +1,395 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2024-10-16 13:52:18 UTC using RuboCop version 1.67.0.
|
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:
|
10
|
-
#
|
11
|
-
# Configuration parameters:
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
- 'Gemfile'
|
9
|
+
# Offense count: 4
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: IndentationWidth.
|
12
|
+
# SupportedStyles: outdent, indent
|
13
|
+
Layout/AccessModifierIndentation:
|
14
|
+
EnforcedStyle: indent
|
16
15
|
|
17
16
|
# Offense count: 2
|
18
|
-
#
|
19
|
-
|
17
|
+
# This cop supports safe autocorrection (--autocorrect).
|
18
|
+
# Configuration parameters: EnforcedStyleAlignWith.
|
19
|
+
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
20
|
+
Layout/BlockAlignment:
|
20
21
|
Exclude:
|
21
|
-
- 'spec/lib/evva/
|
22
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
22
23
|
|
23
|
-
# Offense count:
|
24
|
-
#
|
24
|
+
# Offense count: 10
|
25
|
+
# This cop supports safe autocorrection (--autocorrect).
|
25
26
|
Layout/BlockEndNewline:
|
26
27
|
Exclude:
|
27
|
-
- 'spec/lib/evva/
|
28
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
29
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
28
30
|
|
29
|
-
# Offense count:
|
30
|
-
#
|
31
|
-
# Configuration parameters:
|
32
|
-
|
31
|
+
# Offense count: 8
|
32
|
+
# This cop supports safe autocorrection (--autocorrect).
|
33
|
+
# Configuration parameters: EnforcedStyle.
|
34
|
+
# SupportedStyles: leading, trailing
|
35
|
+
Layout/DotPosition:
|
33
36
|
Exclude:
|
34
|
-
- 'lib/evva/
|
37
|
+
- 'lib/evva/kotlin_generator.rb'
|
38
|
+
- 'lib/evva/swift_generator.rb'
|
39
|
+
- 'spec/evva_spec.rb'
|
35
40
|
|
36
41
|
# Offense count: 1
|
37
|
-
#
|
38
|
-
|
42
|
+
# This cop supports safe autocorrection (--autocorrect).
|
43
|
+
# Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
|
44
|
+
Layout/ExtraSpacing:
|
39
45
|
Exclude:
|
40
|
-
- 'lib/evva/event_generator.rb'
|
41
|
-
|
42
|
-
# Offense count: 4
|
43
|
-
# Cop supports --auto-correct.
|
44
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
45
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
46
|
-
Layout/EmptyLinesAroundBlockBody:
|
47
|
-
Exclude:
|
48
|
-
- 'lib/evva.rb'
|
49
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
50
46
|
- 'spec/lib/evva/google_sheet_spec.rb'
|
51
|
-
- 'spec/lib/evva/object_extension_spec.rb'
|
52
|
-
|
53
|
-
# Offense count: 3
|
54
|
-
# Cop supports --auto-correct.
|
55
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
56
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
57
|
-
Layout/EmptyLinesAroundClassBody:
|
58
|
-
Exclude:
|
59
|
-
- 'lib/evva/android_generator.rb'
|
60
|
-
- 'lib/evva/analytics_enum.rb'
|
61
|
-
- 'lib/evva/analytics_event.rb'
|
62
47
|
|
63
48
|
# Offense count: 1
|
64
|
-
#
|
65
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
66
|
-
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines
|
67
|
-
Layout/EmptyLinesAroundModuleBody:
|
68
|
-
Exclude:
|
69
|
-
- 'lib/evva.rb'
|
70
|
-
|
71
|
-
# Offense count: 6
|
72
|
-
# Cop supports --auto-correct.
|
49
|
+
# This cop supports safe autocorrection (--autocorrect).
|
73
50
|
# Configuration parameters: IndentationWidth.
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
- 'lib/evva/android_generator.rb'
|
78
|
-
- 'spec/lib/evva/enum_generator_spec.rb'
|
51
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
52
|
+
Layout/FirstArrayElementIndentation:
|
53
|
+
EnforcedStyle: consistent
|
79
54
|
|
80
|
-
# Offense count:
|
81
|
-
#
|
82
|
-
|
83
|
-
# SupportedStyles: normal, rails
|
84
|
-
Layout/IndentationConsistency:
|
55
|
+
# Offense count: 10
|
56
|
+
# This cop supports safe autocorrection (--autocorrect).
|
57
|
+
Layout/HeredocIndentation:
|
85
58
|
Exclude:
|
86
|
-
- 'spec/
|
59
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
60
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
87
61
|
|
88
|
-
# Offense count:
|
89
|
-
#
|
90
|
-
# Configuration parameters: Width,
|
62
|
+
# Offense count: 10
|
63
|
+
# This cop supports safe autocorrection (--autocorrect).
|
64
|
+
# Configuration parameters: Width, AllowedPatterns.
|
91
65
|
Layout/IndentationWidth:
|
92
66
|
Exclude:
|
93
|
-
- 'spec/lib/evva/
|
94
|
-
- 'spec/
|
67
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
68
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
95
69
|
|
96
|
-
# Offense count:
|
97
|
-
#
|
98
|
-
|
99
|
-
# SupportedStyles: symmetrical, new_line, same_line
|
100
|
-
Layout/MultilineArrayBraceLayout:
|
70
|
+
# Offense count: 10
|
71
|
+
# This cop supports safe autocorrection (--autocorrect).
|
72
|
+
Layout/MultilineBlockLayout:
|
101
73
|
Exclude:
|
102
|
-
- 'spec/lib/evva/
|
74
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
75
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
103
76
|
|
104
|
-
# Offense count:
|
105
|
-
#
|
106
|
-
|
77
|
+
# Offense count: 3
|
78
|
+
# This cop supports safe autocorrection (--autocorrect).
|
79
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
80
|
+
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
81
|
+
Layout/MultilineMethodCallIndentation:
|
107
82
|
Exclude:
|
108
|
-
- '
|
109
|
-
- '
|
83
|
+
- 'lib/evva/kotlin_generator.rb'
|
84
|
+
- 'lib/evva/swift_generator.rb'
|
110
85
|
|
111
|
-
# Offense count:
|
112
|
-
#
|
113
|
-
# Configuration parameters: EnforcedStyle,
|
86
|
+
# Offense count: 4
|
87
|
+
# This cop supports safe autocorrection (--autocorrect).
|
88
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
114
89
|
# SupportedStyles: aligned, indented
|
115
90
|
Layout/MultilineOperationIndentation:
|
116
91
|
Exclude:
|
117
|
-
- 'lib/evva/
|
118
|
-
- 'lib/evva/
|
92
|
+
- 'lib/evva/analytics_event.rb'
|
93
|
+
- 'lib/evva/analytics_property.rb'
|
119
94
|
|
120
|
-
# Offense count:
|
121
|
-
#
|
95
|
+
# Offense count: 7
|
96
|
+
# This cop supports safe autocorrection (--autocorrect).
|
122
97
|
Layout/SpaceAfterComma:
|
123
98
|
Exclude:
|
124
|
-
- 'lib/evva/
|
125
|
-
- 'lib/evva/
|
126
|
-
- 'lib/evva/object_extension.rb'
|
99
|
+
- 'lib/evva/kotlin_generator.rb'
|
100
|
+
- 'lib/evva/swift_generator.rb'
|
127
101
|
- 'spec/lib/evva/google_sheet_spec.rb'
|
128
102
|
|
129
|
-
# Offense count:
|
130
|
-
#
|
131
|
-
# Configuration parameters: EnforcedStyle,
|
132
|
-
# SupportedStyles: space, no_space
|
133
|
-
Layout/SpaceAroundEqualsInParameterDefault:
|
134
|
-
Exclude:
|
135
|
-
- 'lib/evva/object_extension.rb'
|
136
|
-
|
137
|
-
# Offense count: 2
|
138
|
-
# Cop supports --auto-correct.
|
139
|
-
# Configuration parameters: AllowForAlignment.
|
140
|
-
Layout/SpaceAroundOperators:
|
141
|
-
Exclude:
|
142
|
-
- 'lib/evva/enum_generator.rb'
|
143
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
144
|
-
|
145
|
-
# Offense count: 1
|
146
|
-
# Cop supports --auto-correct.
|
147
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SupportedStylesForEmptyBraces.
|
103
|
+
# Offense count: 94
|
104
|
+
# This cop supports safe autocorrection (--autocorrect).
|
105
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
|
148
106
|
# SupportedStyles: space, no_space, compact
|
149
107
|
# SupportedStylesForEmptyBraces: space, no_space
|
150
108
|
Layout/SpaceInsideHashLiteralBraces:
|
151
109
|
Exclude:
|
152
|
-
- '
|
153
|
-
|
154
|
-
|
155
|
-
# Cop supports --auto-correct.
|
156
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
157
|
-
# SupportedStyles: final_newline, final_blank_line
|
158
|
-
Layout/TrailingBlankLines:
|
159
|
-
Exclude:
|
160
|
-
- 'evva.gemspec'
|
161
|
-
- 'lib/evva.rb'
|
162
|
-
- 'lib/evva/android_generator.rb'
|
163
|
-
- 'lib/evva/enum_generator.rb'
|
164
|
-
- 'lib/evva/event_generator.rb'
|
165
|
-
- 'lib/evva/google_sheet.rb'
|
166
|
-
- 'lib/evva/analytics_enum.rb'
|
167
|
-
- 'lib/evva/analytics_event.rb'
|
168
|
-
- 'spec/lib/evva/enum_generator_spec.rb'
|
169
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
110
|
+
- 'lib/evva/config.rb'
|
111
|
+
- 'lib/evva/logger.rb'
|
112
|
+
- 'spec/lib/evva/config_spec.rb'
|
170
113
|
- 'spec/lib/evva/google_sheet_spec.rb'
|
114
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
115
|
+
- 'spec/lib/evva/object_extension_spec.rb'
|
116
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
171
117
|
|
172
|
-
# Offense count:
|
173
|
-
#
|
174
|
-
|
118
|
+
# Offense count: 1
|
119
|
+
# This cop supports safe autocorrection (--autocorrect).
|
120
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
121
|
+
Lint/AmbiguousBlockAssociation:
|
175
122
|
Exclude:
|
176
|
-
- '
|
177
|
-
- 'lib/evva/android_generator.rb'
|
178
|
-
- 'lib/evva/config.rb'
|
179
|
-
- 'lib/evva/event_generator.rb'
|
180
|
-
- 'spec/lib/evva/enum_generator_spec.rb'
|
181
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
182
|
-
- 'spec/lib/evva/google_sheet_spec.rb'
|
123
|
+
- 'spec/evva_spec.rb'
|
183
124
|
|
184
|
-
# Offense count:
|
125
|
+
# Offense count: 9
|
126
|
+
# This cop supports safe autocorrection (--autocorrect).
|
185
127
|
Lint/AmbiguousRegexpLiteral:
|
186
128
|
Exclude:
|
187
129
|
- 'spec/lib/evva/config_spec.rb'
|
188
|
-
- 'spec/lib/evva/data_source_spec.rb'
|
189
130
|
- 'spec/lib/evva/google_sheet_spec.rb'
|
190
131
|
- 'spec/lib/evva/object_extension_spec.rb'
|
191
132
|
|
192
|
-
# Offense count:
|
133
|
+
# Offense count: 3
|
134
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
193
135
|
# Configuration parameters: AllowSafeAssignment.
|
194
136
|
Lint/AssignmentInCondition:
|
195
137
|
Exclude:
|
196
138
|
- 'lib/evva.rb'
|
197
139
|
- 'lib/evva/config.rb'
|
198
|
-
- 'lib/evva/event_generator.rb'
|
199
|
-
|
200
|
-
# Offense count: 1
|
201
|
-
# Cop supports --auto-correct.
|
202
|
-
# Configuration parameters: EnforcedStyleAlignWith, SupportedStylesAlignWith.
|
203
|
-
# SupportedStylesAlignWith: either, start_of_block, start_of_line
|
204
|
-
Lint/BlockAlignment:
|
205
|
-
Exclude:
|
206
|
-
- 'spec/spec_helper.rb'
|
207
140
|
|
208
141
|
# Offense count: 1
|
142
|
+
# This cop supports safe autocorrection (--autocorrect).
|
209
143
|
Lint/ScriptPermission:
|
210
144
|
Exclude:
|
211
145
|
- 'bin/evva'
|
212
146
|
|
213
|
-
# Offense count:
|
147
|
+
# Offense count: 1
|
214
148
|
Lint/ShadowingOuterLocalVariable:
|
215
149
|
Exclude:
|
216
|
-
- 'lib/evva/
|
217
|
-
- 'lib/evva/object_extension.rb'
|
150
|
+
- 'lib/evva/swift_generator.rb'
|
218
151
|
|
219
|
-
# Offense count:
|
152
|
+
# Offense count: 1
|
153
|
+
# This cop supports safe autocorrection (--autocorrect).
|
154
|
+
# Configuration parameters: AutoCorrect.
|
220
155
|
Lint/UselessAssignment:
|
221
156
|
Exclude:
|
222
157
|
- 'lib/evva.rb'
|
223
|
-
- 'lib/evva/android_generator.rb'
|
224
|
-
- 'lib/evva/google_sheet.rb'
|
225
158
|
|
226
|
-
# Offense count:
|
159
|
+
# Offense count: 1
|
160
|
+
# This cop supports safe autocorrection (--autocorrect).
|
161
|
+
# Configuration parameters: AutoCorrect, CheckForMethodsWithNoSideEffects.
|
227
162
|
Lint/Void:
|
228
163
|
Exclude:
|
229
164
|
- 'lib/evva/analytics_enum.rb'
|
230
|
-
- 'lib/evva/analytics_event.rb'
|
231
165
|
|
232
|
-
# Offense count:
|
166
|
+
# Offense count: 7
|
167
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
|
233
168
|
Metrics/AbcSize:
|
234
|
-
Max:
|
169
|
+
Max: 44
|
235
170
|
|
236
|
-
# Offense count:
|
237
|
-
# Configuration parameters: CountComments,
|
171
|
+
# Offense count: 14
|
172
|
+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
|
173
|
+
# AllowedMethods: refine
|
238
174
|
Metrics/BlockLength:
|
239
|
-
Max:
|
175
|
+
Max: 220
|
176
|
+
|
177
|
+
# Offense count: 2
|
178
|
+
# Configuration parameters: CountComments, CountAsOne.
|
179
|
+
Metrics/ClassLength:
|
180
|
+
Max: 143
|
240
181
|
|
241
182
|
# Offense count: 1
|
183
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
242
184
|
Metrics/CyclomaticComplexity:
|
243
|
-
Max:
|
244
|
-
|
245
|
-
# Offense count: 39
|
246
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
247
|
-
# URISchemes: http, https
|
248
|
-
Metrics/LineLength:
|
249
|
-
Max: 148
|
185
|
+
Max: 13
|
250
186
|
|
251
|
-
# Offense count:
|
252
|
-
# Configuration parameters: CountComments.
|
187
|
+
# Offense count: 6
|
188
|
+
# Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
|
253
189
|
Metrics/MethodLength:
|
254
|
-
|
190
|
+
Exclude:
|
191
|
+
- 'lib/evva.rb'
|
192
|
+
- 'lib/evva/kotlin_generator.rb'
|
193
|
+
- 'lib/evva/object_extension.rb'
|
194
|
+
- 'lib/evva/swift_generator.rb'
|
255
195
|
|
256
196
|
# Offense count: 1
|
197
|
+
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
257
198
|
Metrics/PerceivedComplexity:
|
258
|
-
Max:
|
199
|
+
Max: 12
|
259
200
|
|
260
|
-
# Offense count:
|
261
|
-
#
|
262
|
-
|
201
|
+
# Offense count: 10
|
202
|
+
# This cop supports safe autocorrection (--autocorrect).
|
203
|
+
# Configuration parameters: EnforcedStyle.
|
204
|
+
# SupportedStyles: lowercase, uppercase
|
205
|
+
Naming/HeredocDelimiterCase:
|
263
206
|
Exclude:
|
264
|
-
- 'lib/evva.rb'
|
207
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
208
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
265
209
|
|
266
|
-
# Offense count:
|
267
|
-
#
|
268
|
-
|
210
|
+
# Offense count: 2
|
211
|
+
# Configuration parameters: NamePrefix, ForbiddenPrefixes, AllowedMethods, MethodDefinitionMacros.
|
212
|
+
# NamePrefix: is_, has_, have_
|
213
|
+
# ForbiddenPrefixes: is_, has_, have_
|
214
|
+
# AllowedMethods: is_a?
|
215
|
+
# MethodDefinitionMacros: define_method, define_singleton_method
|
216
|
+
Naming/PredicateName:
|
269
217
|
Exclude:
|
270
|
-
- 'spec
|
218
|
+
- 'spec/**/*'
|
219
|
+
- 'lib/evva/kotlin_generator.rb'
|
220
|
+
- 'lib/evva/swift_generator.rb'
|
271
221
|
|
272
|
-
# Offense count:
|
273
|
-
#
|
274
|
-
# Configuration parameters: EnforcedStyle,
|
275
|
-
# SupportedStyles: line_count_based, semantic, braces_for_chaining
|
222
|
+
# Offense count: 22
|
223
|
+
# This cop supports safe autocorrection (--autocorrect).
|
224
|
+
# Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
|
225
|
+
# SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
|
276
226
|
# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
|
277
227
|
# FunctionalMethods: let, let!, subject, watch
|
278
|
-
#
|
228
|
+
# AllowedMethods: lambda, proc, it
|
279
229
|
Style/BlockDelimiters:
|
280
230
|
Exclude:
|
281
|
-
- '
|
282
|
-
- 'spec/
|
283
|
-
|
284
|
-
|
285
|
-
# Cop supports --auto-correct.
|
286
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
287
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
288
|
-
Style/BracesAroundHashParameters:
|
289
|
-
Exclude:
|
290
|
-
- 'spec/lib/evva/config_spec.rb'
|
291
|
-
- 'spec/lib/evva/object_extension_spec.rb'
|
231
|
+
- 'lib/evva/swift_generator.rb'
|
232
|
+
- 'spec/evva_spec.rb'
|
233
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
234
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
292
235
|
|
293
236
|
# Offense count: 1
|
294
|
-
#
|
295
|
-
|
237
|
+
# This cop supports safe autocorrection (--autocorrect).
|
238
|
+
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
|
239
|
+
# SupportedStyles: assign_to_condition, assign_inside_condition
|
240
|
+
Style/ConditionalAssignment:
|
296
241
|
Exclude:
|
297
|
-
- 'lib/evva.rb'
|
242
|
+
- 'lib/evva/kotlin_generator.rb'
|
298
243
|
|
299
|
-
# Offense count:
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
- 'lib/evva/android_generator.rb'
|
306
|
-
- 'lib/evva/config.rb'
|
307
|
-
- 'lib/evva/data_source.rb'
|
308
|
-
- 'lib/evva/enum_generator.rb'
|
309
|
-
- 'lib/evva/event_generator.rb'
|
310
|
-
- 'lib/evva/google_sheet.rb'
|
311
|
-
- 'lib/evva/logger.rb'
|
312
|
-
- 'lib/evva/analytics_enum.rb'
|
313
|
-
- 'lib/evva/analytics_event.rb'
|
244
|
+
# Offense count: 23
|
245
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
246
|
+
# Configuration parameters: EnforcedStyle.
|
247
|
+
# SupportedStyles: always, always_true, never
|
248
|
+
Style/FrozenStringLiteralComment:
|
249
|
+
Enabled: false
|
314
250
|
|
315
251
|
# Offense count: 1
|
316
|
-
#
|
317
|
-
|
318
|
-
Exclude:
|
319
|
-
- 'lib/evva/object_extension.rb'
|
320
|
-
|
321
|
-
# Offense count: 2
|
322
|
-
# Configuration parameters: MinBodyLength.
|
252
|
+
# This cop supports safe autocorrection (--autocorrect).
|
253
|
+
# Configuration parameters: MinBodyLength, AllowConsecutiveConditionals.
|
323
254
|
Style/GuardClause:
|
324
255
|
Exclude:
|
325
|
-
- 'lib/evva/enum_generator.rb'
|
326
256
|
- 'lib/evva/logger.rb'
|
327
257
|
|
328
|
-
# Offense count:
|
329
|
-
#
|
330
|
-
# Configuration parameters: EnforcedStyle,
|
258
|
+
# Offense count: 167
|
259
|
+
# This cop supports safe autocorrection (--autocorrect).
|
260
|
+
# Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
331
261
|
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
262
|
+
# SupportedShorthandSyntax: always, never, either, consistent, either_consistent
|
332
263
|
Style/HashSyntax:
|
333
264
|
Exclude:
|
265
|
+
- 'Gemfile'
|
266
|
+
- 'Rakefile'
|
267
|
+
- 'lib/evva.rb'
|
268
|
+
- 'lib/evva/config.rb'
|
269
|
+
- 'lib/evva/google_sheet.rb'
|
270
|
+
- 'lib/evva/kotlin_generator.rb'
|
271
|
+
- 'lib/evva/logger.rb'
|
272
|
+
- 'lib/evva/swift_generator.rb'
|
273
|
+
- 'spec/lib/evva/config_spec.rb'
|
334
274
|
- 'spec/lib/evva/google_sheet_spec.rb'
|
275
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
276
|
+
- 'spec/lib/evva/object_extension_spec.rb'
|
277
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
335
278
|
|
336
|
-
# Offense count:
|
337
|
-
#
|
338
|
-
|
339
|
-
Style/InverseMethods:
|
279
|
+
# Offense count: 2
|
280
|
+
# This cop supports safe autocorrection (--autocorrect).
|
281
|
+
Style/IfUnlessModifier:
|
340
282
|
Exclude:
|
341
|
-
- 'lib/evva/
|
283
|
+
- 'lib/evva/logger.rb'
|
284
|
+
- 'lib/evva/object_extension.rb'
|
342
285
|
|
343
286
|
# Offense count: 1
|
344
|
-
#
|
345
|
-
|
346
|
-
|
347
|
-
- 'lib/evva/event_generator.rb'
|
348
|
-
|
349
|
-
# Offense count: 8
|
350
|
-
# Cop supports --auto-correct.
|
351
|
-
Style/MethodCallWithoutArgsParentheses:
|
352
|
-
Exclude:
|
353
|
-
- 'lib/evva.rb'
|
354
|
-
- 'lib/evva/android_generator.rb'
|
355
|
-
- 'spec/lib/evva/enum_generator_spec.rb'
|
356
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
357
|
-
|
358
|
-
# Offense count: 2
|
359
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
360
|
-
# SupportedStyles: module_function, extend_self
|
287
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
288
|
+
# Configuration parameters: EnforcedStyle, Autocorrect.
|
289
|
+
# SupportedStyles: module_function, extend_self, forbidden
|
361
290
|
Style/ModuleFunction:
|
362
291
|
Exclude:
|
363
292
|
- 'lib/evva.rb'
|
364
|
-
- 'lib/evva/logger.rb'
|
365
293
|
|
366
|
-
# Offense count:
|
367
|
-
#
|
294
|
+
# Offense count: 10
|
295
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
296
|
+
# Configuration parameters: EnforcedStyle.
|
297
|
+
# SupportedStyles: literals, strict
|
368
298
|
Style/MutableConstant:
|
369
299
|
Exclude:
|
370
|
-
- 'lib/evva/
|
371
|
-
- 'lib/evva/
|
300
|
+
- 'lib/evva/google_sheet.rb'
|
301
|
+
- 'lib/evva/kotlin_generator.rb'
|
302
|
+
- 'lib/evva/swift_generator.rb'
|
372
303
|
|
373
|
-
# Offense count:
|
374
|
-
#
|
375
|
-
# Configuration parameters: EnforcedStyle,
|
376
|
-
# SupportedStyles:
|
377
|
-
Style/
|
304
|
+
# Offense count: 4
|
305
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
306
|
+
# Configuration parameters: EnforcedStyle, AllowedMethods, AllowedPatterns.
|
307
|
+
# SupportedStyles: predicate, comparison
|
308
|
+
Style/NumericPredicate:
|
378
309
|
Exclude:
|
379
|
-
- '
|
380
|
-
- 'lib/evva/
|
381
|
-
- 'lib/evva/event_generator.rb'
|
310
|
+
- 'spec/**/*'
|
311
|
+
- 'lib/evva/logger.rb'
|
382
312
|
|
383
313
|
# Offense count: 1
|
384
|
-
#
|
385
|
-
|
314
|
+
# Configuration parameters: AllowedMethods.
|
315
|
+
# AllowedMethods: respond_to_missing?
|
316
|
+
Style/OptionalBooleanParameter:
|
386
317
|
Exclude:
|
387
|
-
- 'lib/evva/
|
318
|
+
- 'lib/evva/kotlin_generator.rb'
|
388
319
|
|
389
|
-
# Offense count:
|
390
|
-
#
|
391
|
-
|
392
|
-
# NamePrefixBlacklist: is_, has_, have_
|
393
|
-
# NameWhitelist: is_a?
|
394
|
-
Style/PredicateName:
|
320
|
+
# Offense count: 4
|
321
|
+
# This cop supports safe autocorrection (--autocorrect).
|
322
|
+
Style/PerlBackrefs:
|
395
323
|
Exclude:
|
396
|
-
- '
|
397
|
-
- 'lib/evva/
|
324
|
+
- 'lib/evva/kotlin_generator.rb'
|
325
|
+
- 'lib/evva/swift_generator.rb'
|
398
326
|
|
399
|
-
# Offense count:
|
400
|
-
#
|
401
|
-
# Configuration parameters:
|
327
|
+
# Offense count: 3
|
328
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
329
|
+
# Configuration parameters: EnforcedStyle, AllowedCompactTypes.
|
402
330
|
# SupportedStyles: compact, exploded
|
403
331
|
Style/RaiseArgs:
|
404
|
-
EnforcedStyle: compact
|
405
|
-
|
406
|
-
# Offense count: 9
|
407
|
-
# Cop supports --auto-correct.
|
408
|
-
Style/RedundantSelf:
|
409
332
|
Exclude:
|
410
|
-
- 'lib/evva/
|
411
|
-
- 'lib/evva/analytics_event.rb'
|
333
|
+
- 'lib/evva/config.rb'
|
412
334
|
- 'lib/evva/object_extension.rb'
|
413
335
|
|
336
|
+
# Offense count: 2
|
337
|
+
# This cop supports safe autocorrection (--autocorrect).
|
338
|
+
# Configuration parameters: EnforcedStyle, AllowInnerSlashes.
|
339
|
+
# SupportedStyles: slashes, percent_r, mixed
|
340
|
+
Style/RegexpLiteral:
|
341
|
+
Exclude:
|
342
|
+
- 'lib/evva/kotlin_generator.rb'
|
343
|
+
- 'lib/evva/swift_generator.rb'
|
344
|
+
|
414
345
|
# Offense count: 1
|
415
|
-
#
|
346
|
+
# This cop supports safe autocorrection (--autocorrect).
|
416
347
|
# Configuration parameters: AllowAsExpressionSeparator.
|
417
348
|
Style/Semicolon:
|
418
349
|
Exclude:
|
419
350
|
- 'lib/evva/object_extension.rb'
|
420
351
|
|
421
|
-
# Offense count:
|
422
|
-
#
|
423
|
-
# Configuration parameters: EnforcedStyle,
|
352
|
+
# Offense count: 307
|
353
|
+
# This cop supports safe autocorrection (--autocorrect).
|
354
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
424
355
|
# SupportedStyles: single_quotes, double_quotes
|
425
356
|
Style/StringLiterals:
|
426
|
-
|
427
|
-
- 'evva.gemspec'
|
428
|
-
- 'lib/evva.rb'
|
429
|
-
- 'lib/evva/android_generator.rb'
|
430
|
-
- 'lib/evva/config.rb'
|
431
|
-
- 'lib/evva/enum_generator.rb'
|
432
|
-
- 'lib/evva/event_generator.rb'
|
433
|
-
- 'lib/evva/logger.rb'
|
434
|
-
- 'lib/evva/object_extension.rb'
|
435
|
-
- 'spec/lib/evva/config_spec.rb'
|
436
|
-
- 'spec/lib/evva/data_source_spec.rb'
|
437
|
-
- 'spec/lib/evva/enum_generator_spec.rb'
|
438
|
-
- 'spec/lib/evva/event_generator_spec.rb'
|
439
|
-
- 'spec/lib/evva/google_sheet_spec.rb'
|
440
|
-
- 'spec/lib/evva/logger_spec.rb'
|
441
|
-
- 'spec/lib/evva/object_extension_spec.rb'
|
442
|
-
|
443
|
-
# Offense count: 2
|
444
|
-
# Cop supports --auto-correct.
|
445
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
446
|
-
# SupportedStyles: single_quotes, double_quotes
|
447
|
-
Style/StringLiteralsInInterpolation:
|
448
|
-
Exclude:
|
449
|
-
- 'lib/evva/android_generator.rb'
|
357
|
+
Enabled: false
|
450
358
|
|
451
|
-
# Offense count:
|
452
|
-
#
|
453
|
-
# Configuration parameters:
|
454
|
-
#
|
359
|
+
# Offense count: 3
|
360
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
361
|
+
# Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments.
|
362
|
+
# AllowedMethods: define_method
|
455
363
|
Style/SymbolProc:
|
456
364
|
Exclude:
|
457
|
-
- 'lib/evva/
|
365
|
+
- 'lib/evva/kotlin_generator.rb'
|
366
|
+
- 'lib/evva/swift_generator.rb'
|
458
367
|
|
459
|
-
# Offense count:
|
460
|
-
#
|
461
|
-
|
368
|
+
# Offense count: 11
|
369
|
+
# This cop supports safe autocorrection (--autocorrect).
|
370
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
371
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
372
|
+
Style/TrailingCommaInArrayLiteral:
|
462
373
|
Exclude:
|
463
|
-
- 'lib/evva/
|
374
|
+
- 'spec/lib/evva/google_sheet_spec.rb'
|
375
|
+
- 'spec/lib/evva/kotlin_generator_spec.rb'
|
376
|
+
- 'spec/lib/evva/swift_generator_spec.rb'
|
464
377
|
|
465
|
-
# Offense count:
|
466
|
-
#
|
467
|
-
#
|
468
|
-
|
378
|
+
# Offense count: 12
|
379
|
+
# This cop supports safe autocorrection (--autocorrect).
|
380
|
+
# Configuration parameters: EnforcedStyleForMultiline.
|
381
|
+
# SupportedStylesForMultiline: comma, consistent_comma, no_comma
|
382
|
+
Style/TrailingCommaInHashLiteral:
|
469
383
|
Exclude:
|
470
|
-
- 'lib/evva/
|
384
|
+
- 'lib/evva/config.rb'
|
385
|
+
- 'lib/evva/kotlin_generator.rb'
|
386
|
+
- 'lib/evva/swift_generator.rb'
|
387
|
+
- 'spec/lib/evva/config_spec.rb'
|
471
388
|
|
472
|
-
# Offense count:
|
473
|
-
#
|
474
|
-
# Configuration parameters:
|
389
|
+
# Offense count: 4
|
390
|
+
# This cop supports safe autocorrection (--autocorrect).
|
391
|
+
# Configuration parameters: WordRegex.
|
475
392
|
# SupportedStyles: percent, brackets
|
476
393
|
Style/WordArray:
|
477
|
-
EnforcedStyle:
|
394
|
+
EnforcedStyle: percent
|
395
|
+
MinSize: 5
|