mdextab 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +31 -8
- data/.rubocop_todo.yml +8 -551
- data/Gemfile +2 -0
- data/bin/makemdtab +46 -283
- data/bin/mdextab +12 -20
- data/lib/mdextab/layer.rb +157 -0
- data/lib/mdextab/makemdtab.rb +119 -0
- data/lib/mdextab/table.rb +11 -14
- data/lib/mdextab/tbody.rb +9 -9
- data/lib/mdextab/td.rb +22 -22
- data/lib/mdextab/th.rb +7 -7
- data/lib/mdextab/token.rb +98 -4
- data/lib/mdextab/tr.rb +1 -1
- data/lib/mdextab/version.rb +1 -1
- data/lib/mdextab.rb +418 -533
- data/mdextab.gemspec +4 -0
- metadata +60 -4
- data/lib/mdextab/loggerx.rb +0 -58
- data/lib/mdextab/yamlx.rb +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 940c4e17899ee4eef8145f326d7631601a3807e0dc16f1f958b047ed1768dc2d
|
4
|
+
data.tar.gz: 5de5348d82cfdcd6fdaa2676405fb04a55225d34ba90c12d870de02473d9592e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a0e6bc0e270196e51992d7f7ae02adc8aed0caf28b88f7f1324cc4ab2cf65ac06aabf1f30dfe3982f163915e9635f923fa57590a9a64eb20544e480da65983f
|
7
|
+
data.tar.gz: 1b34a809d152d85a921a66f95912f2e10230f215350fa5b34d9a59e639d518dd7f07bffb7b9811bb589e5351bcc88be56d8df808316a8bbe1d71b60308a7dd7f
|
data/.rubocop.yml
CHANGED
@@ -3,18 +3,41 @@ inherit_from: .rubocop_todo.yml
|
|
3
3
|
AllCops:
|
4
4
|
TargetRubyVersion: 2.5
|
5
5
|
DisplayCopNames: true
|
6
|
+
#
|
7
|
+
StyleGuideBaseURL: https://github.com/fortissimo1997/ruby-style-guide/blob/japanese/README.ja.md
|
8
|
+
#
|
6
9
|
Exclude:
|
7
10
|
- "Rakefile"
|
8
11
|
- "*.gemspec"
|
9
12
|
- "vendor/**/*"
|
10
|
-
- "
|
11
|
-
- "
|
12
|
-
- "
|
13
|
-
- "
|
14
|
-
- "
|
15
|
-
- "
|
16
|
-
- "
|
17
|
-
- "
|
13
|
+
- "bin/console"
|
14
|
+
- "bin/setup"
|
15
|
+
- "bin/x.sh"
|
16
|
+
- "bin/x.rb"
|
17
|
+
- "bin"
|
18
|
+
- "bin/erubis"
|
19
|
+
- "bin/md2site"
|
20
|
+
- "bin/ldiff"
|
21
|
+
- "bin/bundle"
|
22
|
+
- "bin/rake"
|
23
|
+
- "bin/htmldiff"
|
24
|
+
- "bin/ruby-parse"
|
25
|
+
- "bin/setup"
|
26
|
+
- "bin/simpleoptparse"
|
27
|
+
- "bin/ruby-rewrite"
|
28
|
+
- "bin/nokogiri"
|
29
|
+
- "bin/mdextab"
|
30
|
+
- "bin/rspec"
|
31
|
+
- "bin/commands"
|
32
|
+
- "bin/rubocop"
|
33
|
+
- "bin/byebug"
|
34
|
+
- "_tmp/*"
|
35
|
+
- "_tmp/*.*"
|
36
|
+
- "_tmp/*/*"
|
37
|
+
- "_tmp/*/*.*"
|
38
|
+
- "_tmp/*/*/*"
|
39
|
+
- "_tmp/*/*/*.*"
|
40
|
+
|
18
41
|
|
19
42
|
Layout/ExtraSpacing:
|
20
43
|
AllowForAlignment: true
|
data/.rubocop_todo.yml
CHANGED
@@ -1,569 +1,26 @@
|
|
1
1
|
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
#
|
2
|
+
# `rubocop --auto-gen-config --exclude-limit 9999 --no-offense-counts --no-auto-gen-timestamp`
|
3
|
+
# using RuboCop version 0.68.1.
|
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: 1
|
10
9
|
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters:
|
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.
|
10
|
+
# Configuration parameters: .
|
93
11
|
# SupportedStyles: space, no_space
|
94
12
|
Layout/SpaceAroundEqualsInParameterDefault:
|
95
|
-
|
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'
|
13
|
+
EnforcedStyle: no_space
|
220
14
|
|
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
15
|
Metrics/AbcSize:
|
237
|
-
Max:
|
238
|
-
|
239
|
-
# Offense count: 1
|
240
|
-
# Configuration parameters: CountBlocks.
|
241
|
-
Metrics/BlockNesting:
|
242
|
-
Max: 4
|
16
|
+
Max: 46
|
243
17
|
|
244
|
-
# Offense count: 1
|
245
18
|
# Configuration parameters: CountComments.
|
246
19
|
Metrics/ClassLength:
|
247
|
-
Max:
|
20
|
+
Max: 366
|
248
21
|
|
249
|
-
# Offense count: 3
|
250
22
|
Metrics/CyclomaticComplexity:
|
251
|
-
Max:
|
23
|
+
Max: 10
|
252
24
|
|
253
|
-
# Offense count: 14
|
254
|
-
# Configuration parameters: CountComments, ExcludedMethods.
|
255
|
-
Metrics/MethodLength:
|
256
|
-
Max: 189
|
257
|
-
|
258
|
-
# Offense count: 6
|
259
25
|
Metrics/PerceivedComplexity:
|
260
|
-
Max:
|
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
|
26
|
+
Max: 9
|