et 0.5.8 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 33504a44e4606e337a124e7855c5987e0b9d4f63
4
- data.tar.gz: 6d390abb2f13f1305cfebfff46fe1e57812c4cb8
2
+ SHA256:
3
+ metadata.gz: 14c8827508f274f3055a4d79b2d65bbb3d530ab7e47b66a5f9bdf2ebc9eded23
4
+ data.tar.gz: e26d93b96439f78c4c721a4a6a2193763575a71b6b2e28b4c412463760ae0461
5
5
  SHA512:
6
- metadata.gz: 89ac871fa7399a043eeb78de164cf7eb2cdd428f4b817f4c38ef593f553a61ec48b77011a27f7490c08adf05bc97e0c2989260bcb87a41b4d9e44863507fbfe5
7
- data.tar.gz: ea52868879e55416170f1b1ec3f1248828891404fa6bc67481c94300b12924033d1cc779d84f2c3eb134cb095898fba8d9fb9692a26430276af2e3fca367a537
6
+ metadata.gz: acebf4e72972c2ddf75bd184c152a86ad28caa8a8c4c91eeb27f08f1c3eb6227c87ef9c19f21f1505247d4843ceec7791485f11604205c55009afe128c8025ee
7
+ data.tar.gz: 22da208518289aa04817da787607d32f80926859c7d8d8656f76013f9aa1b968194ad62180b474e3ea0e7e43010fd64233b8a6b8a0d12ea726cce166032a1269
@@ -0,0 +1 @@
1
+ inherit_from: .rubocop_todo.yml
@@ -0,0 +1,456 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2020-05-15 13:21:23 -0400 using RuboCop version 0.83.0.
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: 4
10
+ # Cop supports --auto-correct.
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, Include.
12
+ # Include: **/*.gemspec
13
+ Gemspec/OrderedDependencies:
14
+ Exclude:
15
+ - 'et.gemspec'
16
+
17
+ # Offense count: 1
18
+ # Cop supports --auto-correct.
19
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
20
+ # SupportedStyles: with_first_argument, with_fixed_indentation
21
+ Layout/ArgumentAlignment:
22
+ Exclude:
23
+ - 'lib/et/api.rb'
24
+
25
+ # Offense count: 3
26
+ # Cop supports --auto-correct.
27
+ # Configuration parameters: EnforcedStyleAlignWith.
28
+ # SupportedStylesAlignWith: either, start_of_block, start_of_line
29
+ Layout/BlockAlignment:
30
+ Exclude:
31
+ - 'spec/cli/get_lesson_spec.rb'
32
+ - 'spec/cli/submit_lesson_spec.rb'
33
+
34
+ # Offense count: 1
35
+ # Cop supports --auto-correct.
36
+ Layout/ClosingHeredocIndentation:
37
+ Exclude:
38
+ - 'et.gemspec'
39
+
40
+ # Offense count: 12
41
+ # Cop supports --auto-correct.
42
+ # Configuration parameters: EnforcedStyle.
43
+ # SupportedStyles: leading, trailing
44
+ Layout/DotPosition:
45
+ Exclude:
46
+ - 'spec/cli/get_lesson_spec.rb'
47
+ - 'spec/cli/list_lessons_spec.rb'
48
+ - 'spec/cli/submit_lesson_spec.rb'
49
+ - 'spec/lib/api_spec.rb'
50
+ - 'spec/lib/fallback_connection_spec.rb'
51
+
52
+ # Offense count: 1
53
+ # Cop supports --auto-correct.
54
+ Layout/EmptyLineAfterGuardClause:
55
+ Exclude:
56
+ - 'lib/et/formatter.rb'
57
+
58
+ # Offense count: 4
59
+ # Cop supports --auto-correct.
60
+ # Configuration parameters: EnforcedStyle.
61
+ # SupportedStyles: around, only_before
62
+ Layout/EmptyLinesAroundAccessModifier:
63
+ Exclude:
64
+ - 'lib/et/api.rb'
65
+ - 'lib/et/fallback_connection.rb'
66
+ - 'lib/et/operating_system.rb'
67
+ - 'lib/et/submission_file_list.rb'
68
+
69
+ # Offense count: 1
70
+ # Cop supports --auto-correct.
71
+ # Configuration parameters: EnforcedStyle.
72
+ # SupportedStyles: empty_lines, no_empty_lines
73
+ Layout/EmptyLinesAroundBlockBody:
74
+ Exclude:
75
+ - 'spec/lib/operating_system_spec.rb'
76
+
77
+ # Offense count: 2
78
+ # Cop supports --auto-correct.
79
+ # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
80
+ Layout/ExtraSpacing:
81
+ Exclude:
82
+ - 'spec/lib/api_spec.rb'
83
+ - 'spec/lib/archive_manager_spec.rb'
84
+
85
+ # Offense count: 1
86
+ # Cop supports --auto-correct.
87
+ # Configuration parameters: EnforcedStyle, IndentationWidth.
88
+ # SupportedStyles: consistent, consistent_relative_to_receiver, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
89
+ Layout/FirstArgumentIndentation:
90
+ Exclude:
91
+ - 'spec/lib/submission_file_list_spec.rb'
92
+
93
+ # Offense count: 1
94
+ # Cop supports --auto-correct.
95
+ # Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
96
+ # SupportedHashRocketStyles: key, separator, table
97
+ # SupportedColonStyles: key, separator, table
98
+ # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
99
+ Layout/HashAlignment:
100
+ Exclude:
101
+ - 'spec/cli/get_lesson_spec.rb'
102
+
103
+ # Offense count: 1
104
+ # Cop supports --auto-correct.
105
+ # Configuration parameters: EnforcedStyle.
106
+ # SupportedStyles: squiggly, active_support, powerpack, unindent
107
+ Layout/HeredocIndentation:
108
+ Exclude:
109
+ - 'et.gemspec'
110
+
111
+ # Offense count: 3
112
+ # Cop supports --auto-correct.
113
+ # Configuration parameters: EnforcedStyle.
114
+ # SupportedStyles: normal, indented_internal_methods
115
+ Layout/IndentationConsistency:
116
+ Exclude:
117
+ - 'spec/cli/get_lesson_spec.rb'
118
+ - 'spec/cli/submit_lesson_spec.rb'
119
+
120
+ # Offense count: 3
121
+ # Cop supports --auto-correct.
122
+ # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
123
+ Layout/LeadingCommentSpace:
124
+ Exclude:
125
+ - 'lib/et/operating_system.rb'
126
+ - 'spec/lib/fallback_connection_spec.rb'
127
+
128
+ # Offense count: 3
129
+ # Cop supports --auto-correct.
130
+ # Configuration parameters: EnforcedStyle.
131
+ # SupportedStyles: symmetrical, new_line, same_line
132
+ Layout/MultilineMethodCallBraceLayout:
133
+ Exclude:
134
+ - 'et.gemspec'
135
+ - 'spec/lib/lesson_spec.rb'
136
+ - 'spec/lib/submission_file_list_spec.rb'
137
+
138
+ # Offense count: 2
139
+ # Cop supports --auto-correct.
140
+ # Configuration parameters: EnforcedStyleInsidePipes.
141
+ # SupportedStylesInsidePipes: space, no_space
142
+ Layout/SpaceAroundBlockParameters:
143
+ Exclude:
144
+ - 'lib/et/submission_file_list.rb'
145
+
146
+ # Offense count: 1
147
+ # Cop supports --auto-correct.
148
+ # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
149
+ # SupportedStylesForExponentOperator: space, no_space
150
+ Layout/SpaceAroundOperators:
151
+ Exclude:
152
+ - 'spec/lib/archive_manager_spec.rb'
153
+
154
+ # Offense count: 1
155
+ # Cop supports --auto-correct.
156
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
157
+ # SupportedStyles: space, no_space
158
+ # SupportedStylesForEmptyBraces: space, no_space
159
+ Layout/SpaceBeforeBlockBraces:
160
+ Exclude:
161
+ - 'spec/lib/fallback_connection_spec.rb'
162
+
163
+ # Offense count: 1
164
+ # Cop supports --auto-correct.
165
+ # Configuration parameters: AllowForAlignment.
166
+ Layout/SpaceBeforeFirstArg:
167
+ Exclude:
168
+ - 'spec/lib/api_spec.rb'
169
+
170
+ # Offense count: 3
171
+ # Cop supports --auto-correct.
172
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
173
+ # SupportedStyles: space, no_space
174
+ # SupportedStylesForEmptyBraces: space, no_space
175
+ Layout/SpaceInsideBlockBraces:
176
+ Exclude:
177
+ - 'lib/et/submission_file_list.rb'
178
+ - 'spec/lib/fallback_connection_spec.rb'
179
+
180
+ # Offense count: 3
181
+ # Cop supports --auto-correct.
182
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
183
+ # SupportedStyles: space, no_space, compact
184
+ # SupportedStylesForEmptyBraces: space, no_space
185
+ Layout/SpaceInsideHashLiteralBraces:
186
+ Exclude:
187
+ - 'lib/et/api.rb'
188
+ - 'lib/et/fallback_connection.rb'
189
+
190
+ # Offense count: 1
191
+ # Cop supports --auto-correct.
192
+ Lint/AmbiguousRegexpLiteral:
193
+ Exclude:
194
+ - 'spec/lib/archive_manager_spec.rb'
195
+
196
+ # Offense count: 4
197
+ # Cop supports --auto-correct.
198
+ Lint/DeprecatedClassMethods:
199
+ Exclude:
200
+ - 'lib/et/config.rb'
201
+ - 'lib/et/lesson.rb'
202
+ - 'spec/lib/config_spec.rb'
203
+
204
+ # Offense count: 1
205
+ Lint/IneffectiveAccessModifier:
206
+ Exclude:
207
+ - 'lib/et/formatter.rb'
208
+
209
+ # Offense count: 1
210
+ # Cop supports --auto-correct.
211
+ Lint/NonDeterministicRequireOrder:
212
+ Exclude:
213
+ - 'spec/spec_helper.rb'
214
+
215
+ # Offense count: 2
216
+ Lint/ShadowingOuterLocalVariable:
217
+ Exclude:
218
+ - 'lib/et/formatter.rb'
219
+ - 'lib/et/lesson.rb'
220
+
221
+ # Offense count: 1
222
+ # Cop supports --auto-correct.
223
+ # Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
224
+ Lint/UselessAccessModifier:
225
+ Exclude:
226
+ - 'lib/et/formatter.rb'
227
+
228
+ # Offense count: 3
229
+ # Configuration parameters: IgnoredMethods.
230
+ Metrics/AbcSize:
231
+ Max: 67
232
+
233
+ # Offense count: 11
234
+ # Configuration parameters: CountComments, ExcludedMethods.
235
+ # ExcludedMethods: refine
236
+ Metrics/BlockLength:
237
+ Max: 79
238
+
239
+ # Offense count: 1
240
+ # Configuration parameters: CountComments.
241
+ Metrics/ClassLength:
242
+ Max: 119
243
+
244
+ # Offense count: 6
245
+ # Configuration parameters: CountComments, ExcludedMethods.
246
+ Metrics/MethodLength:
247
+ Max: 66
248
+
249
+ # Offense count: 1
250
+ # Configuration parameters: EnforcedStyleForLeadingUnderscores.
251
+ # SupportedStylesForLeadingUnderscores: disallowed, required, optional
252
+ Naming/MemoizedInstanceVariableName:
253
+ Exclude:
254
+ - 'lib/et/fallback_connection.rb'
255
+
256
+ # Offense count: 1
257
+ Security/Open:
258
+ Exclude:
259
+ - 'lib/et/api.rb'
260
+
261
+ # Offense count: 2
262
+ # Cop supports --auto-correct.
263
+ Security/YAMLLoad:
264
+ Exclude:
265
+ - 'lib/et/config.rb'
266
+ - 'spec/cli/init_spec.rb'
267
+
268
+ # Offense count: 1
269
+ # Cop supports --auto-correct.
270
+ # Configuration parameters: AutoCorrect, EnforcedStyle.
271
+ # SupportedStyles: nested, compact
272
+ Style/ClassAndModuleChildren:
273
+ Exclude:
274
+ - 'lib/et/archive_manager.rb'
275
+
276
+ # Offense count: 1
277
+ # Cop supports --auto-correct.
278
+ # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
279
+ # SupportedStyles: assign_to_condition, assign_inside_condition
280
+ Style/ConditionalAssignment:
281
+ Exclude:
282
+ - 'lib/et/runner.rb'
283
+
284
+ # Offense count: 11
285
+ Style/Documentation:
286
+ Exclude:
287
+ - 'spec/**/*'
288
+ - 'test/**/*'
289
+ - 'lib/et/api.rb'
290
+ - 'lib/et/archive_manager.rb'
291
+ - 'lib/et/challenge.rb'
292
+ - 'lib/et/config.rb'
293
+ - 'lib/et/exercise.rb'
294
+ - 'lib/et/fallback_connection.rb'
295
+ - 'lib/et/formatter.rb'
296
+ - 'lib/et/lesson.rb'
297
+ - 'lib/et/operating_system.rb'
298
+ - 'lib/et/runner.rb'
299
+ - 'lib/et/submission_file_list.rb'
300
+
301
+ # Offense count: 2
302
+ # Cop supports --auto-correct.
303
+ # Configuration parameters: EnforcedStyle.
304
+ # SupportedStyles: empty, nil, both
305
+ Style/EmptyElse:
306
+ Exclude:
307
+ - 'lib/et/api.rb'
308
+ - 'lib/et/lesson.rb'
309
+
310
+ # Offense count: 1
311
+ # Cop supports --auto-correct.
312
+ # Configuration parameters: EnforcedStyle.
313
+ # SupportedStyles: format, sprintf, percent
314
+ Style/FormatString:
315
+ Exclude:
316
+ - 'lib/et/formatter.rb'
317
+
318
+ # Offense count: 40
319
+ # Cop supports --auto-correct.
320
+ # Configuration parameters: EnforcedStyle.
321
+ # SupportedStyles: always, always_true, never
322
+ Style/FrozenStringLiteralComment:
323
+ Enabled: false
324
+
325
+ # Offense count: 7
326
+ # Configuration parameters: MinBodyLength.
327
+ Style/GuardClause:
328
+ Exclude:
329
+ - 'lib/et/archive_manager.rb'
330
+ - 'lib/et/fallback_connection.rb'
331
+ - 'lib/et/operating_system.rb'
332
+ - 'lib/et/runner.rb'
333
+ - 'spec/lib/fallback_connection_spec.rb'
334
+
335
+ # Offense count: 9
336
+ # Cop supports --auto-correct.
337
+ # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
338
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
339
+ Style/HashSyntax:
340
+ Exclude:
341
+ - 'lib/et/api.rb'
342
+ - 'lib/et/fallback_connection.rb'
343
+ - 'spec/lib/fallback_connection_spec.rb'
344
+
345
+ # Offense count: 4
346
+ # Cop supports --auto-correct.
347
+ Style/IfUnlessModifier:
348
+ Exclude:
349
+ - 'lib/et/operating_system.rb'
350
+ - 'spec/lib/challenge_spec.rb'
351
+ - 'spec/support/helpers/sample_files.rb'
352
+
353
+ # Offense count: 1
354
+ # Cop supports --auto-correct.
355
+ Style/LineEndConcatenation:
356
+ Exclude:
357
+ - 'lib/et/runner.rb'
358
+
359
+ # Offense count: 2
360
+ # Cop supports --auto-correct.
361
+ # Configuration parameters: EnforcedStyle.
362
+ # SupportedStyles: literals, strict
363
+ Style/MutableConstant:
364
+ Exclude:
365
+ - 'lib/et/submission_file_list.rb'
366
+ - 'lib/et/version.rb'
367
+
368
+ # Offense count: 1
369
+ # Cop supports --auto-correct.
370
+ # Configuration parameters: EnforcedStyle, MinBodyLength.
371
+ # SupportedStyles: skip_modifier_ifs, always
372
+ Style/Next:
373
+ Exclude:
374
+ - 'lib/et/runner.rb'
375
+
376
+ # Offense count: 2
377
+ # Cop supports --auto-correct.
378
+ # Configuration parameters: EnforcedOctalStyle.
379
+ # SupportedOctalStyles: zero_with_o, zero_only
380
+ Style/NumericLiteralPrefix:
381
+ Exclude:
382
+ - 'lib/et/lesson.rb'
383
+
384
+ # Offense count: 1
385
+ # Cop supports --auto-correct.
386
+ Style/ParallelAssignment:
387
+ Exclude:
388
+ - 'lib/et/operating_system.rb'
389
+
390
+ # Offense count: 5
391
+ # Cop supports --auto-correct.
392
+ # Configuration parameters: .
393
+ # SupportedStyles: compact, exploded
394
+ Style/RaiseArgs:
395
+ EnforcedStyle: compact
396
+
397
+ # Offense count: 1
398
+ # Cop supports --auto-correct.
399
+ Style/RedundantBegin:
400
+ Exclude:
401
+ - 'lib/et/fallback_connection.rb'
402
+
403
+ # Offense count: 264
404
+ # Cop supports --auto-correct.
405
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
406
+ # SupportedStyles: single_quotes, double_quotes
407
+ Style/StringLiterals:
408
+ Enabled: false
409
+
410
+ # Offense count: 2
411
+ # Cop supports --auto-correct.
412
+ # Configuration parameters: EnforcedStyle.
413
+ # SupportedStyles: single_quotes, double_quotes
414
+ Style/StringLiteralsInInterpolation:
415
+ Exclude:
416
+ - 'lib/et/exercise.rb'
417
+
418
+ # Offense count: 3
419
+ # Cop supports --auto-correct.
420
+ # Configuration parameters: MinSize.
421
+ # SupportedStyles: percent, brackets
422
+ Style/SymbolArray:
423
+ EnforcedStyle: brackets
424
+
425
+ # Offense count: 2
426
+ # Cop supports --auto-correct.
427
+ # Configuration parameters: IgnoredMethods.
428
+ # IgnoredMethods: respond_to, define_method
429
+ Style/SymbolProc:
430
+ Exclude:
431
+ - 'spec/support/helpers/archive_helper.rb'
432
+
433
+ # Offense count: 7
434
+ # Cop supports --auto-correct.
435
+ # Configuration parameters: AllowNamedUnderscoreVariables.
436
+ Style/TrailingUnderscoreVariable:
437
+ Exclude:
438
+ - 'spec/cli/get_lesson_spec.rb'
439
+ - 'spec/cli/init_spec.rb'
440
+ - 'spec/cli/list_lessons_spec.rb'
441
+ - 'spec/cli/run_exercise_test_suite_spec.rb'
442
+ - 'spec/cli/submit_lesson_spec.rb'
443
+
444
+ # Offense count: 1
445
+ # Cop supports --auto-correct.
446
+ # Configuration parameters: MinSize, WordRegex.
447
+ # SupportedStyles: percent, brackets
448
+ Style/WordArray:
449
+ EnforcedStyle: brackets
450
+
451
+ # Offense count: 13
452
+ # Cop supports --auto-correct.
453
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
454
+ # URISchemes: http, https
455
+ Layout/LineLength:
456
+ Max: 97