rley 0.7.07 → 0.7.08

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 (139) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +348 -54
  3. data/LICENSE.txt +1 -1
  4. data/README.md +3 -2
  5. data/examples/NLP/engtagger.rb +193 -190
  6. data/examples/NLP/nano_eng/nano_grammar.rb +5 -5
  7. data/examples/data_formats/JSON/cli_options.rb +1 -1
  8. data/examples/data_formats/JSON/json_ast_builder.rb +12 -9
  9. data/examples/data_formats/JSON/json_ast_nodes.rb +12 -21
  10. data/examples/data_formats/JSON/json_grammar.rb +2 -2
  11. data/examples/data_formats/JSON/json_lexer.rb +8 -8
  12. data/examples/data_formats/JSON/json_minifier.rb +1 -1
  13. data/examples/general/calc_iter1/calc_ast_builder.rb +13 -10
  14. data/examples/general/calc_iter1/calc_ast_nodes.rb +23 -37
  15. data/examples/general/calc_iter1/calc_grammar.rb +2 -2
  16. data/examples/general/calc_iter1/calc_lexer.rb +6 -4
  17. data/examples/general/calc_iter1/spec/calculator_spec.rb +5 -5
  18. data/examples/general/calc_iter2/calc_ast_builder.rb +5 -3
  19. data/examples/general/calc_iter2/calc_ast_nodes.rb +27 -43
  20. data/examples/general/calc_iter2/calc_grammar.rb +3 -3
  21. data/examples/general/calc_iter2/calc_lexer.rb +11 -10
  22. data/examples/general/calc_iter2/spec/calculator_spec.rb +26 -26
  23. data/examples/general/left.rb +2 -2
  24. data/examples/general/right.rb +2 -2
  25. data/lib/rley/base/dotted_item.rb +23 -31
  26. data/lib/rley/constants.rb +2 -2
  27. data/lib/rley/engine.rb +20 -23
  28. data/lib/rley/formatter/asciitree.rb +3 -3
  29. data/lib/rley/formatter/bracket_notation.rb +1 -8
  30. data/lib/rley/formatter/debug.rb +6 -6
  31. data/lib/rley/formatter/json.rb +2 -2
  32. data/lib/rley/gfg/call_edge.rb +1 -1
  33. data/lib/rley/gfg/edge.rb +5 -5
  34. data/lib/rley/gfg/end_vertex.rb +2 -6
  35. data/lib/rley/gfg/epsilon_edge.rb +1 -5
  36. data/lib/rley/gfg/grm_flow_graph.rb +27 -23
  37. data/lib/rley/gfg/item_vertex.rb +10 -10
  38. data/lib/rley/gfg/non_terminal_vertex.rb +4 -4
  39. data/lib/rley/gfg/scan_edge.rb +1 -1
  40. data/lib/rley/gfg/shortcut_edge.rb +2 -2
  41. data/lib/rley/gfg/start_vertex.rb +4 -8
  42. data/lib/rley/gfg/vertex.rb +43 -39
  43. data/lib/rley/lexical/token_range.rb +6 -6
  44. data/lib/rley/parse_forest_visitor.rb +5 -5
  45. data/lib/rley/parse_rep/ast_base_builder.rb +9 -11
  46. data/lib/rley/parse_rep/cst_builder.rb +5 -6
  47. data/lib/rley/parse_rep/parse_forest_builder.rb +20 -18
  48. data/lib/rley/parse_rep/parse_forest_factory.rb +3 -3
  49. data/lib/rley/parse_rep/parse_rep_creator.rb +11 -13
  50. data/lib/rley/parse_rep/parse_tree_builder.rb +4 -4
  51. data/lib/rley/parse_rep/parse_tree_factory.rb +27 -27
  52. data/lib/rley/parse_tree_visitor.rb +1 -1
  53. data/lib/rley/parser/error_reason.rb +4 -5
  54. data/lib/rley/parser/gfg_chart.rb +20 -22
  55. data/lib/rley/parser/gfg_parsing.rb +16 -30
  56. data/lib/rley/parser/parse_entry.rb +25 -31
  57. data/lib/rley/parser/parse_entry_set.rb +18 -15
  58. data/lib/rley/parser/parse_entry_tracker.rb +4 -4
  59. data/lib/rley/parser/parse_state.rb +16 -21
  60. data/lib/rley/parser/parse_state_tracker.rb +4 -4
  61. data/lib/rley/parser/parse_tracer.rb +13 -13
  62. data/lib/rley/parser/parse_walker_factory.rb +23 -28
  63. data/lib/rley/parser/state_set.rb +9 -10
  64. data/lib/rley/ptree/non_terminal_node.rb +7 -5
  65. data/lib/rley/ptree/parse_tree.rb +3 -3
  66. data/lib/rley/ptree/parse_tree_node.rb +5 -5
  67. data/lib/rley/ptree/terminal_node.rb +7 -7
  68. data/lib/rley/rley_error.rb +12 -12
  69. data/lib/rley/sppf/alternative_node.rb +6 -6
  70. data/lib/rley/sppf/composite_node.rb +7 -7
  71. data/lib/rley/sppf/epsilon_node.rb +3 -3
  72. data/lib/rley/sppf/leaf_node.rb +3 -3
  73. data/lib/rley/sppf/parse_forest.rb +16 -16
  74. data/lib/rley/sppf/sppf_node.rb +7 -8
  75. data/lib/rley/sppf/token_node.rb +3 -3
  76. data/lib/rley/syntax/grammar.rb +5 -5
  77. data/lib/rley/syntax/grammar_builder.rb +9 -9
  78. data/lib/rley/syntax/grm_symbol.rb +6 -6
  79. data/lib/rley/syntax/non_terminal.rb +9 -15
  80. data/lib/rley/syntax/production.rb +10 -10
  81. data/lib/rley/syntax/symbol_seq.rb +7 -9
  82. data/lib/rley/syntax/terminal.rb +4 -5
  83. data/lib/rley/syntax/verbatim_symbol.rb +3 -3
  84. data/lib/support/base_tokenizer.rb +19 -18
  85. data/spec/rley/base/dotted_item_spec.rb +2 -2
  86. data/spec/rley/engine_spec.rb +17 -15
  87. data/spec/rley/formatter/asciitree_spec.rb +7 -7
  88. data/spec/rley/formatter/bracket_notation_spec.rb +13 -13
  89. data/spec/rley/formatter/json_spec.rb +1 -1
  90. data/spec/rley/gfg/end_vertex_spec.rb +5 -5
  91. data/spec/rley/gfg/item_vertex_spec.rb +10 -10
  92. data/spec/rley/gfg/non_terminal_vertex_spec.rb +3 -3
  93. data/spec/rley/gfg/shortcut_edge_spec.rb +1 -1
  94. data/spec/rley/gfg/start_vertex_spec.rb +5 -5
  95. data/spec/rley/gfg/vertex_spec.rb +3 -3
  96. data/spec/rley/lexical/token_range_spec.rb +16 -16
  97. data/spec/rley/lexical/token_spec.rb +2 -2
  98. data/spec/rley/parse_forest_visitor_spec.rb +165 -163
  99. data/spec/rley/parse_rep/ambiguous_parse_spec.rb +44 -44
  100. data/spec/rley/parse_rep/ast_builder_spec.rb +6 -6
  101. data/spec/rley/parse_rep/cst_builder_spec.rb +5 -5
  102. data/spec/rley/parse_rep/groucho_spec.rb +21 -21
  103. data/spec/rley/parse_rep/parse_forest_builder_spec.rb +26 -26
  104. data/spec/rley/parse_rep/parse_forest_factory_spec.rb +6 -6
  105. data/spec/rley/parse_rep/parse_tree_factory_spec.rb +2 -2
  106. data/spec/rley/parse_tree_visitor_spec.rb +10 -8
  107. data/spec/rley/parser/error_reason_spec.rb +6 -6
  108. data/spec/rley/parser/gfg_earley_parser_spec.rb +4 -2
  109. data/spec/rley/parser/gfg_parsing_spec.rb +4 -8
  110. data/spec/rley/parser/parse_entry_spec.rb +19 -19
  111. data/spec/rley/parser/parse_state_spec.rb +5 -5
  112. data/spec/rley/parser/parse_walker_factory_spec.rb +1 -1
  113. data/spec/rley/parser/state_set_spec.rb +22 -22
  114. data/spec/rley/ptree/non_terminal_node_spec.rb +5 -3
  115. data/spec/rley/ptree/parse_tree_node_spec.rb +4 -4
  116. data/spec/rley/ptree/terminal_node_spec.rb +6 -6
  117. data/spec/rley/sppf/alternative_node_spec.rb +6 -6
  118. data/spec/rley/sppf/non_terminal_node_spec.rb +3 -3
  119. data/spec/rley/sppf/token_node_spec.rb +4 -4
  120. data/spec/rley/support/ambiguous_grammar_helper.rb +3 -4
  121. data/spec/rley/support/grammar_abc_helper.rb +2 -4
  122. data/spec/rley/support/grammar_ambig01_helper.rb +4 -5
  123. data/spec/rley/support/grammar_arr_int_helper.rb +4 -5
  124. data/spec/rley/support/grammar_b_expr_helper.rb +4 -5
  125. data/spec/rley/support/grammar_l0_helper.rb +10 -11
  126. data/spec/rley/support/grammar_pb_helper.rb +6 -5
  127. data/spec/rley/support/grammar_sppf_helper.rb +1 -1
  128. data/spec/rley/syntax/grammar_builder_spec.rb +5 -5
  129. data/spec/rley/syntax/grammar_spec.rb +6 -6
  130. data/spec/rley/syntax/grm_symbol_spec.rb +1 -1
  131. data/spec/rley/syntax/non_terminal_spec.rb +8 -8
  132. data/spec/rley/syntax/production_spec.rb +13 -13
  133. data/spec/rley/syntax/symbol_seq_spec.rb +2 -2
  134. data/spec/rley/syntax/terminal_spec.rb +5 -5
  135. data/spec/rley/syntax/verbatim_symbol_spec.rb +1 -1
  136. data/spec/spec_helper.rb +0 -12
  137. data/spec/support/base_tokenizer_spec.rb +7 -2
  138. metadata +21 -62
  139. data/.simplecov +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8743db90e9729925d8de083101f27d1688577e92ad054818c01f8c78d064ff8d
4
- data.tar.gz: e341eb57fa04f6e6e2f37f271c2cf42f05762faf614a04dad309073105541ea2
3
+ metadata.gz: 7377b66e5bac6ee813506829f53a32d694e9a01eaee5f55deec4475a710305d7
4
+ data.tar.gz: 7f972ad8f29be409a12cb61ae095177d8f9f2594fe9b7eb0ef1a931de0729c9c
5
5
  SHA512:
6
- metadata.gz: c676f6e8e529eb2cf8349681c36bb60942f9efe4e4533bba34e845855af62e40ab881db9374b1c2ccc047e4769d671565c24d3ee1f61f21f98cadbbbcfa7643f
7
- data.tar.gz: 6e6cea550503348f75f8ffb4ed253e3b3a8506f8e45dfa751efb43a47845c9bef2ef036e0905c46cc8cb7ee24fa809514465ef29386481f38dac0f933ff26f66
6
+ metadata.gz: d9e888ca1df16c7421df180c551879e6d066f9f848db2135be637951c7edfe928d693be8b1e22753c10b546198351650cc6dfd1acf14837597979f2e0a589715
7
+ data.tar.gz: 4ea2a4c50e66321a00d828264052df58e83beb69ccc13fe9cda7dd9b648eee58f4332510867fef291006e2378f2c25ce85fff95ac11a7ed367578cee567b3b34
data/.rubocop.yml CHANGED
@@ -1,112 +1,240 @@
1
1
  AllCops:
2
2
  Exclude:
3
- - 'features/**/*'
4
3
  - 'exp/**/*'
5
- - 'gems/**/*'
6
- - 'refs/**/*'
4
+ - 'demo/**/*'
7
5
 
8
- # This is disabled because some demos use UTF-8
9
- AsciiComments:
10
- Enabled: false
11
-
12
- Attr:
13
- Enabled: false
6
+ Gemspec/DateAssignment:
7
+ Enabled: true
14
8
 
15
- BlockComments:
9
+ Layout/ArgumentAlignment:
16
10
  Enabled: false
17
11
 
18
- CaseIndentation:
19
- EnforcedStyle: end
20
- IndentOneStep: true
12
+ Layout/ArrayAlignment:
13
+ Enabled: true
14
+ EnforcedStyle: with_fixed_indentation
21
15
 
22
- # Rubocop enforces the use of is_a? instead of kind_of?
23
- # Which is contrary to modelling practice.
24
- ClassCheck:
16
+ Layout/CaseIndentation:
25
17
  Enabled: false
26
18
 
27
- ClassLength:
28
- Max: 250
29
- CountComments: false
19
+ Layout/ClosingHeredocIndentation:
20
+ Enabled: false
30
21
 
31
- ConstantName:
22
+ Layout/CommentIndentation:
32
23
  Enabled: false
33
24
 
34
- CyclomaticComplexity:
25
+ Layout/ElseAlignment:
35
26
  Enabled: false
36
27
 
37
- DefWithParentheses:
28
+ Layout/EmptyLines:
38
29
  Enabled: false
39
30
 
40
- Documentation:
31
+ Layout/EndAlignment:
41
32
  Enabled: false
42
33
 
43
- EmptyLines:
34
+ Layout/EndOfLine:
35
+ Enabled: true
36
+ EnforcedStyle: lf
37
+
38
+ Layout/FirstArgumentIndentation:
44
39
  Enabled: false
45
40
 
46
- Encoding:
41
+ Layout/HashAlignment:
47
42
  Enabled: false
48
43
 
49
- EndOfLine:
44
+ Layout/IndentationWidth:
50
45
  Enabled: false
51
- # SupportedStyles: lf
52
46
 
47
+ Layout/IndentationConsistency:
48
+ Enabled: true
53
49
 
54
- IndentationWidth:
50
+ Layout/HeredocIndentation:
55
51
  Enabled: false
56
52
 
57
- Layout/BlockAlignment:
53
+ Layout/MultilineHashBraceLayout:
54
+ Enabled: true
55
+
56
+ Layout/MultilineMethodCallBraceLayout:
57
+ Enabled: true
58
+ EnforcedStyle: same_line
59
+
60
+ Layout/SpaceAroundOperators:
61
+ Enabled: true
62
+
63
+ Layout/SpaceBeforeBrackets:
64
+ Enabled: true
65
+
66
+ Layout/SpaceInsideParens:
67
+ Enabled: true
68
+
69
+ Layout/IndentationStyle:
70
+ Enabled: true
71
+
72
+ Layout/SpaceAroundMethodCallOperator:
73
+ Enabled: true
74
+
75
+ Layout/TrailingEmptyLines:
76
+ Enabled: true
77
+
78
+ Layout/TrailingWhitespace:
79
+ Enabled: true
80
+
81
+ Lint/AmbiguousAssignment:
82
+ Enabled: true
83
+
84
+ Lint/DeprecatedConstants:
85
+ Enabled: true
86
+
87
+ Lint/DuplicateBranch:
88
+ Enabled: true
89
+
90
+ Lint/DuplicateRegexpCharacterClassElement:
91
+ Enabled: true
92
+
93
+ Lint/EmptyBlock:
94
+ Enabled: true
95
+
96
+ Lint/EmptyClass:
58
97
  Enabled: false
59
98
 
60
- Layout/ClosingHeredocIndentation:
99
+ Lint/LambdaWithoutLiteralBlock:
100
+ Enabled: true
101
+
102
+ Lint/Loop:
103
+ Enabled: true
104
+
105
+ Lint/NoReturnInBeginEndBlocks:
106
+ Enabled: true
107
+
108
+ Lint/NumberedParameterAssignment:
109
+ Enabled: true
110
+
111
+ Lint/OrAssignmentToConstant:
112
+ Enabled: true
113
+
114
+ Lint/RaiseException:
115
+ Enabled: true
116
+
117
+ Lint/RedundantDirGlobSort:
118
+ Enabled: true
119
+
120
+ Lint/RescueException:
121
+ Enabled: true
122
+
123
+ Lint/StructNewOverride:
124
+ Enabled: true
125
+
126
+ Lint/SymbolConversion:
127
+ Enabled: true
128
+
129
+ Lint/ToEnumArguments:
130
+ Enabled: true
131
+
132
+ Lint/TripleQuotes:
133
+ Enabled: true
134
+
135
+ Lint/UnexpectedBlockArity:
136
+ Enabled: true
137
+
138
+ Lint/UnmodifiedReduceAccumulator:
139
+ Enabled: true
140
+
141
+ Lint/UnusedMethodArgument:
142
+ Enabled: true
143
+
144
+ Lint/UselessAccessModifier:
145
+ Enabled: true
146
+
147
+ Lint/Void:
61
148
  Enabled: false
62
149
 
150
+ Lint/UselessAssignment:
151
+ Enabled: true
63
152
 
64
- Layout/HeredocIndentation:
153
+ Metrics/AbcSize:
65
154
  Enabled: false
66
155
 
67
- Layout/SpaceInsideArrayLiteralBrackets:
156
+ Metrics/BlockLength:
157
+ Enabled: true
158
+ Max: 350
159
+
160
+ Metrics/BlockNesting:
161
+ Enabled: true
162
+ Max: 5
163
+
164
+ Metrics/ClassLength:
165
+ Enabled: true
166
+ Max: 450
167
+
168
+ Metrics/CyclomaticComplexity:
68
169
  Enabled: false
69
170
 
70
- Metrics/AbcSize:
71
- Max: 50
171
+ Layout/LineLength:
172
+ Enabled: false
173
+ Max: 90
72
174
 
73
- # Avoid methods longer than 50 lines of code
74
175
  Metrics/MethodLength:
75
- Max: 50
76
- CountComments: false
176
+ Enabled: true
177
+ Max: 60
77
178
 
78
- # Avoid modules longer than 200 lines of code
79
179
  Metrics/ModuleLength:
80
- CountComments: false
81
- Max: 200
180
+ Enabled: true
181
+ Max: 500
82
182
 
83
183
  Metrics/PerceivedComplexity:
84
- Enabled: true
85
- Max: 50
184
+ Enabled: false
185
+
186
+ Naming/ConstantName:
187
+ Enabled: false
86
188
 
87
189
  Naming/ClassAndModuleCamelCase:
88
190
  Enabled: false
89
191
 
90
- # Disable this because it produces false negatives
91
- Naming/HeredocDelimiterNaming:
192
+ Naming/BlockParameterName:
193
+ Enabled: true
194
+
195
+ Naming/MethodParameterName:
92
196
  Enabled: false
93
197
 
94
198
  Naming/MethodName:
95
199
  Enabled: false
96
200
 
97
- Naming/MethodParameterName:
201
+ Naming/VariableName:
98
202
  Enabled: false
99
203
 
100
- NonNilCheck:
204
+ Style/AccessorGrouping:
101
205
  Enabled: false
102
206
 
103
- NumericLiterals:
207
+ Style/Alias:
208
+ Enabled: true
209
+
210
+ Style/ArgumentsForwarding:
211
+ Enabled: true
212
+
213
+ Style/AsciiComments:
104
214
  Enabled: false
105
215
 
106
- RaiseArgs:
216
+ Style/BarePercentLiterals:
107
217
  Enabled: false
108
218
 
109
- RedundantReturn:
219
+ Style/BlockComments:
220
+ Enabled: false
221
+
222
+ Style/CharacterLiteral:
223
+ Enabled: false
224
+
225
+ Style/ClassCheck:
226
+ Enabled: false
227
+
228
+ Style/ClassVars:
229
+ Enabled: false
230
+
231
+ Style/CollectionCompact:
232
+ Enabled: true
233
+
234
+ Style/ColonMethodCall:
235
+ Enabled: false
236
+
237
+ Style/CommentAnnotation:
110
238
  Enabled: false
111
239
 
112
240
  Style/CommentedKeyword:
@@ -115,20 +243,186 @@ Style/CommentedKeyword:
115
243
  Style/ConditionalAssignment:
116
244
  Enabled: false
117
245
 
246
+ Style/DefWithParentheses:
247
+ Enabled: true
248
+
249
+ Style/Documentation:
250
+ Enabled: false
251
+
252
+ Style/DocumentDynamicEvalDefinition:
253
+ Enabled: true
254
+
255
+ Style/ExpandPathArguments:
256
+ Enabled: false
257
+
258
+ Style/ExponentialNotation:
259
+ Enabled: true
260
+
261
+ Style/GuardClause:
262
+ Enabled: false
263
+
264
+ Style/HashEachMethods:
265
+ Enabled: true
266
+
267
+ Style/HashExcept:
268
+ Enabled: true
269
+
270
+ Style/HashTransformKeys:
271
+ Enabled: true
272
+
273
+ Style/HashTransformValues:
274
+ Enabled: true
275
+
118
276
  Style/IfUnlessModifier:
119
277
  Enabled: false
120
278
 
121
- Style/Lambda:
279
+ Style/InverseMethods:
122
280
  Enabled: false
123
281
 
124
282
  Style/MissingRespondToMissing:
125
283
  Enabled: false
126
284
 
127
- TrailingWhitespace:
285
+ Style/NegatedIfElseCondition:
286
+ Enabled: true
287
+
288
+ Style/Next:
128
289
  Enabled: false
129
290
 
130
- VariableName:
291
+ Style/NilLambda:
292
+ Enabled: true
293
+
294
+ Style/NumericLiterals:
131
295
  Enabled: false
132
296
 
133
- VariableNumber:
134
- Enabled: false
297
+ Style/RaiseArgs:
298
+ Enabled: true
299
+
300
+ Style/RedundantArgument:
301
+ Enabled: true
302
+
303
+ Style/RedundantReturn:
304
+ Enabled: false
305
+
306
+ Style/RedundantSelf:
307
+ Enabled: true
308
+
309
+ Style/RegexpLiteral:
310
+ Enabled: false
311
+
312
+ Style/PercentLiteralDelimiters:
313
+ Enabled: false
314
+
315
+ Style/StderrPuts:
316
+ Enabled: false
317
+
318
+ Style/StringLiterals:
319
+ Enabled: true
320
+
321
+ Style/SwapValues:
322
+ Enabled: true
323
+
324
+ Style/TernaryParentheses:
325
+ Enabled: false
326
+
327
+ Style/UnlessElse:
328
+ Enabled: false
329
+
330
+ # Rubocop complains when it doesn't find an explicit setting for the following cops:
331
+ Layout/EmptyLinesAroundAttributeAccessor:
332
+ Enabled: true
333
+
334
+ Lint/BinaryOperatorWithIdenticalOperands:
335
+ Enabled: true
336
+
337
+ Lint/DeprecatedOpenSSLConstant:
338
+ Enabled: true
339
+
340
+ Lint/DuplicateElsifCondition:
341
+ Enabled: true
342
+
343
+ Lint/DuplicateRescueException:
344
+ Enabled: true
345
+
346
+ Lint/EmptyConditionalBody:
347
+ Enabled: true
348
+
349
+ Lint/FloatComparison:
350
+ Enabled: true
351
+
352
+ Lint/MissingSuper:
353
+ Enabled: true
354
+
355
+ Lint/MixedRegexpCaptureTypes:
356
+ Enabled: true
357
+
358
+ Lint/OutOfRangeRegexpRef:
359
+ Enabled: true
360
+
361
+ Lint/SelfAssignment:
362
+ Enabled: true
363
+
364
+ Lint/TopLevelReturnWithArgument:
365
+ Enabled: true
366
+
367
+ Lint/UnreachableLoop:
368
+ Enabled: true
369
+
370
+ Style/ArrayCoercion:
371
+ Enabled: true
372
+
373
+ Style/BisectedAttrAccessor:
374
+ Enabled: true
375
+
376
+ Style/CaseLikeIf:
377
+ Enabled: true
378
+
379
+ Style/EndlessMethod:
380
+ Enabled: true
381
+
382
+ Style/ExplicitBlockArgument:
383
+ Enabled: true
384
+
385
+ Style/GlobalStdStream:
386
+ Enabled: true
387
+
388
+ Style/HashAsLastArrayItem:
389
+ Enabled: true
390
+
391
+ Style/HashConversion:
392
+ Enabled: true
393
+
394
+ Style/HashLikeCase:
395
+ Enabled: true
396
+
397
+ Style/IfWithBooleanLiteralBranches:
398
+ Enabled: true
399
+
400
+ Style/OptionalBooleanParameter:
401
+ Enabled: true
402
+
403
+ Style/RedundantAssignment:
404
+ Enabled: true
405
+
406
+ Style/RedundantFetchBlock:
407
+ Enabled: true
408
+
409
+ Style/RedundantFileExtensionInRequire:
410
+ Enabled: true
411
+
412
+ Style/RedundantRegexpCharacterClass:
413
+ Enabled: true
414
+
415
+ Style/RedundantRegexpEscape:
416
+ Enabled: true
417
+
418
+ Style/SingleArgumentDig:
419
+ Enabled: true
420
+
421
+ Style/SlicingWithRange:
422
+ Enabled: true
423
+
424
+ Style/StringChars:
425
+ Enabled: true
426
+
427
+ Style/StringConcatenation:
428
+ Enabled: true