et 0.5.9 → 0.7.3
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 +5 -5
- data/.github/workflows/ruby.yml +30 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +456 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +27 -23
- data/README.md +17 -0
- data/et.gemspec +3 -2
- data/lib/et.rb +1 -2
- data/lib/et/api.rb +40 -60
- data/lib/et/fallback_connection.rb +29 -0
- data/lib/et/lesson.rb +12 -20
- data/lib/et/runner.rb +2 -16
- data/lib/et/submission_file_list.rb +58 -0
- data/lib/et/version.rb +1 -1
- data/spec/cli/get_lesson_spec.rb +14 -14
- data/spec/cli/list_lessons_spec.rb +1 -1
- data/spec/data/.et +1 -0
- data/spec/data/bloated-challenge/.etignore +4 -0
- data/spec/data/bloated-challenge/bloated-challenge.md +3 -0
- data/spec/data/bloated-challenge/node_modules/boo/somefile.js +1 -0
- data/spec/data/bloated-challenge/problem.rb +1 -0
- data/spec/data/bloated-challenge/rando_folder/rando_file.js +1 -0
- data/spec/data/sample-challenge/.etignore +1 -0
- data/spec/data/sample-exercise/.etignore +1 -0
- data/spec/lib/api_spec.rb +54 -88
- data/spec/lib/fallback_connection_spec.rb +42 -0
- data/spec/lib/lesson_spec.rb +1 -1
- data/spec/lib/submission_file_list_spec.rb +31 -0
- data/spec/spec_helper.rb +0 -5
- metadata +56 -21
- data/lib/et/challenge.rb +0 -7
- data/lib/et/exercise.rb +0 -15
- data/spec/cli/run_exercise_test_suite_spec.rb +0 -31
- data/spec/data/sample-challenge/.lesson.yml +0 -6
- data/spec/data/sample-exercise/.lesson.yml +0 -6
- data/spec/lib/challenge_spec.rb +0 -78
- data/spec/lib/exercise_spec.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 331e5a91f8e482aa1fc11fdc252bb0fdb56e9f30a5e7540ab835eff988fe09fb
|
4
|
+
data.tar.gz: baae2e27d8c5535f80ce4ec00a4e8068ee94ddb35cda65351838871f32ff7335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecde7b950b03188702855221929ed4ff23e2e47578504123b9521ece21721e3d2d991942090544aac5b92d139b0a7563b351b9d5f2bd34cd938af9c82fb242a4
|
7
|
+
data.tar.gz: 67136c5f8a5a3ad58fce15cb0b23f3bf25c40b4e02e2df8e4c3a59a4b0dd0f4861242b0fe7dd501a78541f4e2903e955c5c9ee4c0be173868e7b79d9f7231b94
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ master ]
|
13
|
+
pull_request:
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
test:
|
17
|
+
|
18
|
+
runs-on: macos-latest
|
19
|
+
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v2
|
22
|
+
- name: Set up Ruby
|
23
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
24
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
25
|
+
# uses: ruby/setup-ruby@v1
|
26
|
+
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
|
27
|
+
- name: Install dependencies
|
28
|
+
run: bundle install
|
29
|
+
- name: Run tests
|
30
|
+
run: bundle exec rake
|
data/.rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
ADDED
@@ -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
|