review-peg 0.1.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.
Files changed (174) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +36 -0
  3. data/.rubocop.yml +47 -0
  4. data/.rubocop_todo.yml +605 -0
  5. data/.travis.yml +18 -0
  6. data/COPYING +515 -0
  7. data/ChangeLog +2449 -0
  8. data/Dockerfile +22 -0
  9. data/Gemfile +6 -0
  10. data/README.rdoc +81 -0
  11. data/Rakefile +51 -0
  12. data/bin/review-catalog-converter-peg +129 -0
  13. data/bin/review-check-peg +169 -0
  14. data/bin/review-checkdep-peg +63 -0
  15. data/bin/review-compile-peg +202 -0
  16. data/bin/review-epubmaker-legacy-peg +1024 -0
  17. data/bin/review-epubmaker-peg +44 -0
  18. data/bin/review-index-peg +110 -0
  19. data/bin/review-init-peg +151 -0
  20. data/bin/review-pdfmaker-peg +18 -0
  21. data/bin/review-preproc-peg +131 -0
  22. data/bin/review-validate-peg +51 -0
  23. data/bin/review-vol-peg +100 -0
  24. data/debian/README.Debian +12 -0
  25. data/debian/README.source +5 -0
  26. data/debian/changelog +5 -0
  27. data/debian/compat +1 -0
  28. data/debian/control +22 -0
  29. data/debian/copyright +62 -0
  30. data/debian/docs +6 -0
  31. data/debian/manpage.1.ex +59 -0
  32. data/debian/patches/path.diff +91 -0
  33. data/debian/patches/series +1 -0
  34. data/debian/review.install +13 -0
  35. data/debian/review.links +4 -0
  36. data/debian/rules +13 -0
  37. data/debian/source/format +1 -0
  38. data/doc/NEWS.ja.md +350 -0
  39. data/doc/NEWS.md +354 -0
  40. data/doc/catalog.ja.md +53 -0
  41. data/doc/catalog.md +52 -0
  42. data/doc/format.ja.md +734 -0
  43. data/doc/format.md +746 -0
  44. data/doc/format_idg.ja.md +203 -0
  45. data/doc/quickstart.ja.md +222 -0
  46. data/doc/quickstart.md +252 -0
  47. data/doc/ruby-uuid/README +11 -0
  48. data/doc/ruby-uuid/README.ja +34 -0
  49. data/doc/sample.css +108 -0
  50. data/doc/sample.yml +238 -0
  51. data/lib/epubmaker.rb +24 -0
  52. data/lib/epubmaker/content.rb +93 -0
  53. data/lib/epubmaker/epubcommon.rb +424 -0
  54. data/lib/epubmaker/epubv2.rb +139 -0
  55. data/lib/epubmaker/epubv3.rb +222 -0
  56. data/lib/epubmaker/producer.rb +330 -0
  57. data/lib/lineinput.rb +107 -0
  58. data/lib/review.rb +3 -0
  59. data/lib/review/book.rb +43 -0
  60. data/lib/review/book/base.rb +401 -0
  61. data/lib/review/book/chapter.rb +100 -0
  62. data/lib/review/book/compilable.rb +184 -0
  63. data/lib/review/book/image_finder.rb +71 -0
  64. data/lib/review/book/index.rb +413 -0
  65. data/lib/review/book/page_metric.rb +47 -0
  66. data/lib/review/book/part.rb +54 -0
  67. data/lib/review/book/volume.rb +67 -0
  68. data/lib/review/builder.rb +452 -0
  69. data/lib/review/catalog.rb +52 -0
  70. data/lib/review/compiler.rb +5183 -0
  71. data/lib/review/compiler/literals_1_9.kpeg +22 -0
  72. data/lib/review/compiler/literals_1_9.rb +435 -0
  73. data/lib/review/configure.rb +64 -0
  74. data/lib/review/epubbuilder.rb +18 -0
  75. data/lib/review/epubmaker.rb +480 -0
  76. data/lib/review/ewbbuilder.rb +381 -0
  77. data/lib/review/exception.rb +21 -0
  78. data/lib/review/extentions.rb +4 -0
  79. data/lib/review/extentions/array.rb +25 -0
  80. data/lib/review/extentions/object.rb +9 -0
  81. data/lib/review/extentions/string.rb +33 -0
  82. data/lib/review/htmlbuilder.rb +1166 -0
  83. data/lib/review/htmllayout.rb +41 -0
  84. data/lib/review/htmltoc.rb +45 -0
  85. data/lib/review/htmlutils.rb +90 -0
  86. data/lib/review/i18n.rb +96 -0
  87. data/lib/review/i18n.yml +169 -0
  88. data/lib/review/idgxmlbuilder.rb +1233 -0
  89. data/lib/review/inaobuilder.rb +357 -0
  90. data/lib/review/latexbuilder.rb +941 -0
  91. data/lib/review/latexindex.rb +35 -0
  92. data/lib/review/latexutils.rb +95 -0
  93. data/lib/review/layout.tex.erb +340 -0
  94. data/lib/review/lineinput.rb +17 -0
  95. data/lib/review/location.rb +24 -0
  96. data/lib/review/makerhelper.rb +67 -0
  97. data/lib/review/markdownbuilder.rb +339 -0
  98. data/lib/review/node.rb +288 -0
  99. data/lib/review/pdfmaker.rb +332 -0
  100. data/lib/review/preprocessor.rb +530 -0
  101. data/lib/review/review.kpeg +745 -0
  102. data/lib/review/sec_counter.rb +69 -0
  103. data/lib/review/template.rb +21 -0
  104. data/lib/review/textbuilder.rb +17 -0
  105. data/lib/review/textutils.rb +16 -0
  106. data/lib/review/tocparser.rb +348 -0
  107. data/lib/review/tocprinter.rb +205 -0
  108. data/lib/review/topbuilder.rb +796 -0
  109. data/lib/review/unfold.rb +138 -0
  110. data/lib/review/version.rb +3 -0
  111. data/lib/uuid.rb +312 -0
  112. data/review.gemspec +32 -0
  113. data/templates/html/layout-html5.html.erb +17 -0
  114. data/templates/html/layout-xhtml1.html.erb +20 -0
  115. data/templates/ncx/epubv2.ncx.erb +11 -0
  116. data/templates/opf/epubv2.opf.erb +21 -0
  117. data/templates/opf/epubv3.opf.erb +18 -0
  118. data/templates/xml/container.xml.erb +6 -0
  119. data/test/CHAPS +2 -0
  120. data/test/assets/test.xml.erb +3 -0
  121. data/test/assets/test_template.tex +255 -0
  122. data/test/assets/test_template_backmatter.tex +32 -0
  123. data/test/bib.re +13 -0
  124. data/test/book_test_helper.rb +35 -0
  125. data/test/sample-book/README.md +7 -0
  126. data/test/sample-book/src/Rakefile +58 -0
  127. data/test/sample-book/src/_cover.html +3 -0
  128. data/test/sample-book/src/catalog.yml +10 -0
  129. data/test/sample-book/src/ch01.re +71 -0
  130. data/test/sample-book/src/ch02.re +3 -0
  131. data/test/sample-book/src/config.yml +186 -0
  132. data/test/sample-book/src/images/ch01-imgsample.jpg +0 -0
  133. data/test/sample-book/src/images/cover.jpg +0 -0
  134. data/test/sample-book/src/preface.re +15 -0
  135. data/test/sample-book/src/sty/jumoline.sty +310 -0
  136. data/test/sample-book/src/sty/reviewmacro.sty +39 -0
  137. data/test/sample-book/src/style.css +251 -0
  138. data/test/sample-book/src/vendor/jumoline/README +29 -0
  139. data/test/sample-book/src/vendor/jumoline/jumoline.dtx +2988 -0
  140. data/test/sample-book/src/vendor/jumoline/jumoline.ins +6 -0
  141. data/test/test.re +43 -0
  142. data/test/test_book.rb +556 -0
  143. data/test/test_book_chapter.rb +280 -0
  144. data/test/test_book_part.rb +54 -0
  145. data/test/test_builder.rb +80 -0
  146. data/test/test_catalog.rb +119 -0
  147. data/test/test_catalog_converter_cmd.rb +73 -0
  148. data/test/test_compiler.rb +92 -0
  149. data/test/test_configure.rb +50 -0
  150. data/test/test_epub3maker.rb +529 -0
  151. data/test/test_epubmaker.rb +569 -0
  152. data/test/test_epubmaker_cmd.rb +40 -0
  153. data/test/test_helper.rb +92 -0
  154. data/test/test_htmlbuilder.rb +1114 -0
  155. data/test/test_htmltoc.rb +32 -0
  156. data/test/test_htmlutils.rb +50 -0
  157. data/test/test_i18n.rb +180 -0
  158. data/test/test_idgxmlbuilder.rb +608 -0
  159. data/test/test_image_finder.rb +82 -0
  160. data/test/test_inaobuilder.rb +245 -0
  161. data/test/test_index.rb +174 -0
  162. data/test/test_latexbuilder.rb +732 -0
  163. data/test/test_lineinput.rb +182 -0
  164. data/test/test_makerhelper.rb +66 -0
  165. data/test/test_markdownbuilder.rb +125 -0
  166. data/test/test_pdfmaker.rb +171 -0
  167. data/test/test_pdfmaker_cmd.rb +40 -0
  168. data/test/test_preprocessor.rb +23 -0
  169. data/test/test_review_ext.rb +31 -0
  170. data/test/test_template.rb +26 -0
  171. data/test/test_textutils.rb +32 -0
  172. data/test/test_topbuilder.rb +291 -0
  173. data/test/test_uuid.rb +157 -0
  174. metadata +357 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: fd105d0821229e06a22f8f08a083d38808bc2da1
4
+ data.tar.gz: 8a14d9cfd37d596ee0799a3a2c6b8fc1eaa7b260
5
+ SHA512:
6
+ metadata.gz: 6a5fc7e268a64514a22901121da0119775cf0658f37e40a73460f4c8409e4df4dd3bb9573e737a91feb182cd4c4b3d32f3afa596271208bffaf69567da69da72
7
+ data.tar.gz: ef828baa49aa15061de385aa1199e7b966dc8a548b35b5096bcec3ffc038546cbf100cc461615e35c2fd0f91487425d07ab849941f2a9a8f8f2f0f544eb70824
data/.gitignore ADDED
@@ -0,0 +1,36 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /test/tmp/
9
+ /test/version_tmp/
10
+ /tmp/
11
+
12
+ ## Specific to RubyMotion:
13
+ .dat*
14
+ .repl_history
15
+ build/
16
+
17
+ ## Documentation cache and generated files:
18
+ /.yardoc/
19
+ /_yardoc/
20
+ /rdoc/
21
+
22
+ ## Environment normalisation:
23
+ /.bundle/
24
+ /lib/bundler/man/
25
+
26
+ # for a library or gem, you might want to ignore these files since the code is
27
+ # intended to run in multiple environments; otherwise, check them in:
28
+ Gemfile.lock
29
+ # .ruby-version
30
+ # .ruby-gemset
31
+
32
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
33
+ .rvmrc
34
+
35
+ # IntelliJ
36
+ .idea
data/.rubocop.yml ADDED
@@ -0,0 +1,47 @@
1
+ AllCops:
2
+ Exclude:
3
+ - lib/lineinput.rb
4
+ - lib/uuid.rb
5
+
6
+ inherit_from: .rubocop_todo.yml
7
+
8
+ Lint/BlockAlignment:
9
+ Enabled: true
10
+
11
+ Lint/EndAlignment:
12
+ Enabled: AlignWith
13
+
14
+ Performance/ReverseEach:
15
+ Enabled: true
16
+
17
+ # Unnecessary spacing detected.
18
+ Style/ExtraSpacing:
19
+ Enabled: true
20
+
21
+ # Use tr instead of gsub.
22
+ Performance/StringReplacement:
23
+ Enabled: false
24
+
25
+ # Use alias_method instead of alias.
26
+ Style/Alias:
27
+ Enabled: true
28
+
29
+ # Do not introduce global variables.
30
+ Style/GlobalVars:
31
+ Enabled: true
32
+
33
+ # Use self-assignment shorthand +=.
34
+ Style/SelfAssignment:
35
+ Enabled: true
36
+
37
+ # When defining the == operator, name its argument other.
38
+ Style/OpMethod:
39
+ Enabled: true
40
+
41
+ # Use snake_case for variable names.
42
+ Style/VariableName:
43
+ Enabled: true
44
+
45
+ # Configuration parameters: CountComments.
46
+ Metrics/ClassLength:
47
+ Max: 4500
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,605 @@
1
+ # This configuration was generated by `rubocop --auto-gen-config`
2
+ # on 2015-06-29 21:55:30 +0900 using RuboCop version 0.32.1.
3
+ # The point is for the user to remove these configuration records
4
+ # one by one as the offenses are removed from the code base.
5
+ # Note that changes in the inspected code, or installation of new
6
+ # 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: 4
202
+ # Cop supports --auto-correct.
203
+ Style/DeprecatedHashMethods:
204
+ Enabled: false
205
+
206
+ # Offense count: 105
207
+ Style/Documentation:
208
+ Enabled: false
209
+
210
+ # Offense count: 2
211
+ # Cop supports --auto-correct.
212
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
213
+ Style/DotPosition:
214
+ Enabled: false
215
+
216
+ # Offense count: 2
217
+ Style/EachWithObject:
218
+ Enabled: false
219
+
220
+ # Offense count: 3
221
+ # Cop supports --auto-correct.
222
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
223
+ Style/EmptyElse:
224
+ Enabled: false
225
+
226
+ # Offense count: 5
227
+ # Cop supports --auto-correct.
228
+ # Configuration parameters: AllowAdjacentOneLineDefs.
229
+ Style/EmptyLineBetweenDefs:
230
+ Enabled: false
231
+
232
+ # Offense count: 43
233
+ # Cop supports --auto-correct.
234
+ Style/EmptyLines:
235
+ Enabled: false
236
+
237
+ # Offense count: 3
238
+ # Cop supports --auto-correct.
239
+ Style/EmptyLinesAroundAccessModifier:
240
+ Enabled: false
241
+
242
+ # Offense count: 1
243
+ # Cop supports --auto-correct.
244
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
245
+ Style/EmptyLinesAroundBlockBody:
246
+ Enabled: false
247
+
248
+ # Offense count: 53
249
+ # Cop supports --auto-correct.
250
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
251
+ Style/EmptyLinesAroundClassBody:
252
+ Enabled: false
253
+
254
+ # Offense count: 4
255
+ # Cop supports --auto-correct.
256
+ Style/EmptyLinesAroundMethodBody:
257
+ Enabled: false
258
+
259
+ # Offense count: 44
260
+ # Cop supports --auto-correct.
261
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
262
+ Style/EmptyLinesAroundModuleBody:
263
+ Enabled: false
264
+
265
+ # Offense count: 4
266
+ # Cop supports --auto-correct.
267
+ Style/EmptyLiteral:
268
+ Enabled: false
269
+
270
+ # Offense count: 12
271
+ # Configuration parameters: Exclude.
272
+ Style/FileName:
273
+ Enabled: false
274
+
275
+ # Offense count: 2
276
+ # Cop supports --auto-correct.
277
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
278
+ Style/FirstParameterIndentation:
279
+ Enabled: false
280
+
281
+ # Offense count: 1
282
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
283
+ Style/For:
284
+ Enabled: false
285
+
286
+ # Offense count: 22
287
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
288
+ Style/FormatString:
289
+ Enabled: false
290
+
291
+ # Offense count: 31
292
+ # Configuration parameters: MinBodyLength.
293
+ Style/GuardClause:
294
+ Enabled: false
295
+
296
+ # Offense count: 52
297
+ # Cop supports --auto-correct.
298
+ # Configuration parameters: SupportedStyles, UseHashRocketsWithSymbolValues.
299
+ Style/HashSyntax:
300
+ EnforcedStyle: hash_rockets
301
+
302
+ # Offense count: 55
303
+ # Cop supports --auto-correct.
304
+ # Configuration parameters: MaxLineLength.
305
+ Style/IfUnlessModifier:
306
+ Enabled: false
307
+
308
+ # Offense count: 6
309
+ # Cop supports --auto-correct.
310
+ Style/IndentArray:
311
+ Enabled: false
312
+
313
+ # Offense count: 24
314
+ # Cop supports --auto-correct.
315
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
316
+ Style/IndentHash:
317
+ Enabled: false
318
+
319
+ # Offense count: 39
320
+ # Cop supports --auto-correct.
321
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
322
+ Style/IndentationConsistency:
323
+ Enabled: false
324
+
325
+ # Offense count: 61
326
+ # Cop supports --auto-correct.
327
+ # Configuration parameters: Width.
328
+ Style/IndentationWidth:
329
+ Enabled: false
330
+
331
+ # Offense count: 2
332
+ # Cop supports --auto-correct.
333
+ Style/InfiniteLoop:
334
+ Enabled: false
335
+
336
+ # Offense count: 18
337
+ # Cop supports --auto-correct.
338
+ Style/LeadingCommentSpace:
339
+ Enabled: false
340
+
341
+ # Offense count: 7
342
+ # Cop supports --auto-correct.
343
+ Style/LineEndConcatenation:
344
+ Enabled: false
345
+
346
+ # Offense count: 105
347
+ # Cop supports --auto-correct.
348
+ Style/MethodCallParentheses:
349
+ Enabled: false
350
+
351
+ # Offense count: 11
352
+ # Cop supports --auto-correct.
353
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
354
+ Style/MethodDefParentheses:
355
+ Enabled: false
356
+
357
+ # Offense count: 38
358
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
359
+ Style/MethodName:
360
+ Enabled: false
361
+
362
+ # Offense count: 1
363
+ Style/MultilineBlockChain:
364
+ Enabled: false
365
+
366
+ # Offense count: 1
367
+ # Cop supports --auto-correct.
368
+ Style/MultilineIfThen:
369
+ Enabled: false
370
+
371
+ # Offense count: 35
372
+ # Cop supports --auto-correct.
373
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
374
+ Style/MultilineOperationIndentation:
375
+ Enabled: false
376
+
377
+ # Offense count: 8
378
+ # Cop supports --auto-correct.
379
+ Style/NegatedIf:
380
+ Enabled: false
381
+
382
+ # Offense count: 8
383
+ # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
384
+ Style/Next:
385
+ Enabled: false
386
+
387
+ # Offense count: 5
388
+ # Cop supports --auto-correct.
389
+ Style/Not:
390
+ Enabled: false
391
+
392
+ # Offense count: 1
393
+ # Cop supports --auto-correct.
394
+ Style/NumericLiterals:
395
+ MinDigits: 6
396
+
397
+ # Offense count: 1
398
+ # Cop supports --auto-correct.
399
+ # Configuration parameters: AllowSafeAssignment.
400
+ Style/ParenthesesAroundCondition:
401
+ Enabled: false
402
+
403
+ # Offense count: 516
404
+ # Cop supports --auto-correct.
405
+ # Configuration parameters: PreferredDelimiters.
406
+ Style/PercentLiteralDelimiters:
407
+ Enabled: false
408
+
409
+ # Offense count: 160
410
+ # Cop supports --auto-correct.
411
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
412
+ Style/PercentQLiterals:
413
+ Enabled: false
414
+
415
+ # Offense count: 37
416
+ # Cop supports --auto-correct.
417
+ Style/PerlBackrefs:
418
+ Enabled: false
419
+
420
+ # Offense count: 1
421
+ # Configuration parameters: NamePrefix, NamePrefixBlacklist.
422
+ Style/PredicateName:
423
+ Enabled: false
424
+
425
+ # Offense count: 4
426
+ # Cop supports --auto-correct.
427
+ Style/RedundantBegin:
428
+ Enabled: false
429
+
430
+ # Offense count: 14
431
+ # Cop supports --auto-correct.
432
+ # Configuration parameters: AllowMultipleReturnValues.
433
+ Style/RedundantReturn:
434
+ Enabled: false
435
+
436
+ # Offense count: 16
437
+ # Cop supports --auto-correct.
438
+ Style/RedundantSelf:
439
+ Enabled: false
440
+
441
+ # Offense count: 35
442
+ # Cop supports --auto-correct.
443
+ # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
444
+ Style/RegexpLiteral:
445
+ Enabled: false
446
+
447
+ # Offense count: 8
448
+ # Cop supports --auto-correct.
449
+ Style/SelfAssignment:
450
+ Enabled: true
451
+
452
+ # Offense count: 6
453
+ # Cop supports --auto-correct.
454
+ # Configuration parameters: AllowAsExpressionSeparator.
455
+ Style/Semicolon:
456
+ Enabled: false
457
+
458
+ # Offense count: 42
459
+ # Cop supports --auto-correct.
460
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
461
+ Style/SignalException:
462
+ Enabled: false
463
+
464
+ # Offense count: 11
465
+ # Configuration parameters: Methods.
466
+ Style/SingleLineBlockParams:
467
+ Enabled: false
468
+
469
+ # Offense count: 4
470
+ # Cop supports --auto-correct.
471
+ # Configuration parameters: AllowIfMethodIsEmpty.
472
+ Style/SingleLineMethods:
473
+ Enabled: false
474
+
475
+ # Offense count: 143
476
+ # Cop supports --auto-correct.
477
+ Style/SpaceAfterComma:
478
+ Enabled: false
479
+
480
+ # Offense count: 2
481
+ # Cop supports --auto-correct.
482
+ Style/SpaceAfterNot:
483
+ Enabled: false
484
+
485
+ # Offense count: 8
486
+ # Cop supports --auto-correct.
487
+ Style/SpaceAfterSemicolon:
488
+ Enabled: false
489
+
490
+ # Offense count: 46
491
+ # Cop supports --auto-correct.
492
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
493
+ Style/SpaceAroundEqualsInParameterDefault:
494
+ Enabled: false
495
+
496
+ # Offense count: 204
497
+ # Cop supports --auto-correct.
498
+ # Configuration parameters: MultiSpaceAllowedForOperators.
499
+ Style/SpaceAroundOperators:
500
+ Enabled: false
501
+
502
+ # Offense count: 84
503
+ # Cop supports --auto-correct.
504
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
505
+ Style/SpaceBeforeBlockBraces:
506
+ Enabled: false
507
+
508
+ # Offense count: 2
509
+ # Cop supports --auto-correct.
510
+ Style/SpaceBeforeComma:
511
+ Enabled: false
512
+
513
+ # Offense count: 272
514
+ # Cop supports --auto-correct.
515
+ # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
516
+ Style/SpaceInsideBlockBraces:
517
+ Enabled: false
518
+
519
+ # Offense count: 151
520
+ # Cop supports --auto-correct.
521
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
522
+ Style/SpaceInsideHashLiteralBraces:
523
+ Enabled: false
524
+
525
+ # Offense count: 1
526
+ # Cop supports --auto-correct.
527
+ Style/SpaceInsideParens:
528
+ Enabled: false
529
+
530
+ # Offense count: 1
531
+ # Cop supports --auto-correct.
532
+ Style/SpaceInsideRangeLiteral:
533
+ Enabled: false
534
+
535
+ # Offense count: 16
536
+ # Cop supports --auto-correct.
537
+ Style/SpecialGlobalVars:
538
+ Enabled: false
539
+
540
+ # Offense count: 2762
541
+ # Cop supports --auto-correct.
542
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
543
+ Style/StringLiterals:
544
+ Enabled: false
545
+
546
+ # Offense count: 450
547
+ # Cop supports --auto-correct.
548
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
549
+ Style/StringLiteralsInInterpolation:
550
+ Enabled: false
551
+
552
+ # Offense count: 12
553
+ # Cop supports --auto-correct.
554
+ # Configuration parameters: IgnoredMethods.
555
+ Style/SymbolProc:
556
+ Enabled: false
557
+
558
+ # Offense count: 348
559
+ # Cop supports --auto-correct.
560
+ Style/Tab:
561
+ Enabled: false
562
+
563
+ # Offense count: 9
564
+ # Cop supports --auto-correct.
565
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
566
+ Style/TrailingBlankLines:
567
+ Enabled: false
568
+
569
+ # Offense count: 32
570
+ # Cop supports --auto-correct.
571
+ # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
572
+ Style/TrailingComma:
573
+ Enabled: false
574
+
575
+ # Offense count: 3
576
+ # Cop supports --auto-correct.
577
+ Style/TrailingWhitespace:
578
+ Enabled: false
579
+
580
+ # Offense count: 4
581
+ # Cop supports --auto-correct.
582
+ # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
583
+ Style/TrivialAccessors:
584
+ Enabled: false
585
+
586
+ # Offense count: 3
587
+ Style/UnlessElse:
588
+ Enabled: false
589
+
590
+ # Offense count: 228
591
+ # Cop supports --auto-correct.
592
+ Style/UnneededPercentQ:
593
+ Enabled: false
594
+
595
+ # Offense count: 3
596
+ # Cop supports --auto-correct.
597
+ # Configuration parameters: MaxLineLength.
598
+ Style/WhileUntilModifier:
599
+ Enabled: false
600
+
601
+ # Offense count: 19
602
+ # Cop supports --auto-correct.
603
+ # Configuration parameters: WordRegex.
604
+ Style/WordArray:
605
+ MinSize: 7