evva 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: eda305fb53e24ab22bc0708758f7474d31ca0ea3
4
+ data.tar.gz: 6505070c7afb5614034bf41a1678b9a7be41b30e
5
+ SHA512:
6
+ metadata.gz: 01ee93a2ec2073988a970ba21613bbcff4a40fc1d7cb17ab7ebb432f9a06ae619c2c2a66c6a688d35410a43f8a112d94be5f9c6d44c7808ea9c952630f810041
7
+ data.tar.gz: 0e04da40cdd2417b130a01334c1bc429d3eaf2b26ccbcbd4dcf6ef0e7441b7280bef3aeb44064038897ac3559c521c94d2a55b9a75dda65f917e7fb04c997ea1
@@ -0,0 +1,5 @@
1
+ *.sublime-*
2
+ .ruby-version
3
+ running
4
+ coverage
5
+ .DS_Store*
data/.rspec ADDED
@@ -0,0 +1,5 @@
1
+ --color
2
+ --format documentation
3
+ --profile
4
+ --drb
5
+ --require spec_helper
@@ -0,0 +1,477 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2017-08-24 13:42:11 +0100 using RuboCop version 0.49.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 2
10
+ # Cop supports --auto-correct.
11
+ # Configuration parameters: Include, TreatCommentsAsGroupSeparators.
12
+ # Include: **/Gemfile, **/gems.rb
13
+ Bundler/OrderedGems:
14
+ Exclude:
15
+ - 'Gemfile'
16
+
17
+ # Offense count: 2
18
+ # Cop supports --auto-correct.
19
+ Layout/AlignArray:
20
+ Exclude:
21
+ - 'spec/lib/evva/google_sheet_spec.rb'
22
+
23
+ # Offense count: 1
24
+ # Cop supports --auto-correct.
25
+ Layout/BlockEndNewline:
26
+ Exclude:
27
+ - 'spec/lib/evva/google_sheet_spec.rb'
28
+
29
+ # Offense count: 1
30
+ # Cop supports --auto-correct.
31
+ # Configuration parameters: AllowAdjacentOneLineDefs, NumberOfEmptyLines.
32
+ Layout/EmptyLineBetweenDefs:
33
+ Exclude:
34
+ - 'lib/evva/event_generator.rb'
35
+
36
+ # Offense count: 1
37
+ # Cop supports --auto-correct.
38
+ Layout/EmptyLines:
39
+ 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
+ - '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/mixpanel_enum.rb'
61
+ - 'lib/evva/mixpanel_event.rb'
62
+
63
+ # Offense count: 1
64
+ # Cop supports --auto-correct.
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.
73
+ # Configuration parameters: IndentationWidth.
74
+ Layout/IndentAssignment:
75
+ Exclude:
76
+ - 'lib/evva.rb'
77
+ - 'lib/evva/android_generator.rb'
78
+ - 'spec/lib/evva/enum_generator_spec.rb'
79
+
80
+ # Offense count: 5
81
+ # Cop supports --auto-correct.
82
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
83
+ # SupportedStyles: normal, rails
84
+ Layout/IndentationConsistency:
85
+ Exclude:
86
+ - 'spec/spec_helper.rb'
87
+
88
+ # Offense count: 9
89
+ # Cop supports --auto-correct.
90
+ # Configuration parameters: Width, IgnoredPatterns.
91
+ Layout/IndentationWidth:
92
+ Exclude:
93
+ - 'spec/lib/evva/event_generator_spec.rb'
94
+ - 'spec/spec_helper.rb'
95
+
96
+ # Offense count: 1
97
+ # Cop supports --auto-correct.
98
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
99
+ # SupportedStyles: symmetrical, new_line, same_line
100
+ Layout/MultilineArrayBraceLayout:
101
+ Exclude:
102
+ - 'spec/lib/evva/google_sheet_spec.rb'
103
+
104
+ # Offense count: 2
105
+ # Cop supports --auto-correct.
106
+ Layout/MultilineBlockLayout:
107
+ Exclude:
108
+ - 'spec/lib/evva/config_spec.rb'
109
+ - 'spec/lib/evva/google_sheet_spec.rb'
110
+
111
+ # Offense count: 2
112
+ # Cop supports --auto-correct.
113
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
114
+ # SupportedStyles: aligned, indented
115
+ Layout/MultilineOperationIndentation:
116
+ Exclude:
117
+ - 'lib/evva/android_generator.rb'
118
+ - 'lib/evva/event_generator.rb'
119
+
120
+ # Offense count: 11
121
+ # Cop supports --auto-correct.
122
+ Layout/SpaceAfterComma:
123
+ Exclude:
124
+ - 'lib/evva/android_generator.rb'
125
+ - 'lib/evva/data_source.rb'
126
+ - 'lib/evva/object_extension.rb'
127
+ - 'spec/lib/evva/google_sheet_spec.rb'
128
+
129
+ # Offense count: 1
130
+ # Cop supports --auto-correct.
131
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
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.
148
+ # SupportedStyles: space, no_space, compact
149
+ # SupportedStylesForEmptyBraces: space, no_space
150
+ Layout/SpaceInsideHashLiteralBraces:
151
+ Exclude:
152
+ - 'spec/lib/evva/object_extension_spec.rb'
153
+
154
+ # Offense count: 11
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/mixpanel_enum.rb'
167
+ - 'lib/evva/mixpanel_event.rb'
168
+ - 'spec/lib/evva/enum_generator_spec.rb'
169
+ - 'spec/lib/evva/event_generator_spec.rb'
170
+ - 'spec/lib/evva/google_sheet_spec.rb'
171
+
172
+ # Offense count: 17
173
+ # Cop supports --auto-correct.
174
+ Layout/TrailingWhitespace:
175
+ Exclude:
176
+ - 'lib/evva.rb'
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'
183
+
184
+ # Offense count: 13
185
+ Lint/AmbiguousRegexpLiteral:
186
+ Exclude:
187
+ - 'spec/lib/evva/config_spec.rb'
188
+ - 'spec/lib/evva/data_source_spec.rb'
189
+ - 'spec/lib/evva/google_sheet_spec.rb'
190
+ - 'spec/lib/evva/object_extension_spec.rb'
191
+
192
+ # Offense count: 4
193
+ # Configuration parameters: AllowSafeAssignment.
194
+ Lint/AssignmentInCondition:
195
+ Exclude:
196
+ - 'lib/evva.rb'
197
+ - '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
+
208
+ # Offense count: 1
209
+ Lint/ScriptPermission:
210
+ Exclude:
211
+ - 'bin/evva'
212
+
213
+ # Offense count: 2
214
+ Lint/ShadowingOuterLocalVariable:
215
+ Exclude:
216
+ - 'lib/evva/data_source.rb'
217
+ - 'lib/evva/object_extension.rb'
218
+
219
+ # Offense count: 6
220
+ Lint/UselessAssignment:
221
+ Exclude:
222
+ - 'lib/evva.rb'
223
+ - 'lib/evva/android_generator.rb'
224
+ - 'lib/evva/google_sheet.rb'
225
+
226
+ # Offense count: 2
227
+ Lint/Void:
228
+ Exclude:
229
+ - 'lib/evva/mixpanel_enum.rb'
230
+ - 'lib/evva/mixpanel_event.rb'
231
+
232
+ # Offense count: 8
233
+ Metrics/AbcSize:
234
+ Max: 34
235
+
236
+ # Offense count: 9
237
+ # Configuration parameters: CountComments, ExcludedMethods.
238
+ Metrics/BlockLength:
239
+ Max: 80
240
+
241
+ # Offense count: 1
242
+ Metrics/CyclomaticComplexity:
243
+ Max: 10
244
+
245
+ # Offense count: 39
246
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
247
+ # URISchemes: http, https
248
+ Metrics/LineLength:
249
+ Max: 148
250
+
251
+ # Offense count: 11
252
+ # Configuration parameters: CountComments.
253
+ Metrics/MethodLength:
254
+ Max: 20
255
+
256
+ # Offense count: 1
257
+ Metrics/PerceivedComplexity:
258
+ Max: 9
259
+
260
+ # Offense count: 1
261
+ # Cop supports --auto-correct.
262
+ Security/YAMLLoad:
263
+ Exclude:
264
+ - 'lib/evva.rb'
265
+
266
+ # Offense count: 1
267
+ # Cop supports --auto-correct.
268
+ Style/BlockComments:
269
+ Exclude:
270
+ - 'spec/spec_helper.rb'
271
+
272
+ # Offense count: 2
273
+ # Cop supports --auto-correct.
274
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
275
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
276
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
277
+ # FunctionalMethods: let, let!, subject, watch
278
+ # IgnoredMethods: lambda, proc, it
279
+ Style/BlockDelimiters:
280
+ Exclude:
281
+ - 'spec/lib/evva/config_spec.rb'
282
+ - 'spec/lib/evva/google_sheet_spec.rb'
283
+
284
+ # Offense count: 3
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'
292
+
293
+ # Offense count: 1
294
+ # Cop supports --auto-correct.
295
+ Style/ColonMethodCall:
296
+ Exclude:
297
+ - 'lib/evva.rb'
298
+
299
+ # Offense count: 10
300
+ Style/Documentation:
301
+ Exclude:
302
+ - 'spec/**/*'
303
+ - 'test/**/*'
304
+ - 'lib/evva.rb'
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/mixpanel_enum.rb'
313
+ - 'lib/evva/mixpanel_event.rb'
314
+
315
+ # Offense count: 1
316
+ # Cop supports --auto-correct.
317
+ Style/EachWithObject:
318
+ Exclude:
319
+ - 'lib/evva/object_extension.rb'
320
+
321
+ # Offense count: 2
322
+ # Configuration parameters: MinBodyLength.
323
+ Style/GuardClause:
324
+ Exclude:
325
+ - 'lib/evva/enum_generator.rb'
326
+ - 'lib/evva/logger.rb'
327
+
328
+ # Offense count: 21
329
+ # Cop supports --auto-correct.
330
+ # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
331
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
332
+ Style/HashSyntax:
333
+ Exclude:
334
+ - 'spec/lib/evva/google_sheet_spec.rb'
335
+
336
+ # Offense count: 3
337
+ # Cop supports --auto-correct.
338
+ # Configuration parameters: InverseMethods, InverseBlocks.
339
+ Style/InverseMethods:
340
+ Exclude:
341
+ - 'lib/evva/google_sheet.rb'
342
+
343
+ # Offense count: 1
344
+ # Cop supports --auto-correct.
345
+ Style/LineEndConcatenation:
346
+ Exclude:
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
361
+ Style/ModuleFunction:
362
+ Exclude:
363
+ - 'lib/evva.rb'
364
+ - 'lib/evva/logger.rb'
365
+
366
+ # Offense count: 5
367
+ # Cop supports --auto-correct.
368
+ Style/MutableConstant:
369
+ Exclude:
370
+ - 'lib/evva/config.rb'
371
+ - 'lib/evva/version.rb'
372
+
373
+ # Offense count: 3
374
+ # Cop supports --auto-correct.
375
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
376
+ # SupportedStyles: both, prefix, postfix
377
+ Style/NegatedIf:
378
+ Exclude:
379
+ - 'lib/evva.rb'
380
+ - 'lib/evva/enum_generator.rb'
381
+ - 'lib/evva/event_generator.rb'
382
+
383
+ # Offense count: 1
384
+ # Cop supports --auto-correct.
385
+ Style/NilComparison:
386
+ Exclude:
387
+ - 'lib/evva/object_extension.rb'
388
+
389
+ # Offense count: 1
390
+ # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
391
+ # NamePrefix: is_, has_, have_
392
+ # NamePrefixBlacklist: is_, has_, have_
393
+ # NameWhitelist: is_a?
394
+ Style/PredicateName:
395
+ Exclude:
396
+ - 'spec/**/*'
397
+ - 'lib/evva/android_generator.rb'
398
+
399
+ # Offense count: 6
400
+ # Cop supports --auto-correct.
401
+ # Configuration parameters: SupportedStyles.
402
+ # SupportedStyles: compact, exploded
403
+ Style/RaiseArgs:
404
+ EnforcedStyle: compact
405
+
406
+ # Offense count: 9
407
+ # Cop supports --auto-correct.
408
+ Style/RedundantSelf:
409
+ Exclude:
410
+ - 'lib/evva/mixpanel_enum.rb'
411
+ - 'lib/evva/mixpanel_event.rb'
412
+ - 'lib/evva/object_extension.rb'
413
+
414
+ # Offense count: 1
415
+ # Cop supports --auto-correct.
416
+ # Configuration parameters: AllowAsExpressionSeparator.
417
+ Style/Semicolon:
418
+ Exclude:
419
+ - 'lib/evva/object_extension.rb'
420
+
421
+ # Offense count: 143
422
+ # Cop supports --auto-correct.
423
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
424
+ # SupportedStyles: single_quotes, double_quotes
425
+ Style/StringLiterals:
426
+ Exclude:
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'
450
+
451
+ # Offense count: 1
452
+ # Cop supports --auto-correct.
453
+ # Configuration parameters: IgnoredMethods.
454
+ # IgnoredMethods: respond_to, define_method
455
+ Style/SymbolProc:
456
+ Exclude:
457
+ - 'lib/evva/object_extension.rb'
458
+
459
+ # Offense count: 1
460
+ # Cop supports --auto-correct.
461
+ Style/UnneededInterpolation:
462
+ Exclude:
463
+ - 'lib/evva/android_generator.rb'
464
+
465
+ # Offense count: 1
466
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
467
+ # SupportedStyles: snake_case, camelCase
468
+ Style/VariableName:
469
+ Exclude:
470
+ - 'lib/evva/google_sheet.rb'
471
+
472
+ # Offense count: 5
473
+ # Cop supports --auto-correct.
474
+ # Configuration parameters: SupportedStyles, MinSize, WordRegex.
475
+ # SupportedStyles: percent, brackets
476
+ Style/WordArray:
477
+ EnforcedStyle: brackets