review 2.1.0 → 2.2.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.
- checksums.yaml +4 -4
- data/.gitignore +5 -0
- data/.rubocop.yml +293 -6
- data/.rubocop_todo.yml +3 -608
- data/.travis.yml +6 -13
- data/README.md +5 -3
- data/Rakefile +6 -6
- data/bin/review-catalog-converter +2 -2
- data/bin/review-check +1 -1
- data/bin/review-compile +1 -2
- data/bin/review-init +6 -3
- data/bin/review-validate +3 -3
- data/bin/review-vol +2 -1
- data/doc/NEWS.ja.md +138 -25
- data/doc/NEWS.md +137 -25
- data/doc/config.yml.sample +2 -2
- data/doc/config.yml.sample-simple +1 -1
- data/doc/format.ja.md +86 -5
- data/doc/format.md +67 -2
- data/doc/makeindex.ja.md +95 -0
- data/doc/makeindex.md +97 -0
- data/doc/sample.css +214 -0
- data/lib/epubmaker.rb +6 -6
- data/lib/epubmaker/epubcommon.rb +19 -47
- data/lib/epubmaker/epubv2.rb +3 -1
- data/lib/epubmaker/epubv3.rb +4 -26
- data/lib/epubmaker/producer.rb +46 -46
- data/lib/epubmaker/zip_exporter.rb +86 -0
- data/lib/review/book/base.rb +13 -15
- data/lib/review/book/chapter.rb +2 -1
- data/lib/review/book/compilable.rb +9 -9
- data/lib/review/book/image_finder.rb +13 -13
- data/lib/review/book/index.rb +2 -2
- data/lib/review/book/volume.rb +2 -2
- data/lib/review/builder.rb +57 -1
- data/lib/review/catalog.rb +2 -2
- data/lib/review/compiler.rb +15 -7
- data/lib/review/configure.rb +11 -0
- data/lib/review/epubmaker.rb +403 -401
- data/lib/review/ewbbuilder.rb +16 -16
- data/lib/review/htmlbuilder.rb +42 -58
- data/lib/review/htmltoc.rb +1 -1
- data/lib/review/htmlutils.rb +50 -4
- data/lib/review/i18n.rb +2 -2
- data/lib/review/idgxmlbuilder.rb +30 -47
- data/lib/review/latexbuilder.rb +86 -41
- data/lib/review/latexutils.rb +19 -19
- data/lib/review/markdownbuilder.rb +16 -4
- data/lib/review/md2inaobuilder.rb +0 -9
- data/lib/review/pdfmaker.rb +91 -48
- data/lib/review/preprocessor.rb +1 -1
- data/lib/review/rstbuilder.rb +763 -0
- data/lib/review/sec_counter.rb +7 -9
- data/lib/review/tocparser.rb +3 -3
- data/lib/review/tocprinter.rb +5 -5
- data/lib/review/topbuilder.rb +48 -56
- data/lib/review/version.rb +1 -1
- data/lib/review/webmaker.rb +6 -7
- data/review.gemspec +1 -0
- data/templates/latex/layout.tex.erb +27 -2
- data/test/assets/test_template.tex +10 -1
- data/test/book_test_helper.rb +1 -2
- data/test/run_test.rb +10 -0
- data/test/sample-book/src/style.css +215 -0
- data/test/sample-book/src/vendor/jumoline/lppl.txt +416 -0
- data/test/test_book.rb +0 -1
- data/test/test_catalog.rb +1 -0
- data/test/test_converter.rb +1 -1
- data/test/test_epub3maker.rb +44 -51
- data/test/test_epubmaker.rb +82 -38
- data/test/test_epubmaker_cmd.rb +1 -1
- data/test/test_extentions_hash.rb +8 -1
- data/test/test_htmlbuilder.rb +411 -18
- data/test/test_i18n.rb +17 -0
- data/test/test_idgxmlbuilder.rb +88 -3
- data/test/test_image_finder.rb +18 -0
- data/test/test_index.rb +2 -0
- data/test/test_latexbuilder.rb +96 -8
- data/test/test_makerhelper.rb +2 -2
- data/test/test_markdownbuilder.rb +22 -1
- data/test/test_md2inaobuilder.rb +0 -5
- data/test/test_pdfmaker.rb +54 -36
- data/test/test_pdfmaker_cmd.rb +1 -1
- data/test/test_rstbuilder.rb +356 -0
- data/test/test_textutils.rb +14 -4
- data/test/test_topbuilder.rb +23 -4
- data/test/test_zip_exporter.rb +113 -0
- metadata +28 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '01394f19285dcc106f75ad8b4bd078b9161f1fa4'
|
4
|
+
data.tar.gz: 2cec0e65aa5c831899d20025edd1d17414165b56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bafefd24ca1c03a92d8a3fd9bb6e8deb97348a7cca65b387d0da9d853bc7c058363a84ba44295c7638d5bf09d91bb58687bc996a5dc1ae998d710a13c9410a0
|
7
|
+
data.tar.gz: 14d4571b74b645a8cfa33c643ab3af6fae031a7b12c351e39afe613da29ca0bb01e9834c7d5ee0e7932bfdec58253e86b8a690ca92c418c62456fdd0696011a9
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -12,11 +12,35 @@ Lint/BlockAlignment:
|
|
12
12
|
Lint/EndAlignment:
|
13
13
|
Enabled: AlignWith
|
14
14
|
|
15
|
-
|
16
|
-
Enabled:
|
15
|
+
Lint/EmptyWhen:
|
16
|
+
Enabled: false
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
Lint/NestedMethodDefinition:
|
19
|
+
Exclude:
|
20
|
+
- 'test/*'
|
21
|
+
|
22
|
+
Lint/AssignmentInCondition:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Lint/ParenthesesAsGroupedExpression:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Lint/UnderscorePrefixedVariableName:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
Lint/UnusedBlockArgument:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Lint/UnusedMethodArgument:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Lint/UselessAssignment:
|
38
|
+
Enabled: false
|
39
|
+
|
40
|
+
Performance/RegexpMatch:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Performance/ReverseEach:
|
20
44
|
Enabled: true
|
21
45
|
|
22
46
|
# Use tr instead of gsub.
|
@@ -26,10 +50,43 @@ Performance/StringReplacement:
|
|
26
50
|
Performance/RangeInclude:
|
27
51
|
Enabled: false
|
28
52
|
|
53
|
+
Style/AccessorMethodName:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
Style/AsciiComments:
|
57
|
+
Enabled: false
|
58
|
+
|
29
59
|
# Use alias_method instead of alias.
|
30
60
|
Style/Alias:
|
61
|
+
EnforcedStyle: prefer_alias_method
|
62
|
+
Enabled: true
|
63
|
+
|
64
|
+
Style/AndOr:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Style/BarePercentLiterals:
|
68
|
+
EnforcedStyle: percent_q
|
69
|
+
Enabled: true
|
70
|
+
|
71
|
+
Style/BlockDelimiters:
|
72
|
+
Enabled: false
|
73
|
+
|
74
|
+
Style/BracesAroundHashParameters:
|
75
|
+
Enabled: false
|
76
|
+
|
77
|
+
Style/CaseEquality:
|
31
78
|
Enabled: false
|
32
79
|
|
80
|
+
Style/ClassCheck:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
Style/ClassMethods:
|
84
|
+
Enabled: false
|
85
|
+
|
86
|
+
# Unnecessary spacing detected.
|
87
|
+
Style/ExtraSpacing:
|
88
|
+
Enabled: true
|
89
|
+
|
33
90
|
# Do not introduce global variables.
|
34
91
|
Style/GlobalVars:
|
35
92
|
Enabled: true
|
@@ -49,6 +106,38 @@ Style/VariableName:
|
|
49
106
|
Style/ConditionalAssignment:
|
50
107
|
Enabled: false
|
51
108
|
|
109
|
+
Style/Documentation:
|
110
|
+
Enabled: false
|
111
|
+
|
112
|
+
Style/DotPosition:
|
113
|
+
EnforcedStyle: trailing
|
114
|
+
Enabled: true
|
115
|
+
|
116
|
+
Style/EmptyElse:
|
117
|
+
Enabled: false
|
118
|
+
|
119
|
+
Style/EmptyLines:
|
120
|
+
Enabled: false
|
121
|
+
|
122
|
+
Style/EmptyLinesAroundClassBody:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
Style/EmptyLinesAroundModuleBody:
|
126
|
+
Enabled: false
|
127
|
+
|
128
|
+
Style/FormatString:
|
129
|
+
EnforcedStyle: sprintf
|
130
|
+
Enabled: true
|
131
|
+
|
132
|
+
Style/GuardClause:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
Style/IfInsideElse:
|
136
|
+
Enabled: false
|
137
|
+
|
138
|
+
Style/IfUnlessModifier:
|
139
|
+
Enabled: false
|
140
|
+
|
52
141
|
Style/MutableConstant:
|
53
142
|
Enabled: false
|
54
143
|
|
@@ -62,15 +151,205 @@ Style/ZeroLengthPredicate:
|
|
62
151
|
Enabled: false
|
63
152
|
|
64
153
|
Style/NumericPredicate:
|
65
|
-
|
154
|
+
EnforcedStyle: comparison
|
155
|
+
Enabled: true
|
66
156
|
|
67
157
|
Style/TernaryParentheses:
|
68
158
|
Enabled: false
|
69
159
|
|
70
160
|
Style/VariableNumber:
|
161
|
+
EnforcedStyle: normalcase
|
162
|
+
Enabled: true
|
163
|
+
|
164
|
+
Style/FrozenStringLiteralComment:
|
165
|
+
EnforcedStyle: never
|
166
|
+
Enabled: true
|
167
|
+
|
168
|
+
MultilineMethodCallBraceLayout:
|
71
169
|
Enabled: false
|
72
170
|
|
73
|
-
|
171
|
+
Style/SafeNavigation:
|
172
|
+
Enabled: false
|
173
|
+
|
174
|
+
Style/EmptyMethod:
|
175
|
+
EnforcedStyle: expanded
|
176
|
+
Enabled: true
|
177
|
+
|
178
|
+
Style/HashSyntax:
|
179
|
+
Enabled: false
|
180
|
+
|
181
|
+
Style/RescueModifier:
|
182
|
+
Enabled: false
|
183
|
+
|
184
|
+
Style/AccessModifierIndentation:
|
185
|
+
EnforcedStyle: indent
|
186
|
+
Enabled: true
|
187
|
+
|
188
|
+
Style/ClassAndModuleChildren:
|
189
|
+
EnforcedStyle: nested
|
190
|
+
Enabled: true
|
191
|
+
|
192
|
+
Style/SpaceAroundBlockParameters:
|
193
|
+
EnforcedStyleInsidePipes: no_space
|
194
|
+
Enabled: true
|
195
|
+
|
196
|
+
Style/SpaceInsideStringInterpolation:
|
197
|
+
EnforcedStyle: no_space
|
198
|
+
Enabled: true
|
199
|
+
|
200
|
+
Style/ColonMethodCall:
|
201
|
+
Enabled: true
|
202
|
+
|
203
|
+
Style/EmptyLinesAroundAccessModifier:
|
204
|
+
Enabled: true
|
205
|
+
|
206
|
+
Style/EmptyLinesAroundMethodBody:
|
207
|
+
Enabled: true
|
208
|
+
|
209
|
+
Style/ExtraSpacing:
|
210
|
+
Enabled: true
|
211
|
+
|
212
|
+
Style/For:
|
213
|
+
Enabled: true
|
214
|
+
|
215
|
+
Style/IndentHash:
|
216
|
+
Enabled: true
|
217
|
+
|
218
|
+
Style/IndentationWidth:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
Style/IndentationConsistency:
|
222
|
+
Enabled: true
|
223
|
+
|
224
|
+
Style/InfiniteLoop:
|
225
|
+
Enabled: false
|
226
|
+
|
227
|
+
Style/LeadingCommentSpace:
|
228
|
+
Enabled: false
|
229
|
+
|
230
|
+
Style/LineEndConcatenation:
|
231
|
+
Enabled: false
|
232
|
+
|
233
|
+
Style/MethodCallWithoutArgsParentheses:
|
234
|
+
Enabled: false
|
235
|
+
|
236
|
+
Style/MethodName:
|
237
|
+
Enabled: false
|
238
|
+
|
239
|
+
Style/MultilineBlockChain:
|
240
|
+
Enabled: false
|
241
|
+
|
242
|
+
Style/MultilineOperationIndentation:
|
243
|
+
Enabled: false
|
244
|
+
|
245
|
+
Style/NegatedIf:
|
246
|
+
Enabled: false
|
247
|
+
|
248
|
+
Style/Next:
|
249
|
+
Enabled: false
|
250
|
+
|
251
|
+
Style/Not:
|
252
|
+
Enabled: true
|
253
|
+
|
254
|
+
Style/NumericLiterals:
|
255
|
+
MinDigits: 6
|
256
|
+
|
257
|
+
Style/PercentLiteralDelimiters:
|
258
|
+
Enabled: false
|
259
|
+
|
260
|
+
Style/PercentQLiterals:
|
261
|
+
EnforcedStyle: upper_case_q
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Style/PerlBackrefs:
|
265
|
+
Enabled: false
|
266
|
+
|
267
|
+
Style/RedundantBegin:
|
268
|
+
Enabled: false
|
269
|
+
|
270
|
+
Style/RedundantReturn:
|
271
|
+
Enabled: false
|
272
|
+
|
273
|
+
Style/RedundantSelf:
|
274
|
+
Enabled: false
|
275
|
+
|
276
|
+
Style/RegexpLiteral:
|
277
|
+
Enabled: false
|
278
|
+
|
279
|
+
Style/Semicolon:
|
280
|
+
Enabled: true
|
281
|
+
|
282
|
+
Style/SingleLineMethods:
|
283
|
+
Enabled: true
|
284
|
+
|
285
|
+
Style/SpaceAfterComma:
|
286
|
+
Enabled: false
|
287
|
+
|
288
|
+
Style/SpaceAfterNot:
|
289
|
+
Enabled: true
|
290
|
+
|
291
|
+
Style/SpaceAfterSemicolon:
|
292
|
+
Enabled: true
|
293
|
+
|
294
|
+
Style/SpaceAroundEqualsInParameterDefault:
|
295
|
+
Enabled: false
|
296
|
+
|
297
|
+
Style/SpaceAroundOperators:
|
298
|
+
Enabled: false
|
299
|
+
|
300
|
+
Style/SpaceBeforeBlockBraces:
|
301
|
+
Enabled: false
|
302
|
+
|
303
|
+
Style/SpaceBeforeComma:
|
304
|
+
Enabled: true
|
305
|
+
|
306
|
+
Style/SpaceInsideBlockBraces:
|
307
|
+
Enabled: false
|
308
|
+
|
309
|
+
Style/SpaceInsideHashLiteralBraces:
|
310
|
+
Enabled: false
|
311
|
+
|
312
|
+
Style/SpecialGlobalVars:
|
313
|
+
Enabled: false
|
314
|
+
|
315
|
+
Style/StringLiterals:
|
316
|
+
Enabled: false
|
317
|
+
|
318
|
+
Style/StringLiteralsInInterpolation:
|
319
|
+
Enabled: false
|
320
|
+
|
321
|
+
Style/SymbolProc:
|
322
|
+
Enabled: false
|
323
|
+
|
324
|
+
Style/TrailingBlankLines:
|
325
|
+
Enabled: false
|
326
|
+
|
327
|
+
Style/TrailingCommaInLiteral:
|
328
|
+
Enabled: false
|
329
|
+
|
330
|
+
Style/WordArray:
|
331
|
+
MinSize: 10
|
332
|
+
|
333
|
+
Style/UnneededPercentQ:
|
334
|
+
Enabled: false
|
335
|
+
|
336
|
+
Style/WhileUntilModifier:
|
337
|
+
Enabled: false
|
338
|
+
|
339
|
+
|
340
|
+
#### Metrics
|
341
|
+
|
342
|
+
Metrics/BlockNesting:
|
343
|
+
Max: 4
|
344
|
+
|
345
|
+
Metrics/ModuleLength:
|
346
|
+
Max: 129
|
347
|
+
|
348
|
+
Metrics/ParameterLists:
|
349
|
+
Max: 8
|
350
|
+
|
351
|
+
Metrics/PerceivedComplexity:
|
352
|
+
Max: 28
|
74
353
|
|
75
354
|
Metrics/ClassLength:
|
76
355
|
Max: 1500
|
@@ -106,3 +385,11 @@ Metrics/BlockLength:
|
|
106
385
|
- 'Rakefile'
|
107
386
|
- '**/*.rake'
|
108
387
|
- 'test/**/*.rb'
|
388
|
+
|
389
|
+
#### Security
|
390
|
+
|
391
|
+
# we use Date object in config.yml so should use YAML.load :-/
|
392
|
+
Security/YAMLLoad:
|
393
|
+
Exclude:
|
394
|
+
- 'lib/review/catalog.rb'
|
395
|
+
- 'test/test_helper.rb'
|
data/.rubocop_todo.yml
CHANGED
@@ -1,612 +1,7 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
#
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2017-02-18 14:39:22 +0900 using RuboCop version 0.47.1.
|
3
4
|
# The point is for the user to remove these configuration records
|
4
5
|
# one by one as the offenses are removed from the code base.
|
5
6
|
# Note that changes in the inspected code, or installation of new
|
6
7
|
# versions of RuboCop, may require this file to be generated again.
|
7
|
-
|
8
|
-
# Offense count: 2
|
9
|
-
Lint/AmbiguousOperator:
|
10
|
-
Enabled: false
|
11
|
-
|
12
|
-
# Offense count: 36
|
13
|
-
# Configuration parameters: AllowSafeAssignment.
|
14
|
-
Lint/AssignmentInCondition:
|
15
|
-
Enabled: false
|
16
|
-
|
17
|
-
# Offense count: 3
|
18
|
-
Lint/HandleExceptions:
|
19
|
-
Enabled: false
|
20
|
-
|
21
|
-
# Offense count: 2
|
22
|
-
Lint/LiteralInCondition:
|
23
|
-
Enabled: false
|
24
|
-
|
25
|
-
# Offense count: 10
|
26
|
-
Lint/NestedMethodDefinition:
|
27
|
-
Enabled: false
|
28
|
-
|
29
|
-
# Offense count: 1
|
30
|
-
Lint/NonLocalExitFromIterator:
|
31
|
-
Enabled: false
|
32
|
-
|
33
|
-
# Offense count: 3
|
34
|
-
Lint/ParenthesesAsGroupedExpression:
|
35
|
-
Enabled: false
|
36
|
-
|
37
|
-
# Offense count: 6
|
38
|
-
Lint/UnderscorePrefixedVariableName:
|
39
|
-
Enabled: false
|
40
|
-
|
41
|
-
# Offense count: 84
|
42
|
-
# Cop supports --auto-correct.
|
43
|
-
Lint/UnusedBlockArgument:
|
44
|
-
Enabled: false
|
45
|
-
|
46
|
-
# Offense count: 214
|
47
|
-
# Cop supports --auto-correct.
|
48
|
-
Lint/UnusedMethodArgument:
|
49
|
-
Enabled: false
|
50
|
-
|
51
|
-
# Offense count: 13
|
52
|
-
Lint/UselessAssignment:
|
53
|
-
Enabled: false
|
54
|
-
|
55
|
-
# Offense count: 184
|
56
|
-
Metrics/AbcSize:
|
57
|
-
Max: 298
|
58
|
-
|
59
|
-
# Offense count: 9
|
60
|
-
Metrics/BlockNesting:
|
61
|
-
Max: 4
|
62
|
-
|
63
|
-
# Offense count: 35
|
64
|
-
# Configuration parameters: CountComments.
|
65
|
-
Metrics/ClassLength:
|
66
|
-
Max: 992
|
67
|
-
|
68
|
-
# Offense count: 54
|
69
|
-
Metrics/CyclomaticComplexity:
|
70
|
-
Max: 65
|
71
|
-
|
72
|
-
# Offense count: 815
|
73
|
-
# Configuration parameters: AllowURI, URISchemes.
|
74
|
-
Metrics/LineLength:
|
75
|
-
Max: 1189
|
76
|
-
|
77
|
-
# Offense count: 296
|
78
|
-
# Configuration parameters: CountComments.
|
79
|
-
Metrics/MethodLength:
|
80
|
-
Max: 431
|
81
|
-
|
82
|
-
# Offense count: 1
|
83
|
-
# Configuration parameters: CountComments.
|
84
|
-
Metrics/ModuleLength:
|
85
|
-
Max: 134
|
86
|
-
|
87
|
-
# Offense count: 2
|
88
|
-
# Configuration parameters: CountKeywordArgs.
|
89
|
-
Metrics/ParameterLists:
|
90
|
-
Max: 8
|
91
|
-
|
92
|
-
# Offense count: 49
|
93
|
-
Metrics/PerceivedComplexity:
|
94
|
-
Max: 69
|
95
|
-
|
96
|
-
# Offense count: 2
|
97
|
-
# Cop supports --auto-correct.
|
98
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
99
|
-
Style/AccessModifierIndentation:
|
100
|
-
Enabled: false
|
101
|
-
|
102
|
-
# Offense count: 1
|
103
|
-
Style/AccessorMethodName:
|
104
|
-
Enabled: false
|
105
|
-
|
106
|
-
# Offense count: 2
|
107
|
-
# Cop supports --auto-correct.
|
108
|
-
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
109
|
-
Style/AlignHash:
|
110
|
-
Enabled: false
|
111
|
-
|
112
|
-
# Offense count: 15
|
113
|
-
# Cop supports --auto-correct.
|
114
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
115
|
-
Style/AlignParameters:
|
116
|
-
Enabled: false
|
117
|
-
|
118
|
-
# Offense count: 30
|
119
|
-
# Cop supports --auto-correct.
|
120
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
121
|
-
Style/AndOr:
|
122
|
-
Enabled: false
|
123
|
-
|
124
|
-
# Offense count: 23
|
125
|
-
Style/AsciiComments:
|
126
|
-
Enabled: false
|
127
|
-
|
128
|
-
# Offense count: 617
|
129
|
-
# Cop supports --auto-correct.
|
130
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
131
|
-
Style/BarePercentLiterals:
|
132
|
-
Enabled: false
|
133
|
-
|
134
|
-
# Offense count: 1
|
135
|
-
# Cop supports --auto-correct.
|
136
|
-
Style/BlockComments:
|
137
|
-
Enabled: false
|
138
|
-
|
139
|
-
# Offense count: 109
|
140
|
-
# Cop supports --auto-correct.
|
141
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
142
|
-
Style/BlockDelimiters:
|
143
|
-
Enabled: false
|
144
|
-
|
145
|
-
# Offense count: 69
|
146
|
-
# Cop supports --auto-correct.
|
147
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
148
|
-
Style/BracesAroundHashParameters:
|
149
|
-
Enabled: false
|
150
|
-
|
151
|
-
# Offense count: 4
|
152
|
-
Style/CaseEquality:
|
153
|
-
Enabled: false
|
154
|
-
|
155
|
-
# Offense count: 2
|
156
|
-
# Cop supports --auto-correct.
|
157
|
-
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
158
|
-
Style/CaseIndentation:
|
159
|
-
Enabled: false
|
160
|
-
|
161
|
-
# Offense count: 1
|
162
|
-
Style/ClassAndModuleCamelCase:
|
163
|
-
Enabled: false
|
164
|
-
|
165
|
-
# Offense count: 4
|
166
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
167
|
-
Style/ClassAndModuleChildren:
|
168
|
-
Enabled: false
|
169
|
-
|
170
|
-
# Offense count: 8
|
171
|
-
# Cop supports --auto-correct.
|
172
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
173
|
-
Style/ClassCheck:
|
174
|
-
Enabled: false
|
175
|
-
|
176
|
-
# Offense count: 28
|
177
|
-
# Cop supports --auto-correct.
|
178
|
-
Style/ClassMethods:
|
179
|
-
Enabled: false
|
180
|
-
|
181
|
-
# Offense count: 1
|
182
|
-
# Cop supports --auto-correct.
|
183
|
-
Style/ColonMethodCall:
|
184
|
-
Enabled: false
|
185
|
-
|
186
|
-
# Offense count: 7
|
187
|
-
# Cop supports --auto-correct.
|
188
|
-
# Configuration parameters: Keywords.
|
189
|
-
Style/CommentAnnotation:
|
190
|
-
Enabled: false
|
191
|
-
|
192
|
-
# Offense count: 9
|
193
|
-
# Cop supports --auto-correct.
|
194
|
-
Style/CommentIndentation:
|
195
|
-
Enabled: false
|
196
|
-
|
197
|
-
# Offense count: 1
|
198
|
-
Style/ConstantName:
|
199
|
-
Enabled: false
|
200
|
-
|
201
|
-
# Offense count: 105
|
202
|
-
Style/Documentation:
|
203
|
-
Enabled: false
|
204
|
-
|
205
|
-
# Offense count: 2
|
206
|
-
# Cop supports --auto-correct.
|
207
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
208
|
-
Style/DotPosition:
|
209
|
-
Enabled: false
|
210
|
-
|
211
|
-
# Offense count: 2
|
212
|
-
Style/EachWithObject:
|
213
|
-
Enabled: false
|
214
|
-
|
215
|
-
# Offense count: 3
|
216
|
-
# Cop supports --auto-correct.
|
217
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
218
|
-
Style/EmptyElse:
|
219
|
-
Enabled: false
|
220
|
-
|
221
|
-
# Offense count: 5
|
222
|
-
# Cop supports --auto-correct.
|
223
|
-
# Configuration parameters: AllowAdjacentOneLineDefs.
|
224
|
-
Style/EmptyLineBetweenDefs:
|
225
|
-
Enabled: false
|
226
|
-
|
227
|
-
# Offense count: 43
|
228
|
-
# Cop supports --auto-correct.
|
229
|
-
Style/EmptyLines:
|
230
|
-
Enabled: false
|
231
|
-
|
232
|
-
# Offense count: 3
|
233
|
-
# Cop supports --auto-correct.
|
234
|
-
Style/EmptyLinesAroundAccessModifier:
|
235
|
-
Enabled: false
|
236
|
-
|
237
|
-
# Offense count: 1
|
238
|
-
# Cop supports --auto-correct.
|
239
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
240
|
-
Style/EmptyLinesAroundBlockBody:
|
241
|
-
Enabled: false
|
242
|
-
|
243
|
-
# Offense count: 53
|
244
|
-
# Cop supports --auto-correct.
|
245
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
246
|
-
Style/EmptyLinesAroundClassBody:
|
247
|
-
Enabled: false
|
248
|
-
|
249
|
-
# Offense count: 4
|
250
|
-
# Cop supports --auto-correct.
|
251
|
-
Style/EmptyLinesAroundMethodBody:
|
252
|
-
Enabled: false
|
253
|
-
|
254
|
-
# Offense count: 44
|
255
|
-
# Cop supports --auto-correct.
|
256
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
257
|
-
Style/EmptyLinesAroundModuleBody:
|
258
|
-
Enabled: false
|
259
|
-
|
260
|
-
# Offense count: 4
|
261
|
-
# Cop supports --auto-correct.
|
262
|
-
Style/EmptyLiteral:
|
263
|
-
Enabled: false
|
264
|
-
|
265
|
-
# Offense count: 12
|
266
|
-
# Configuration parameters: Exclude.
|
267
|
-
Style/FileName:
|
268
|
-
Enabled: false
|
269
|
-
|
270
|
-
# Offense count: 2
|
271
|
-
# Cop supports --auto-correct.
|
272
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
273
|
-
Style/FirstParameterIndentation:
|
274
|
-
Enabled: false
|
275
|
-
|
276
|
-
# Offense count: 1
|
277
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
278
|
-
Style/For:
|
279
|
-
Enabled: false
|
280
|
-
|
281
|
-
# Offense count: 22
|
282
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
283
|
-
Style/FormatString:
|
284
|
-
Enabled: false
|
285
|
-
|
286
|
-
# Offense count: 31
|
287
|
-
# Configuration parameters: MinBodyLength.
|
288
|
-
Style/GuardClause:
|
289
|
-
Enabled: false
|
290
|
-
|
291
|
-
# Offense count: 52
|
292
|
-
# Cop supports --auto-correct.
|
293
|
-
# Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues.
|
294
|
-
Style/HashSyntax:
|
295
|
-
EnforcedStyle: hash_rockets
|
296
|
-
|
297
|
-
# Offense count: 55
|
298
|
-
# Cop supports --auto-correct.
|
299
|
-
# Configuration parameters: MaxLineLength.
|
300
|
-
Style/IfUnlessModifier:
|
301
|
-
Enabled: false
|
302
|
-
|
303
|
-
# Offense count: 6
|
304
|
-
# Cop supports --auto-correct.
|
305
|
-
Style/IndentArray:
|
306
|
-
Enabled: false
|
307
|
-
|
308
|
-
# Offense count: 24
|
309
|
-
# Cop supports --auto-correct.
|
310
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
311
|
-
Style/IndentHash:
|
312
|
-
Enabled: false
|
313
|
-
|
314
|
-
# Offense count: 39
|
315
|
-
# Cop supports --auto-correct.
|
316
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
317
|
-
Style/IndentationConsistency:
|
318
|
-
Enabled: false
|
319
|
-
|
320
|
-
# Offense count: 61
|
321
|
-
# Cop supports --auto-correct.
|
322
|
-
# Configuration parameters: Width.
|
323
|
-
Style/IndentationWidth:
|
324
|
-
Enabled: false
|
325
|
-
|
326
|
-
# Offense count: 2
|
327
|
-
# Cop supports --auto-correct.
|
328
|
-
Style/InfiniteLoop:
|
329
|
-
Enabled: false
|
330
|
-
|
331
|
-
# Offense count: 18
|
332
|
-
# Cop supports --auto-correct.
|
333
|
-
Style/LeadingCommentSpace:
|
334
|
-
Enabled: false
|
335
|
-
|
336
|
-
# Offense count: 7
|
337
|
-
# Cop supports --auto-correct.
|
338
|
-
Style/LineEndConcatenation:
|
339
|
-
Enabled: false
|
340
|
-
|
341
|
-
# Offense count: 105
|
342
|
-
# Cop supports --auto-correct.
|
343
|
-
Style/MethodCallParentheses:
|
344
|
-
Enabled: false
|
345
|
-
|
346
|
-
# Offense count: 11
|
347
|
-
# Cop supports --auto-correct.
|
348
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
349
|
-
Style/MethodDefParentheses:
|
350
|
-
Enabled: false
|
351
|
-
|
352
|
-
# Offense count: 38
|
353
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
354
|
-
Style/MethodName:
|
355
|
-
Enabled: false
|
356
|
-
|
357
|
-
# Offense count: 1
|
358
|
-
Style/MultilineBlockChain:
|
359
|
-
Enabled: false
|
360
|
-
|
361
|
-
# Offense count: 1
|
362
|
-
# Cop supports --auto-correct.
|
363
|
-
Style/MultilineIfThen:
|
364
|
-
Enabled: false
|
365
|
-
|
366
|
-
# Offense count: 35
|
367
|
-
# Cop supports --auto-correct.
|
368
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
369
|
-
Style/MultilineOperationIndentation:
|
370
|
-
Enabled: false
|
371
|
-
|
372
|
-
# Offense count: 8
|
373
|
-
# Cop supports --auto-correct.
|
374
|
-
Style/NegatedIf:
|
375
|
-
Enabled: false
|
376
|
-
|
377
|
-
# Offense count: 8
|
378
|
-
# Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
|
379
|
-
Style/Next:
|
380
|
-
Enabled: false
|
381
|
-
|
382
|
-
# Offense count: 5
|
383
|
-
# Cop supports --auto-correct.
|
384
|
-
Style/Not:
|
385
|
-
Enabled: false
|
386
|
-
|
387
|
-
# Offense count: 1
|
388
|
-
# Cop supports --auto-correct.
|
389
|
-
Style/NumericLiterals:
|
390
|
-
MinDigits: 6
|
391
|
-
|
392
|
-
# Offense count: 1
|
393
|
-
# Cop supports --auto-correct.
|
394
|
-
# Configuration parameters: AllowSafeAssignment.
|
395
|
-
Style/ParenthesesAroundCondition:
|
396
|
-
Enabled: false
|
397
|
-
|
398
|
-
# Offense count: 516
|
399
|
-
# Cop supports --auto-correct.
|
400
|
-
# Configuration parameters: PreferredDelimiters.
|
401
|
-
Style/PercentLiteralDelimiters:
|
402
|
-
Enabled: false
|
403
|
-
|
404
|
-
# Offense count: 160
|
405
|
-
# Cop supports --auto-correct.
|
406
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
407
|
-
Style/PercentQLiterals:
|
408
|
-
Enabled: false
|
409
|
-
|
410
|
-
# Offense count: 37
|
411
|
-
# Cop supports --auto-correct.
|
412
|
-
Style/PerlBackrefs:
|
413
|
-
Enabled: false
|
414
|
-
|
415
|
-
# Offense count: 1
|
416
|
-
# Configuration parameters: NamePrefix, NamePrefixBlacklist.
|
417
|
-
Style/PredicateName:
|
418
|
-
Enabled: false
|
419
|
-
|
420
|
-
# Offense count: 4
|
421
|
-
# Cop supports --auto-correct.
|
422
|
-
Style/RedundantBegin:
|
423
|
-
Enabled: false
|
424
|
-
|
425
|
-
# Offense count: 14
|
426
|
-
# Cop supports --auto-correct.
|
427
|
-
# Configuration parameters: AllowMultipleReturnValues.
|
428
|
-
Style/RedundantReturn:
|
429
|
-
Enabled: false
|
430
|
-
|
431
|
-
# Offense count: 16
|
432
|
-
# Cop supports --auto-correct.
|
433
|
-
Style/RedundantSelf:
|
434
|
-
Enabled: false
|
435
|
-
|
436
|
-
# Offense count: 35
|
437
|
-
# Cop supports --auto-correct.
|
438
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
439
|
-
Style/RegexpLiteral:
|
440
|
-
Enabled: false
|
441
|
-
|
442
|
-
# Offense count: 8
|
443
|
-
# Cop supports --auto-correct.
|
444
|
-
Style/SelfAssignment:
|
445
|
-
Enabled: true
|
446
|
-
|
447
|
-
# Offense count: 6
|
448
|
-
# Cop supports --auto-correct.
|
449
|
-
# Configuration parameters: AllowAsExpressionSeparator.
|
450
|
-
Style/Semicolon:
|
451
|
-
Enabled: false
|
452
|
-
|
453
|
-
# Offense count: 42
|
454
|
-
# Cop supports --auto-correct.
|
455
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
456
|
-
Style/SignalException:
|
457
|
-
Enabled: false
|
458
|
-
|
459
|
-
# Offense count: 11
|
460
|
-
# Configuration parameters: Methods.
|
461
|
-
Style/SingleLineBlockParams:
|
462
|
-
Enabled: false
|
463
|
-
|
464
|
-
# Offense count: 4
|
465
|
-
# Cop supports --auto-correct.
|
466
|
-
# Configuration parameters: AllowIfMethodIsEmpty.
|
467
|
-
Style/SingleLineMethods:
|
468
|
-
Enabled: false
|
469
|
-
|
470
|
-
# Offense count: 143
|
471
|
-
# Cop supports --auto-correct.
|
472
|
-
Style/SpaceAfterComma:
|
473
|
-
Enabled: false
|
474
|
-
|
475
|
-
# Offense count: 2
|
476
|
-
# Cop supports --auto-correct.
|
477
|
-
Style/SpaceAfterNot:
|
478
|
-
Enabled: false
|
479
|
-
|
480
|
-
# Offense count: 8
|
481
|
-
# Cop supports --auto-correct.
|
482
|
-
Style/SpaceAfterSemicolon:
|
483
|
-
Enabled: false
|
484
|
-
|
485
|
-
# Offense count: 46
|
486
|
-
# Cop supports --auto-correct.
|
487
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
488
|
-
Style/SpaceAroundEqualsInParameterDefault:
|
489
|
-
Enabled: false
|
490
|
-
|
491
|
-
# Offense count: 204
|
492
|
-
# Cop supports --auto-correct.
|
493
|
-
# Configuration parameters: MultiSpaceAllowedForOperators.
|
494
|
-
Style/SpaceAroundOperators:
|
495
|
-
Enabled: false
|
496
|
-
|
497
|
-
# Offense count: 84
|
498
|
-
# Cop supports --auto-correct.
|
499
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
500
|
-
Style/SpaceBeforeBlockBraces:
|
501
|
-
Enabled: false
|
502
|
-
|
503
|
-
# Offense count: 2
|
504
|
-
# Cop supports --auto-correct.
|
505
|
-
Style/SpaceBeforeComma:
|
506
|
-
Enabled: false
|
507
|
-
|
508
|
-
# Offense count: 272
|
509
|
-
# Cop supports --auto-correct.
|
510
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
511
|
-
Style/SpaceInsideBlockBraces:
|
512
|
-
Enabled: false
|
513
|
-
|
514
|
-
# Offense count: 151
|
515
|
-
# Cop supports --auto-correct.
|
516
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
517
|
-
Style/SpaceInsideHashLiteralBraces:
|
518
|
-
Enabled: false
|
519
|
-
|
520
|
-
# Offense count: 1
|
521
|
-
# Cop supports --auto-correct.
|
522
|
-
Style/SpaceInsideParens:
|
523
|
-
Enabled: false
|
524
|
-
|
525
|
-
# Offense count: 1
|
526
|
-
# Cop supports --auto-correct.
|
527
|
-
Style/SpaceInsideRangeLiteral:
|
528
|
-
Enabled: false
|
529
|
-
|
530
|
-
# Offense count: 16
|
531
|
-
# Cop supports --auto-correct.
|
532
|
-
Style/SpecialGlobalVars:
|
533
|
-
Enabled: false
|
534
|
-
|
535
|
-
# Offense count: 2762
|
536
|
-
# Cop supports --auto-correct.
|
537
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
538
|
-
Style/StringLiterals:
|
539
|
-
Enabled: false
|
540
|
-
|
541
|
-
# Offense count: 450
|
542
|
-
# Cop supports --auto-correct.
|
543
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
544
|
-
Style/StringLiteralsInInterpolation:
|
545
|
-
Enabled: false
|
546
|
-
|
547
|
-
# Offense count: 12
|
548
|
-
# Cop supports --auto-correct.
|
549
|
-
# Configuration parameters: IgnoredMethods.
|
550
|
-
Style/SymbolProc:
|
551
|
-
Enabled: false
|
552
|
-
|
553
|
-
# Offense count: 348
|
554
|
-
# Cop supports --auto-correct.
|
555
|
-
Style/Tab:
|
556
|
-
Enabled: false
|
557
|
-
|
558
|
-
# Offense count: 9
|
559
|
-
# Cop supports --auto-correct.
|
560
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
561
|
-
Style/TrailingBlankLines:
|
562
|
-
Enabled: false
|
563
|
-
|
564
|
-
# Offense count: 32
|
565
|
-
# Cop supports --auto-correct.
|
566
|
-
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
567
|
-
Style/TrailingCommaInLiteral:
|
568
|
-
Enabled: false
|
569
|
-
|
570
|
-
Style/TrailingCommaInArguments:
|
571
|
-
Enabled: false
|
572
|
-
|
573
|
-
# Offense count: 3
|
574
|
-
# Cop supports --auto-correct.
|
575
|
-
Style/TrailingWhitespace:
|
576
|
-
Enabled: false
|
577
|
-
|
578
|
-
# Offense count: 4
|
579
|
-
# Cop supports --auto-correct.
|
580
|
-
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
581
|
-
Style/TrivialAccessors:
|
582
|
-
Enabled: false
|
583
|
-
|
584
|
-
# Offense count: 3
|
585
|
-
Style/UnlessElse:
|
586
|
-
Enabled: false
|
587
|
-
|
588
|
-
# Offense count: 228
|
589
|
-
# Cop supports --auto-correct.
|
590
|
-
Style/UnneededPercentQ:
|
591
|
-
Enabled: false
|
592
|
-
|
593
|
-
# Offense count: 3
|
594
|
-
# Cop supports --auto-correct.
|
595
|
-
# Configuration parameters: MaxLineLength.
|
596
|
-
Style/WhileUntilModifier:
|
597
|
-
Enabled: false
|
598
|
-
|
599
|
-
# Offense count: 19
|
600
|
-
# Cop supports --auto-correct.
|
601
|
-
# Configuration parameters: WordRegex.
|
602
|
-
Style/WordArray:
|
603
|
-
MinSize: 10
|
604
|
-
|
605
|
-
Style/IfInsideElse:
|
606
|
-
Enabled: false
|
607
|
-
|
608
|
-
Performance/RedundantMatch:
|
609
|
-
Enabled: false
|
610
|
-
|
611
|
-
Performance/Casecmp:
|
612
|
-
Enabled: false
|