mdextab 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ac11f08dad789727ddde00d670c111750311a4c8184a376bf4e96ffe3727b85f
4
+ data.tar.gz: 88b1cbd37c7a868bda85f3c6bf43536cddf1b09166d0bd7bee2c5173e98739e1
5
+ SHA512:
6
+ metadata.gz: 66e1ccd15dd6284a9a7110b71ecb631d68357928fe18a2b0d427cc0f6f570484371d0f100e641a670d33eaf09a35b8e06a8431db2e7fd35bf1bd72dd01bafe2d
7
+ data.tar.gz: 8aa7029b97b94393747857eba1acb6712c5ed31e1af8e429ee65b45a3d313fe472156e8f12bc5bcf79f2534795403f572832eb59c90846aa765aa70e85f41c2c
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "data"]
2
+ path = data
3
+ url = https://nlightsystem.com/gogs/devconf-guest/devconf-guest-data.git
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,126 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.5
5
+ DisplayCopNames: true
6
+ Exclude:
7
+ - "Rakefile"
8
+ - "*.gemspec"
9
+ - "vendor/**/*"
10
+ - "lib/**/*.tab.rb"
11
+ - "lib/tecsgen.rb"
12
+ - "lib/tecsgen/**/*.rb"
13
+ - "lib/tcflow.rb"
14
+ - "lib/tecsflow.rb"
15
+ - "lib/tecsflow/**/*.rb"
16
+ - "glade/*.rb"
17
+ - "spec/*.rb"
18
+
19
+ Layout/ExtraSpacing:
20
+ AllowForAlignment: true
21
+ Layout/SpaceInsideBlockBraces:
22
+ EnforcedStyle: space
23
+ SpaceBeforeBlockParameters: false
24
+ Layout/MultilineMethodCallIndentation:
25
+ EnforcedStyle: indented
26
+ Layout/EmptyLineAfterGuardClause:
27
+ Enabled: false
28
+ Layout/MultilineOperationIndentation:
29
+ EnforcedStyle: indented
30
+
31
+ Lint/UnderscorePrefixedVariableName:
32
+ Enabled: false
33
+ Lint/UnusedMethodArgument:
34
+ Enabled: false
35
+
36
+ Metrics/LineLength:
37
+ Enabled: false
38
+ Metrics/ClassLength:
39
+ Exclude:
40
+ - "test/**/*.rb"
41
+ Metrics/ParameterLists:
42
+ Max: 7
43
+ Metrics/MethodLength:
44
+ Max: 30
45
+
46
+ Naming/FileName:
47
+ Enabled: false
48
+ Naming/UncommunicativeMethodParamName:
49
+ AllowedNames:
50
+ - x
51
+ - y
52
+ - x0
53
+ - y0
54
+ - xm
55
+ - ym
56
+ - xx
57
+ - xy
58
+ - yx
59
+ - yy
60
+
61
+ Style/AsciiComments:
62
+ Enabled: false
63
+ Style/HashSyntax:
64
+ Exclude:
65
+ - "**/*.rake"
66
+ - "Rakefile"
67
+ Style/EmptyMethod:
68
+ Enabled: false
69
+ Style/FrozenStringLiteralComment:
70
+ Enabled: false
71
+ Style/NumericLiterals:
72
+ Enabled: false
73
+ Style/StringLiterals:
74
+ EnforcedStyle: double_quotes
75
+ Style/TrailingCommaInArrayLiteral:
76
+ Enabled: false
77
+ Style/TrailingCommaInHashLiteral:
78
+ Enabled: false
79
+ Style/TrailingCommaInArguments:
80
+ Enabled: false
81
+ Style/Documentation:
82
+ Enabled: false
83
+ Style/WordArray:
84
+ Enabled: false
85
+ Style/BarePercentLiterals:
86
+ EnforcedStyle: percent_q
87
+ Style/BracesAroundHashParameters:
88
+ Enabled: false
89
+ Style/PercentQLiterals:
90
+ Enabled: false
91
+ Style/UnneededPercentQ:
92
+ Enabled: false
93
+ Style/IfUnlessModifier:
94
+ Enabled: false
95
+ Style/NumericPredicate:
96
+ Enabled: false
97
+ Style/MutableConstant:
98
+ Enabled: false
99
+ Style/SymbolArray:
100
+ Enabled: false
101
+ Style/FormatString:
102
+ Enabled: false
103
+ Style/ConditionalAssignment:
104
+ Enabled: false
105
+ Style/WhileUntilModifier:
106
+ Enabled: false
107
+ Style/RedundantBegin:
108
+ Enabled: false
109
+ Style/YodaCondition:
110
+ EnforcedStyle: forbid_for_equality_operators_only
111
+ Style/TernaryParentheses:
112
+ EnforcedStyle: require_parentheses_when_complex
113
+ Style/MethodCallWithArgsParentheses:
114
+ Exclude:
115
+ - "**/*.rake"
116
+ - "Rakefile"
117
+ - "Gemfile"
118
+ Enabled: true
119
+ IgnoredMethods:
120
+ - p
121
+ - pp
122
+ - puts
123
+ - print
124
+ - printf
125
+ - raise
126
+ - require
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,569 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2019-03-21 12:18:01 +0900 using RuboCop version 0.66.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: 1
10
+ # Cop supports --auto-correct.
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, Include.
12
+ # Include: **/*.gemspec
13
+ Gemspec/OrderedDependencies:
14
+ Exclude:
15
+ - 'mdextab.gemspec'
16
+
17
+ # Offense count: 14
18
+ # Cop supports --auto-correct.
19
+ Layout/CommentIndentation:
20
+ Exclude:
21
+ - 'bin/#makemdtab#'
22
+ - 'bin/makemdtab'
23
+ - 'lib/mdextab/loggerx.rb'
24
+ - 'lib/mdextab/yamlx.rb'
25
+ - 'mdextab.gemspec'
26
+
27
+ # Offense count: 6
28
+ # Cop supports --auto-correct.
29
+ # Configuration parameters: AllowBorderComment, AllowMarginComment.
30
+ Layout/EmptyComment:
31
+ Exclude:
32
+ - 'lib/mdextab.rb'
33
+
34
+ # Offense count: 1
35
+ # Cop supports --auto-correct.
36
+ Layout/EmptyLinesAroundMethodBody:
37
+ Exclude:
38
+ - 'lib/mdextab.rb'
39
+
40
+ # Offense count: 5
41
+ # Cop supports --auto-correct.
42
+ # Configuration parameters: AllowForAlignment, AllowBeforeTrailingComments, ForceEqualSignAlignment.
43
+ Layout/ExtraSpacing:
44
+ Exclude:
45
+ - 'bin/#makemdtab#'
46
+ - 'bin/makemdtab'
47
+ - 'bin/mdextab'
48
+ - 'mdextab.gemspec'
49
+
50
+ # Offense count: 5
51
+ # Cop supports --auto-correct.
52
+ # Configuration parameters: Width, IgnoredPatterns.
53
+ Layout/IndentationWidth:
54
+ Exclude:
55
+ - 'bin/#makemdtab#'
56
+ - 'bin/makemdtab'
57
+ - 'bin/mdextab'
58
+
59
+ # Offense count: 1
60
+ # Cop supports --auto-correct.
61
+ Layout/InitialIndentation:
62
+ Exclude:
63
+ - 'lib/mdextab/td.rb'
64
+
65
+ # Offense count: 1
66
+ # Cop supports --auto-correct.
67
+ Layout/LeadingBlankLines:
68
+ Exclude:
69
+ - 'mdextab.gemspec'
70
+
71
+ # Offense count: 5
72
+ # Cop supports --auto-correct.
73
+ Layout/LeadingCommentSpace:
74
+ Exclude:
75
+ - 'bin/#makemdtab#'
76
+ - 'bin/makemdtab'
77
+ - 'lib/mdextab.rb'
78
+
79
+ # Offense count: 37
80
+ # Cop supports --auto-correct.
81
+ Layout/SpaceAfterComma:
82
+ Exclude:
83
+ - 'bin/#makemdtab#'
84
+ - 'bin/makemdtab'
85
+ - 'bin/mdextab'
86
+ - 'lib/mdextab.rb'
87
+ - 'lib/mdextab/table.rb'
88
+ - 'lib/mdextab/yamlx.rb'
89
+
90
+ # Offense count: 9
91
+ # Cop supports --auto-correct.
92
+ # Configuration parameters: EnforcedStyle.
93
+ # SupportedStyles: space, no_space
94
+ Layout/SpaceAroundEqualsInParameterDefault:
95
+ Exclude:
96
+ - 'lib/mdextab.rb'
97
+ - 'lib/mdextab/table.rb'
98
+ - 'lib/mdextab/tbody.rb'
99
+ - 'lib/mdextab/td.rb'
100
+ - 'lib/mdextab/th.rb'
101
+ - 'lib/mdextab/token.rb'
102
+ - 'lib/mdextab/yamlx.rb'
103
+
104
+ # Offense count: 56
105
+ # Cop supports --auto-correct.
106
+ # Configuration parameters: AllowForAlignment.
107
+ Layout/SpaceAroundOperators:
108
+ Exclude:
109
+ - 'bin/#makemdtab#'
110
+ - 'bin/makemdtab'
111
+ - 'lib/mdextab.rb'
112
+ - 'lib/mdextab/loggerx.rb'
113
+ - 'lib/mdextab/td.rb'
114
+ - 'lib/mdextab/th.rb'
115
+ - 'lib/mdextab/yamlx.rb'
116
+ - 'mdextab.gemspec'
117
+
118
+ # Offense count: 15
119
+ # Cop supports --auto-correct.
120
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
121
+ # SupportedStyles: space, no_space
122
+ # SupportedStylesForEmptyBraces: space, no_space
123
+ Layout/SpaceBeforeBlockBraces:
124
+ Exclude:
125
+ - 'bin/#makemdtab#'
126
+ - 'bin/makemdtab'
127
+ - 'bin/mdextab'
128
+ - 'lib/mdextab.rb'
129
+ - 'lib/mdextab/tbody.rb'
130
+ - 'lib/mdextab/tr.rb'
131
+ - 'lib/mdextab/yamlx.rb'
132
+
133
+ # Offense count: 49
134
+ # Cop supports --auto-correct.
135
+ Layout/SpaceBeforeComma:
136
+ Exclude:
137
+ - 'bin/#makemdtab#'
138
+ - 'bin/makemdtab'
139
+ - 'bin/mdextab'
140
+ - 'lib/mdextab.rb'
141
+ - 'lib/mdextab/loggerx.rb'
142
+ - 'lib/mdextab/tbody.rb'
143
+ - 'lib/mdextab/th.rb'
144
+ - 'lib/mdextab/token.rb'
145
+ - 'lib/mdextab/tr.rb'
146
+ - 'lib/mdextab/yamlx.rb'
147
+
148
+ # Offense count: 11
149
+ # Cop supports --auto-correct.
150
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
151
+ # SupportedStyles: space, no_space
152
+ # SupportedStylesForEmptyBraces: space, no_space
153
+ Layout/SpaceInsideBlockBraces:
154
+ Exclude:
155
+ - 'bin/#makemdtab#'
156
+ - 'bin/makemdtab'
157
+ - 'lib/mdextab.rb'
158
+ - 'lib/mdextab/tbody.rb'
159
+ - 'lib/mdextab/tr.rb'
160
+ - 'lib/mdextab/yamlx.rb'
161
+
162
+ # Offense count: 28
163
+ # Cop supports --auto-correct.
164
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
165
+ # SupportedStyles: space, no_space, compact
166
+ # SupportedStylesForEmptyBraces: space, no_space
167
+ Layout/SpaceInsideHashLiteralBraces:
168
+ Exclude:
169
+ - 'bin/mdextab'
170
+ - 'lib/mdextab.rb'
171
+
172
+ # Offense count: 74
173
+ # Cop supports --auto-correct.
174
+ # Configuration parameters: EnforcedStyle.
175
+ # SupportedStyles: space, no_space
176
+ Layout/SpaceInsideParens:
177
+ Exclude:
178
+ - 'bin/#makemdtab#'
179
+ - 'bin/makemdtab'
180
+ - 'bin/mdextab'
181
+ - 'lib/mdextab.rb'
182
+ - 'lib/mdextab/loggerx.rb'
183
+ - 'lib/mdextab/tbody.rb'
184
+ - 'lib/mdextab/yamlx.rb'
185
+
186
+ # Offense count: 3
187
+ # Cop supports --auto-correct.
188
+ # Configuration parameters: EnforcedStyle.
189
+ # SupportedStyles: final_newline, final_blank_line
190
+ Layout/TrailingBlankLines:
191
+ Exclude:
192
+ - 'bin/mdextab'
193
+ - 'bin/mdextab~'
194
+ - 'lib/mdextab/token.rb'
195
+
196
+ # Offense count: 15
197
+ # Cop supports --auto-correct.
198
+ # Configuration parameters: AllowInHeredoc.
199
+ Layout/TrailingWhitespace:
200
+ Exclude:
201
+ - 'lib/mdextab.rb'
202
+ - 'lib/mdextab/loggerx.rb'
203
+ - 'lib/mdextab/table.rb'
204
+
205
+ # Offense count: 1
206
+ Lint/EmptyWhen:
207
+ Exclude:
208
+ - 'lib/mdextab.rb'
209
+
210
+ # Offense count: 16
211
+ # Cop supports --auto-correct.
212
+ # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
213
+ Lint/UnusedBlockArgument:
214
+ Exclude:
215
+ - 'bin/#makemdtab#'
216
+ - 'bin/makemdtab'
217
+ - 'bin/mdextab'
218
+ - 'lib/mdextab.rb'
219
+ - 'lib/mdextab/loggerx.rb'
220
+
221
+ # Offense count: 3
222
+ # Cop supports --auto-correct.
223
+ # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
224
+ Lint/UnusedMethodArgument:
225
+ Exclude:
226
+ - 'lib/mdextab.rb'
227
+ - 'lib/mdextab/yamlx.rb'
228
+
229
+ # Offense count: 3
230
+ Lint/UselessAssignment:
231
+ Exclude:
232
+ - 'bin/#makemdtab#'
233
+ - 'lib/mdextab.rb'
234
+
235
+ # Offense count: 10
236
+ Metrics/AbcSize:
237
+ Max: 284
238
+
239
+ # Offense count: 1
240
+ # Configuration parameters: CountBlocks.
241
+ Metrics/BlockNesting:
242
+ Max: 4
243
+
244
+ # Offense count: 1
245
+ # Configuration parameters: CountComments.
246
+ Metrics/ClassLength:
247
+ Max: 481
248
+
249
+ # Offense count: 3
250
+ Metrics/CyclomaticComplexity:
251
+ Max: 61
252
+
253
+ # Offense count: 14
254
+ # Configuration parameters: CountComments, ExcludedMethods.
255
+ Metrics/MethodLength:
256
+ Max: 189
257
+
258
+ # Offense count: 6
259
+ Metrics/PerceivedComplexity:
260
+ Max: 21
261
+
262
+ # Offense count: 1
263
+ Naming/AccessorMethodName:
264
+ Exclude:
265
+ - 'lib/mdextab/loggerx.rb'
266
+
267
+ # Offense count: 19
268
+ # Configuration parameters: EnforcedStyle.
269
+ # SupportedStyles: snake_case, camelCase
270
+ Naming/MethodName:
271
+ Exclude:
272
+ - 'bin/#makemdtab#'
273
+ - 'bin/makemdtab'
274
+ - 'lib/mdextab.rb'
275
+ - 'lib/mdextab/tbody.rb'
276
+ - 'lib/mdextab/yamlx.rb'
277
+
278
+ # Offense count: 6
279
+ # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
280
+ # AllowedNames: io, id, to, by, on, in, at, ip, db
281
+ Naming/UncommunicativeMethodParamName:
282
+ Exclude:
283
+ - 'lib/mdextab.rb'
284
+ - 'lib/mdextab/yamlx.rb'
285
+
286
+ # Offense count: 14
287
+ # Configuration parameters: EnforcedStyle.
288
+ # SupportedStyles: snake_case, camelCase
289
+ Naming/VariableName:
290
+ Exclude:
291
+ - 'bin/mdextab'
292
+ - 'lib/mdextab.rb'
293
+ - 'lib/mdextab/loggerx.rb'
294
+ - 'lib/mdextab/yamlx.rb'
295
+
296
+ # Offense count: 2
297
+ # Configuration parameters: EnforcedStyle.
298
+ # SupportedStyles: snake_case, normalcase, non_integer
299
+ Naming/VariableNumber:
300
+ Exclude:
301
+ - 'lib/mdextab/table.rb'
302
+
303
+ # Offense count: 2
304
+ # Cop supports --auto-correct.
305
+ Security/YAMLLoad:
306
+ Exclude:
307
+ - 'bin/#makemdtab#'
308
+ - 'bin/makemdtab'
309
+
310
+ # Offense count: 14
311
+ # Cop supports --auto-correct.
312
+ # Configuration parameters: EnforcedStyle.
313
+ # SupportedStyles: percent_q, bare_percent
314
+ Style/BarePercentLiterals:
315
+ Exclude:
316
+ - 'lib/mdextab.rb'
317
+ - 'lib/mdextab/table.rb'
318
+ - 'lib/mdextab/td.rb'
319
+ - 'lib/mdextab/th.rb'
320
+
321
+ # Offense count: 11
322
+ # Cop supports --auto-correct.
323
+ # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, IgnoredMethods, AllowBracesOnProceduralOneLiners.
324
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
325
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
326
+ # FunctionalMethods: let, let!, subject, watch
327
+ # IgnoredMethods: lambda, proc, it
328
+ Style/BlockDelimiters:
329
+ Exclude:
330
+ - 'bin/#makemdtab#'
331
+ - 'bin/makemdtab'
332
+ - 'bin/mdextab'
333
+ - 'lib/mdextab.rb'
334
+ - 'lib/mdextab/yamlx.rb'
335
+
336
+ # Offense count: 10
337
+ # Cop supports --auto-correct.
338
+ # Configuration parameters: EnforcedStyle.
339
+ # SupportedStyles: braces, no_braces, context_dependent
340
+ Style/BracesAroundHashParameters:
341
+ Exclude:
342
+ - 'lib/mdextab.rb'
343
+
344
+ # Offense count: 3
345
+ # Cop supports --auto-correct.
346
+ # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
347
+ # SupportedStyles: assign_to_condition, assign_inside_condition
348
+ Style/ConditionalAssignment:
349
+ Exclude:
350
+ - 'lib/mdextab.rb'
351
+ - 'lib/mdextab/table.rb'
352
+ - 'lib/mdextab/yamlx.rb'
353
+
354
+ # Offense count: 4
355
+ # Cop supports --auto-correct.
356
+ Style/DefWithParentheses:
357
+ Exclude:
358
+ - 'bin/#makemdtab#'
359
+ - 'bin/makemdtab'
360
+ - 'lib/mdextab.rb'
361
+
362
+ # Offense count: 10
363
+ Style/Documentation:
364
+ Exclude:
365
+ - 'spec/**/*'
366
+ - 'test/**/*'
367
+ - 'bin/#makemdtab#'
368
+ - 'bin/makemdtab'
369
+ - 'lib/mdextab/loggerx.rb'
370
+ - 'lib/mdextab/table.rb'
371
+ - 'lib/mdextab/tbody.rb'
372
+ - 'lib/mdextab/td.rb'
373
+ - 'lib/mdextab/th.rb'
374
+ - 'lib/mdextab/token.rb'
375
+ - 'lib/mdextab/tr.rb'
376
+ - 'lib/mdextab/yamlx.rb'
377
+
378
+ # Offense count: 1
379
+ # Cop supports --auto-correct.
380
+ # Configuration parameters: EnforcedStyle.
381
+ # SupportedStyles: empty, nil, both
382
+ Style/EmptyElse:
383
+ Exclude:
384
+ - 'lib/mdextab.rb'
385
+
386
+ # Offense count: 2
387
+ # Cop supports --auto-correct.
388
+ Style/ExpandPathArguments:
389
+ Exclude:
390
+ - 'mdextab.gemspec'
391
+
392
+ # Offense count: 1
393
+ # Cop supports --auto-correct.
394
+ # Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
395
+ # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
396
+ Style/HashSyntax:
397
+ Exclude:
398
+ - 'Rakefile'
399
+
400
+ # Offense count: 2
401
+ Style/IfInsideElse:
402
+ Exclude:
403
+ - 'lib/mdextab/td.rb'
404
+ - 'lib/mdextab/th.rb'
405
+
406
+ # Offense count: 7
407
+ # Cop supports --auto-correct.
408
+ # Configuration parameters: IgnoredMethods.
409
+ Style/MethodCallWithoutArgsParentheses:
410
+ Exclude:
411
+ - 'bin/#makemdtab#'
412
+ - 'bin/makemdtab'
413
+ - 'lib/mdextab.rb'
414
+
415
+ # Offense count: 1
416
+ # Cop supports --auto-correct.
417
+ # Configuration parameters: EnforcedStyle, Autocorrect.
418
+ # SupportedStyles: module_function, extend_self
419
+ Style/ModuleFunction:
420
+ Exclude:
421
+ - 'lib/mdextab/yamlx.rb'
422
+
423
+ # Offense count: 1
424
+ # Cop supports --auto-correct.
425
+ # Configuration parameters: EnforcedStyle.
426
+ # SupportedStyles: literals, strict
427
+ Style/MutableConstant:
428
+ Exclude:
429
+ - 'lib/mdextab/version.rb'
430
+
431
+ # Offense count: 1
432
+ # Cop supports --auto-correct.
433
+ # Configuration parameters: EnforcedStyle, MinBodyLength.
434
+ # SupportedStyles: skip_modifier_ifs, always
435
+ Style/Next:
436
+ Exclude:
437
+ - 'lib/mdextab/yamlx.rb'
438
+
439
+ # Offense count: 2
440
+ # Cop supports --auto-correct.
441
+ # Configuration parameters: EnforcedStyle.
442
+ # SupportedStyles: predicate, comparison
443
+ Style/NilComparison:
444
+ Exclude:
445
+ - 'lib/mdextab.rb'
446
+
447
+ # Offense count: 2
448
+ # Cop supports --auto-correct.
449
+ # Configuration parameters: IncludeSemanticChanges.
450
+ Style/NonNilCheck:
451
+ Exclude:
452
+ - 'lib/mdextab/td.rb'
453
+ - 'lib/mdextab/th.rb'
454
+
455
+ # Offense count: 2
456
+ # Cop supports --auto-correct.
457
+ # Configuration parameters: AutoCorrect, EnforcedStyle, IgnoredMethods.
458
+ # SupportedStyles: predicate, comparison
459
+ Style/NumericPredicate:
460
+ Exclude:
461
+ - 'spec/**/*'
462
+ - 'bin/#makemdtab#'
463
+ - 'bin/makemdtab'
464
+
465
+ # Offense count: 2
466
+ Style/OptionalArguments:
467
+ Exclude:
468
+ - 'lib/mdextab/tbody.rb'
469
+
470
+ # Offense count: 2
471
+ # Cop supports --auto-correct.
472
+ Style/OrAssignment:
473
+ Exclude:
474
+ - 'lib/mdextab.rb'
475
+
476
+ # Offense count: 16
477
+ # Cop supports --auto-correct.
478
+ # Configuration parameters: PreferredDelimiters.
479
+ Style/PercentLiteralDelimiters:
480
+ Exclude:
481
+ - 'lib/mdextab.rb'
482
+ - 'lib/mdextab/table.rb'
483
+ - 'lib/mdextab/td.rb'
484
+ - 'lib/mdextab/th.rb'
485
+ - 'mdextab.gemspec'
486
+
487
+ # Offense count: 1
488
+ # Cop supports --auto-correct.
489
+ # Configuration parameters: EnforcedStyle.
490
+ # SupportedStyles: lower_case_q, upper_case_q
491
+ Style/PercentQLiterals:
492
+ Exclude:
493
+ - 'lib/mdextab/table.rb'
494
+
495
+ # Offense count: 12
496
+ # Cop supports --auto-correct.
497
+ Style/PerlBackrefs:
498
+ Exclude:
499
+ - 'lib/mdextab.rb'
500
+
501
+ # Offense count: 4
502
+ # Cop supports --auto-correct.
503
+ # Configuration parameters: EnforcedStyle, AllowInnerSlashes.
504
+ # SupportedStyles: slashes, percent_r, mixed
505
+ Style/RegexpLiteral:
506
+ Exclude:
507
+ - 'lib/mdextab.rb'
508
+
509
+ # Offense count: 3
510
+ # Cop supports --auto-correct.
511
+ # Configuration parameters: EnforcedStyle.
512
+ # SupportedStyles: implicit, explicit
513
+ Style/RescueStandardError:
514
+ Exclude:
515
+ - 'bin/#makemdtab#'
516
+ - 'lib/mdextab.rb'
517
+
518
+ # Offense count: 87
519
+ # Cop supports --auto-correct.
520
+ # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
521
+ # SupportedStyles: single_quotes, double_quotes
522
+ Style/StringLiterals:
523
+ Enabled: false
524
+
525
+ # Offense count: 2
526
+ # Cop supports --auto-correct.
527
+ # Configuration parameters: IgnoredMethods.
528
+ # IgnoredMethods: respond_to, define_method
529
+ Style/SymbolProc:
530
+ Exclude:
531
+ - 'lib/mdextab/tbody.rb'
532
+ - 'lib/mdextab/tr.rb'
533
+
534
+ # Offense count: 1
535
+ # Cop supports --auto-correct.
536
+ # Configuration parameters: EnforcedStyleForMultiline.
537
+ # SupportedStylesForMultiline: comma, consistent_comma, no_comma
538
+ Style/TrailingCommaInHashLiteral:
539
+ Exclude:
540
+ - 'lib/mdextab.rb'
541
+
542
+ # Offense count: 1
543
+ # Cop supports --auto-correct.
544
+ Style/UnlessElse:
545
+ Exclude:
546
+ - 'lib/mdextab.rb'
547
+
548
+ # Offense count: 16
549
+ # Cop supports --auto-correct.
550
+ Style/UnneededPercentQ:
551
+ Exclude:
552
+ - 'lib/mdextab.rb'
553
+ - 'lib/mdextab/table.rb'
554
+ - 'lib/mdextab/td.rb'
555
+ - 'lib/mdextab/th.rb'
556
+ - 'mdextab.gemspec'
557
+
558
+ # Offense count: 2
559
+ # Cop supports --auto-correct.
560
+ Style/ZeroLengthPredicate:
561
+ Exclude:
562
+ - 'bin/#makemdtab#'
563
+ - 'bin/makemdtab'
564
+
565
+ # Offense count: 53
566
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
567
+ # URISchemes: http, https
568
+ Metrics/LineLength:
569
+ Max: 224
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.5.3
7
+ before_install: gem install bundler -v 2.0.1