mini_kraken 0.2.03 → 0.3.03

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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +378 -333
  3. data/CHANGELOG.md +48 -0
  4. data/README.md +29 -21
  5. data/lib/mini_kraken/atomic/all_atomic.rb +5 -0
  6. data/lib/mini_kraken/atomic/atomic_term.rb +96 -0
  7. data/lib/mini_kraken/atomic/k_boolean.rb +42 -0
  8. data/lib/mini_kraken/{core → atomic}/k_integer.rb +2 -5
  9. data/lib/mini_kraken/atomic/k_string.rb +17 -0
  10. data/lib/mini_kraken/{core → atomic}/k_symbol.rb +4 -8
  11. data/lib/mini_kraken/composite/all_composite.rb +4 -0
  12. data/lib/mini_kraken/composite/composite_term.rb +27 -0
  13. data/lib/mini_kraken/composite/cons_cell.rb +301 -0
  14. data/lib/mini_kraken/composite/cons_cell_visitor.rb +50 -0
  15. data/lib/mini_kraken/composite/list.rb +32 -0
  16. data/lib/mini_kraken/core/all_core.rb +8 -0
  17. data/lib/mini_kraken/core/any_value.rb +31 -7
  18. data/lib/mini_kraken/core/arity.rb +69 -0
  19. data/lib/mini_kraken/core/association.rb +29 -4
  20. data/lib/mini_kraken/core/association_copy.rb +50 -0
  21. data/lib/mini_kraken/core/base_term.rb +13 -0
  22. data/lib/mini_kraken/core/blackboard.rb +315 -0
  23. data/lib/mini_kraken/core/bookmark.rb +46 -0
  24. data/lib/mini_kraken/core/context.rb +492 -0
  25. data/lib/mini_kraken/core/duck_fiber.rb +21 -19
  26. data/lib/mini_kraken/core/entry.rb +40 -0
  27. data/lib/mini_kraken/core/fail.rb +20 -18
  28. data/lib/mini_kraken/core/fusion.rb +29 -0
  29. data/lib/mini_kraken/core/goal.rb +20 -29
  30. data/lib/mini_kraken/core/log_var.rb +22 -0
  31. data/lib/mini_kraken/core/log_var_ref.rb +108 -0
  32. data/lib/mini_kraken/core/nullary_relation.rb +2 -9
  33. data/lib/mini_kraken/core/parametrized_term.rb +68 -0
  34. data/lib/mini_kraken/core/relation.rb +14 -28
  35. data/lib/mini_kraken/core/scope.rb +67 -0
  36. data/lib/mini_kraken/core/solver_adapter.rb +58 -0
  37. data/lib/mini_kraken/core/specification.rb +48 -0
  38. data/lib/mini_kraken/core/succeed.rb +21 -17
  39. data/lib/mini_kraken/core/symbol_table.rb +137 -0
  40. data/lib/mini_kraken/core/term.rb +15 -4
  41. data/lib/mini_kraken/glue/dsl.rb +44 -88
  42. data/lib/mini_kraken/glue/run_star_expression.rb +28 -30
  43. data/lib/mini_kraken/rela/all_rela.rb +8 -0
  44. data/lib/mini_kraken/rela/binary_relation.rb +30 -0
  45. data/lib/mini_kraken/rela/conde.rb +143 -0
  46. data/lib/mini_kraken/rela/conj2.rb +65 -0
  47. data/lib/mini_kraken/rela/def_relation.rb +93 -0
  48. data/lib/mini_kraken/rela/disj2.rb +70 -0
  49. data/lib/mini_kraken/rela/fresh.rb +98 -0
  50. data/lib/mini_kraken/{core → rela}/goal_relation.rb +7 -9
  51. data/lib/mini_kraken/rela/unify.rb +265 -0
  52. data/lib/mini_kraken/version.rb +1 -1
  53. data/mini_kraken.gemspec +2 -2
  54. data/spec/.rubocop.yml +1 -1
  55. data/spec/atomic/atomic_term_spec.rb +98 -0
  56. data/spec/{core → atomic}/k_boolean_spec.rb +19 -34
  57. data/spec/{core → atomic}/k_symbol_spec.rb +3 -16
  58. data/spec/composite/cons_cell_spec.rb +225 -0
  59. data/spec/{core → composite}/cons_cell_visitor_spec.rb +36 -20
  60. data/spec/composite/list_spec.rb +50 -0
  61. data/spec/core/any_value_spec.rb +52 -0
  62. data/spec/core/arity_spec.rb +92 -0
  63. data/spec/core/association_copy_spec.rb +69 -0
  64. data/spec/core/association_spec.rb +31 -4
  65. data/spec/core/blackboard_spec.rb +287 -0
  66. data/spec/core/bookmark_spec.rb +40 -0
  67. data/spec/core/context_spec.rb +245 -0
  68. data/spec/core/core_spec.rb +40 -0
  69. data/spec/core/duck_fiber_spec.rb +16 -46
  70. data/spec/core/fail_spec.rb +5 -6
  71. data/spec/core/goal_spec.rb +22 -12
  72. data/spec/core/log_var_ref_spec.rb +105 -0
  73. data/spec/core/log_var_spec.rb +64 -0
  74. data/spec/core/nullary_relation_spec.rb +33 -0
  75. data/spec/core/parametrized_tem_spec.rb +39 -0
  76. data/spec/core/relation_spec.rb +33 -0
  77. data/spec/core/scope_spec.rb +73 -0
  78. data/spec/core/solver_adapter_spec.rb +70 -0
  79. data/spec/core/specification_spec.rb +43 -0
  80. data/spec/core/succeed_spec.rb +5 -5
  81. data/spec/core/symbol_table_spec.rb +142 -0
  82. data/spec/glue/dsl_chap1_spec.rb +88 -144
  83. data/spec/glue/dsl_chap2_spec.rb +454 -19
  84. data/spec/glue/run_star_expression_spec.rb +81 -906
  85. data/spec/rela/conde_spec.rb +153 -0
  86. data/spec/rela/conj2_spec.rb +123 -0
  87. data/spec/rela/def_relation_spec.rb +119 -0
  88. data/spec/rela/disj2_spec.rb +117 -0
  89. data/spec/rela/fresh_spec.rb +147 -0
  90. data/spec/rela/unify_spec.rb +369 -0
  91. data/spec/support/factory_atomic.rb +29 -0
  92. data/spec/support/factory_composite.rb +21 -0
  93. data/spec/support/factory_methods.rb +11 -26
  94. metadata +98 -70
  95. data/lib/mini_kraken/core/association_walker.rb +0 -183
  96. data/lib/mini_kraken/core/atomic_term.rb +0 -67
  97. data/lib/mini_kraken/core/base_arg.rb +0 -10
  98. data/lib/mini_kraken/core/binary_relation.rb +0 -63
  99. data/lib/mini_kraken/core/composite_goal.rb +0 -46
  100. data/lib/mini_kraken/core/composite_term.rb +0 -41
  101. data/lib/mini_kraken/core/conde.rb +0 -143
  102. data/lib/mini_kraken/core/conj2.rb +0 -79
  103. data/lib/mini_kraken/core/cons_cell.rb +0 -82
  104. data/lib/mini_kraken/core/cons_cell_visitor.rb +0 -102
  105. data/lib/mini_kraken/core/def_relation.rb +0 -53
  106. data/lib/mini_kraken/core/designation.rb +0 -55
  107. data/lib/mini_kraken/core/disj2.rb +0 -72
  108. data/lib/mini_kraken/core/environment.rb +0 -73
  109. data/lib/mini_kraken/core/equals.rb +0 -193
  110. data/lib/mini_kraken/core/formal_arg.rb +0 -22
  111. data/lib/mini_kraken/core/formal_ref.rb +0 -25
  112. data/lib/mini_kraken/core/freshness.rb +0 -45
  113. data/lib/mini_kraken/core/goal_arg.rb +0 -12
  114. data/lib/mini_kraken/core/goal_template.rb +0 -102
  115. data/lib/mini_kraken/core/k_boolean.rb +0 -35
  116. data/lib/mini_kraken/core/outcome.rb +0 -63
  117. data/lib/mini_kraken/core/variable.rb +0 -41
  118. data/lib/mini_kraken/core/variable_ref.rb +0 -84
  119. data/lib/mini_kraken/core/vocabulary.rb +0 -446
  120. data/lib/mini_kraken/glue/fresh_env.rb +0 -103
  121. data/lib/mini_kraken/glue/fresh_env_factory.rb +0 -83
  122. data/spec/core/association_walker_spec.rb +0 -192
  123. data/spec/core/conde_spec.rb +0 -147
  124. data/spec/core/conj2_spec.rb +0 -114
  125. data/spec/core/cons_cell_spec.rb +0 -107
  126. data/spec/core/def_relation_spec.rb +0 -97
  127. data/spec/core/disj2_spec.rb +0 -99
  128. data/spec/core/environment_spec.rb +0 -142
  129. data/spec/core/equals_spec.rb +0 -317
  130. data/spec/core/goal_template_spec.rb +0 -74
  131. data/spec/core/outcome_spec.rb +0 -56
  132. data/spec/core/variable_ref_spec.rb +0 -30
  133. data/spec/core/variable_spec.rb +0 -35
  134. data/spec/core/vocabulary_spec.rb +0 -219
  135. data/spec/glue/fresh_env_factory_spec.rb +0 -97
  136. data/spec/glue/fresh_env_spec.rb +0 -62
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ae3703cbb0a7a854af490478227c915d7d9af72715be80cbd4e3c95cb7b2c3f
4
- data.tar.gz: 27e04d428e1015f176fbafba7c047a0b12c28e9150161a7a5702190c8dd2e2e9
3
+ metadata.gz: b0c4ccbb33a59eddd02ccbb56c5ad942002cb131e834b345a35c47a81985f999
4
+ data.tar.gz: ed3aba64c03d87c7f56b9516a0a8fa78aa6bbd39eb1bb39e6ece7b68f6226cd9
5
5
  SHA512:
6
- metadata.gz: bd9cd60953f88610ce3a5009e0cad4099e1896643ad01f1c6616a4c20fb4495a71f5c5ed11efe98873362055bda2ec9d0ba4a1ce972844588cacab528ac5333d
7
- data.tar.gz: 1c9d27a9fb7fa014f9789a159aff5309bd9c03ce810e994951373ee550698518683359815c4db43b9d95b00ba889670b824af18c1019af5442f2ca3b42c795ba
6
+ metadata.gz: 13890c7b650bb8d83ac660c5e9c0d33cf87094f286a1e8d349095ee98dd8ec66652f16e5cc89928fb593c5dd921c9e612dc2d8f8ec565754baa4cb36c93e1256
7
+ data.tar.gz: 2358ff17fc9f2982675ff10d17761bf909db4fe38acc8f6f16389b3a31ea286ce4ad20cc1240147886baac98fb5ea047012ffc191ce58f1cf45cea0ca2e2341f
@@ -1,334 +1,379 @@
1
- AllCops:
2
- Exclude:
3
- - 'exp/**/*'
4
-
5
- Layout/ArgumentAlignment:
6
- Enabled: false
7
-
8
- Layout/ArrayAlignment:
9
- Enabled: true
10
- EnforcedStyle: with_fixed_indentation
11
-
12
- Layout/CaseIndentation:
13
- Enabled: false
14
-
15
- Layout/ClosingHeredocIndentation:
16
- Enabled: false
17
-
18
- Layout/CommentIndentation:
19
- Enabled: false
20
-
21
- Layout/ElseAlignment:
22
- Enabled: false
23
-
24
- Layout/EmptyLines:
25
- Enabled: false
26
-
27
- Layout/EndAlignment:
28
- Enabled: false
29
-
30
- Layout/EndOfLine:
31
- Enabled: true
32
- EnforcedStyle: lf
33
-
34
- Layout/FirstArgumentIndentation:
35
- Enabled: false
36
-
37
- Layout/IndentationWidth:
38
- Enabled: false
39
-
40
- Layout/IndentationConsistency:
41
- Enabled: true
42
-
43
- Layout/HeredocIndentation:
44
- Enabled: false
45
-
46
- Layout/MultilineHashBraceLayout:
47
- Enabled: true
48
-
49
- Layout/MultilineMethodCallBraceLayout:
50
- Enabled: true
51
- EnforcedStyle: same_line
52
-
53
- Layout/SpaceAroundOperators:
54
- Enabled: true
55
-
56
- Layout/SpaceInsideParens:
57
- Enabled: true
58
-
59
- Layout/IndentationStyle:
60
- Enabled: true
61
-
62
- Layout/SpaceAroundMethodCallOperator:
63
- Enabled: true
64
-
65
- Layout/TrailingEmptyLines:
66
- Enabled: true
67
-
68
- Layout/TrailingWhitespace:
69
- Enabled: true
70
-
71
- Lint/Loop:
72
- Enabled: true
73
-
74
- Lint/RaiseException:
75
- Enabled: true
76
-
77
- Lint/RescueException:
78
- Enabled: true
79
-
80
- Lint/StructNewOverride:
81
- Enabled: true
82
-
83
- Lint/UnusedMethodArgument:
84
- Enabled: true
85
-
86
- Lint/UselessAccessModifier:
87
- Enabled: true
88
-
89
- Lint/Void:
90
- Enabled: false
91
-
92
- Lint/UselessAssignment:
93
- Enabled: true
94
-
95
- Metrics/AbcSize:
96
- Enabled: false
97
-
98
- Metrics/BlockLength:
99
- Enabled: true
100
- Max: 350
101
-
102
- Metrics/BlockNesting:
103
- Enabled: true
104
- Max: 5
105
-
106
- Metrics/ClassLength:
107
- Enabled: true
108
- Max: 350
109
-
110
- Metrics/CyclomaticComplexity:
111
- Enabled: false
112
-
113
- Layout/LineLength:
114
- Enabled: false
115
- Max: 90
116
-
117
- Metrics/MethodLength:
118
- Enabled: true
119
- Max: 50
120
-
121
- Metrics/ModuleLength:
122
- Enabled: true
123
- Max: 500
124
-
125
- Metrics/PerceivedComplexity:
126
- Enabled: false
127
-
128
- Naming/ConstantName:
129
- Enabled: false
130
-
131
- Naming/ClassAndModuleCamelCase:
132
- Enabled: false
133
-
134
- Naming/BlockParameterName:
135
- Enabled: true
136
-
137
- Naming/MethodParameterName:
138
- Enabled: false
139
-
140
- Naming/VariableName:
141
- Enabled: false
142
-
143
- Style/Alias:
144
- Enabled: true
145
-
146
- Layout/HashAlignment:
147
- Enabled: false
148
-
149
- Style/AsciiComments:
150
- Enabled: false
151
-
152
- Style/BarePercentLiterals:
153
- Enabled: false
154
-
155
- Style/BlockComments:
156
- Enabled: false
157
-
158
- Style/CharacterLiteral:
159
- Enabled: false
160
-
161
- Style/ClassCheck:
162
- Enabled: false
163
-
164
- Style/ClassVars:
165
- Enabled: false
166
-
167
- Style/ColonMethodCall:
168
- Enabled: false
169
-
170
- Style/CommentAnnotation:
171
- Enabled: false
172
-
173
- Style/CommentedKeyword:
174
- Enabled: false
175
-
176
- Style/ConditionalAssignment:
177
- Enabled: false
178
-
179
- Style/DefWithParentheses:
180
- Enabled: true
181
-
182
- Style/Documentation:
183
- Enabled: false
184
-
185
- Style/ExpandPathArguments:
186
- Enabled: false
187
-
188
- Style/ExponentialNotation:
189
- Enabled: true
190
-
191
- Style/GuardClause:
192
- Enabled: false
193
-
194
- Style/HashEachMethods:
195
- Enabled: true
196
-
197
- Style/HashTransformKeys:
198
- Enabled: true
199
-
200
- Style/HashTransformValues:
201
- Enabled: true
202
-
203
- Style/IfUnlessModifier:
204
- Enabled: false
205
-
206
- Style/InverseMethods:
207
- Enabled: true
208
-
209
- Style/MissingRespondToMissing:
210
- Enabled: false
211
-
212
- Style/Next:
213
- Enabled: false
214
-
215
- Style/NumericLiterals:
216
- Enabled: false
217
-
218
- Style/RaiseArgs:
219
- Enabled: true
220
-
221
- Style/RedundantReturn:
222
- Enabled: false
223
-
224
- Style/RedundantSelf:
225
- Enabled: true
226
-
227
- Style/RegexpLiteral:
228
- Enabled: false
229
-
230
- Style/PercentLiteralDelimiters:
231
- Enabled: false
232
-
233
- Style/StderrPuts:
234
- Enabled: false
235
-
236
- Style/StringLiterals:
237
- Enabled: true
238
-
239
- Style/TernaryParentheses:
240
- Enabled: false
241
-
242
- Style/UnlessElse:
243
- Enabled: false
244
-
245
- # Rubocop complains when it doesn't find an explicit setting for the following cops:
246
- Layout/EmptyLinesAroundAttributeAccessor:
247
- Enabled: true
248
-
249
- Lint/BinaryOperatorWithIdenticalOperands:
250
- Enabled: true
251
-
252
- Lint/DeprecatedOpenSSLConstant:
253
- Enabled: true
254
-
255
- Lint/DuplicateElsifCondition:
256
- Enabled: true
257
-
258
- Lint/DuplicateRescueException:
259
- Enabled: true
260
-
261
- Lint/EmptyConditionalBody:
262
- Enabled: true
263
-
264
- Lint/FloatComparison:
265
- Enabled: true
266
-
267
- Lint/MissingSuper:
268
- Enabled: true
269
-
270
- Lint/MixedRegexpCaptureTypes:
271
- Enabled: true
272
-
273
- Lint/OutOfRangeRegexpRef:
274
- Enabled: true
275
-
276
- Lint/SelfAssignment:
277
- Enabled: true
278
-
279
- Lint/TopLevelReturnWithArgument:
280
- Enabled: true
281
-
282
- Lint/UnreachableLoop:
283
- Enabled: true
284
-
285
- Style/AccessorGrouping:
286
- Enabled: true
287
-
288
- Style/ArrayCoercion:
289
- Enabled: true
290
-
291
- Style/BisectedAttrAccessor:
292
- Enabled: true
293
-
294
- Style/CaseLikeIf:
295
- Enabled: true
296
-
297
- Style/ExplicitBlockArgument:
298
- Enabled: true
299
-
300
- Style/GlobalStdStream:
301
- Enabled: true
302
-
303
- Style/HashAsLastArrayItem:
304
- Enabled: true
305
-
306
- Style/HashLikeCase:
307
- Enabled: true
308
-
309
- Style/OptionalBooleanParameter:
310
- Enabled: true
311
-
312
- Style/RedundantAssignment:
313
- Enabled: true
314
-
315
- Style/RedundantFetchBlock:
316
- Enabled: true
317
-
318
- Style/RedundantFileExtensionInRequire:
319
- Enabled: true
320
-
321
- Style/RedundantRegexpCharacterClass:
322
- Enabled: true
323
-
324
- Style/RedundantRegexpEscape:
325
- Enabled: true
326
-
327
- Style/SingleArgumentDig:
328
- Enabled: true
329
-
330
- Style/SlicingWithRange:
331
- Enabled: true
332
-
333
- Style/StringConcatenation:
1
+ AllCops:
2
+ Exclude:
3
+ - 'exp/**/*'
4
+
5
+ Layout/ArgumentAlignment:
6
+ Enabled: false
7
+
8
+ Layout/ArrayAlignment:
9
+ Enabled: true
10
+ EnforcedStyle: with_fixed_indentation
11
+
12
+ Layout/CaseIndentation:
13
+ Enabled: false
14
+
15
+ Layout/ClosingHeredocIndentation:
16
+ Enabled: false
17
+
18
+ Layout/CommentIndentation:
19
+ Enabled: false
20
+
21
+ Layout/ElseAlignment:
22
+ Enabled: false
23
+
24
+ Layout/EmptyLines:
25
+ Enabled: false
26
+
27
+ Layout/EndAlignment:
28
+ Enabled: false
29
+
30
+ Layout/EndOfLine:
31
+ Enabled: true
32
+ EnforcedStyle: lf
33
+
34
+ Layout/FirstArgumentIndentation:
35
+ Enabled: false
36
+
37
+ Layout/HashAlignment:
38
+ Enabled: false
39
+
40
+ Layout/IndentationWidth:
41
+ Enabled: false
42
+
43
+ Layout/IndentationConsistency:
44
+ Enabled: true
45
+
46
+ Layout/HeredocIndentation:
47
+ Enabled: false
48
+
49
+ Layout/MultilineHashBraceLayout:
50
+ Enabled: true
51
+
52
+ Layout/MultilineMethodCallBraceLayout:
53
+ Enabled: true
54
+ EnforcedStyle: same_line
55
+
56
+ Layout/SpaceAroundOperators:
57
+ Enabled: true
58
+
59
+ Layout/SpaceInsideParens:
60
+ Enabled: true
61
+
62
+ Layout/IndentationStyle:
63
+ Enabled: true
64
+
65
+ Layout/SpaceAroundMethodCallOperator:
66
+ Enabled: true
67
+
68
+ Layout/TrailingEmptyLines:
69
+ Enabled: true
70
+
71
+ Layout/TrailingWhitespace:
72
+ Enabled: true
73
+
74
+ Lint/DuplicateBranch:
75
+ Enabled: true
76
+
77
+ Lint/DuplicateRegexpCharacterClassElement:
78
+ Enabled: true
79
+
80
+ Lint/EmptyBlock:
81
+ Enabled: true
82
+
83
+ Lint/EmptyClass:
84
+ Enabled: false
85
+
86
+ Lint/Loop:
87
+ Enabled: true
88
+
89
+ Lint/NoReturnInBeginEndBlocks:
90
+ Enabled: true
91
+
92
+ Lint/RaiseException:
93
+ Enabled: true
94
+
95
+ Lint/RescueException:
96
+ Enabled: true
97
+
98
+ Lint/StructNewOverride:
99
+ Enabled: true
100
+
101
+ Lint/ToEnumArguments:
102
+ Enabled: true
103
+
104
+ Lint/UnexpectedBlockArity:
105
+ Enabled: true
106
+
107
+ Lint/UnmodifiedReduceAccumulator:
108
+ Enabled: true
109
+
110
+ Lint/UnusedMethodArgument:
111
+ Enabled: true
112
+
113
+ Lint/UselessAccessModifier:
114
+ Enabled: true
115
+
116
+ Lint/Void:
117
+ Enabled: false
118
+
119
+ Lint/UselessAssignment:
120
+ Enabled: true
121
+
122
+ Metrics/AbcSize:
123
+ Enabled: false
124
+
125
+ Metrics/BlockLength:
126
+ Enabled: true
127
+ Max: 350
128
+
129
+ Metrics/BlockNesting:
130
+ Enabled: true
131
+ Max: 5
132
+
133
+ Metrics/ClassLength:
134
+ Enabled: true
135
+ Max: 450
136
+
137
+ Metrics/CyclomaticComplexity:
138
+ Enabled: false
139
+
140
+ Layout/LineLength:
141
+ Enabled: false
142
+ Max: 90
143
+
144
+ Metrics/MethodLength:
145
+ Enabled: true
146
+ Max: 60
147
+
148
+ Metrics/ModuleLength:
149
+ Enabled: true
150
+ Max: 500
151
+
152
+ Metrics/PerceivedComplexity:
153
+ Enabled: false
154
+
155
+ Naming/ConstantName:
156
+ Enabled: false
157
+
158
+ Naming/ClassAndModuleCamelCase:
159
+ Enabled: false
160
+
161
+ Naming/BlockParameterName:
162
+ Enabled: true
163
+
164
+ Naming/MethodParameterName:
165
+ Enabled: false
166
+
167
+ Naming/VariableName:
168
+ Enabled: false
169
+
170
+ Style/Alias:
171
+ Enabled: true
172
+
173
+ Style/ArgumentsForwarding:
174
+ Enabled: true
175
+
176
+ Style/AsciiComments:
177
+ Enabled: false
178
+
179
+ Style/BarePercentLiterals:
180
+ Enabled: false
181
+
182
+ Style/BlockComments:
183
+ Enabled: false
184
+
185
+ Style/CharacterLiteral:
186
+ Enabled: false
187
+
188
+ Style/ClassCheck:
189
+ Enabled: false
190
+
191
+ Style/ClassVars:
192
+ Enabled: false
193
+
194
+ Style/CollectionCompact:
195
+ Enabled: true
196
+
197
+ Style/ColonMethodCall:
198
+ Enabled: false
199
+
200
+ Style/CommentAnnotation:
201
+ Enabled: false
202
+
203
+ Style/CommentedKeyword:
204
+ Enabled: false
205
+
206
+ Style/ConditionalAssignment:
207
+ Enabled: false
208
+
209
+ Style/DefWithParentheses:
210
+ Enabled: true
211
+
212
+ Style/Documentation:
213
+ Enabled: false
214
+
215
+ Style/DocumentDynamicEvalDefinition:
216
+ Enabled: true
217
+
218
+ Style/ExpandPathArguments:
219
+ Enabled: false
220
+
221
+ Style/ExponentialNotation:
222
+ Enabled: true
223
+
224
+ Style/GuardClause:
225
+ Enabled: false
226
+
227
+ Style/HashEachMethods:
228
+ Enabled: true
229
+
230
+ Style/HashTransformKeys:
231
+ Enabled: true
232
+
233
+ Style/HashTransformValues:
234
+ Enabled: true
235
+
236
+ Style/IfUnlessModifier:
237
+ Enabled: false
238
+
239
+ Style/InverseMethods:
240
+ Enabled: true
241
+
242
+ Style/MissingRespondToMissing:
243
+ Enabled: false
244
+
245
+ Style/NegatedIfElseCondition:
246
+ Enabled: true
247
+
248
+ Style/Next:
249
+ Enabled: false
250
+
251
+ Style/NilLambda:
252
+ Enabled: true
253
+
254
+ Style/NumericLiterals:
255
+ Enabled: false
256
+
257
+ Style/RaiseArgs:
258
+ Enabled: true
259
+
260
+ Style/RedundantArgument:
261
+ Enabled: true
262
+
263
+ Style/RedundantReturn:
264
+ Enabled: false
265
+
266
+ Style/RedundantSelf:
267
+ Enabled: true
268
+
269
+ Style/RegexpLiteral:
270
+ Enabled: false
271
+
272
+ Style/PercentLiteralDelimiters:
273
+ Enabled: false
274
+
275
+ Style/StderrPuts:
276
+ Enabled: false
277
+
278
+ Style/StringLiterals:
279
+ Enabled: true
280
+
281
+ Style/SwapValues:
282
+ Enabled: true
283
+
284
+ Style/TernaryParentheses:
285
+ Enabled: false
286
+
287
+ Style/UnlessElse:
288
+ Enabled: false
289
+
290
+ # Rubocop complains when it doesn't find an explicit setting for the following cops:
291
+ Layout/EmptyLinesAroundAttributeAccessor:
292
+ Enabled: true
293
+
294
+ Lint/BinaryOperatorWithIdenticalOperands:
295
+ Enabled: true
296
+
297
+ Lint/DeprecatedOpenSSLConstant:
298
+ Enabled: true
299
+
300
+ Lint/DuplicateElsifCondition:
301
+ Enabled: true
302
+
303
+ Lint/DuplicateRescueException:
304
+ Enabled: true
305
+
306
+ Lint/EmptyConditionalBody:
307
+ Enabled: true
308
+
309
+ Lint/FloatComparison:
310
+ Enabled: true
311
+
312
+ Lint/MissingSuper:
313
+ Enabled: true
314
+
315
+ Lint/MixedRegexpCaptureTypes:
316
+ Enabled: true
317
+
318
+ Lint/OutOfRangeRegexpRef:
319
+ Enabled: true
320
+
321
+ Lint/SelfAssignment:
322
+ Enabled: true
323
+
324
+ Lint/TopLevelReturnWithArgument:
325
+ Enabled: true
326
+
327
+ Lint/UnreachableLoop:
328
+ Enabled: true
329
+
330
+ Style/AccessorGrouping:
331
+ Enabled: true
332
+
333
+ Style/ArrayCoercion:
334
+ Enabled: true
335
+
336
+ Style/BisectedAttrAccessor:
337
+ Enabled: true
338
+
339
+ Style/CaseLikeIf:
340
+ Enabled: true
341
+
342
+ Style/ExplicitBlockArgument:
343
+ Enabled: true
344
+
345
+ Style/GlobalStdStream:
346
+ Enabled: true
347
+
348
+ Style/HashAsLastArrayItem:
349
+ Enabled: true
350
+
351
+ Style/HashLikeCase:
352
+ Enabled: true
353
+
354
+ Style/OptionalBooleanParameter:
355
+ Enabled: true
356
+
357
+ Style/RedundantAssignment:
358
+ Enabled: true
359
+
360
+ Style/RedundantFetchBlock:
361
+ Enabled: true
362
+
363
+ Style/RedundantFileExtensionInRequire:
364
+ Enabled: true
365
+
366
+ Style/RedundantRegexpCharacterClass:
367
+ Enabled: true
368
+
369
+ Style/RedundantRegexpEscape:
370
+ Enabled: true
371
+
372
+ Style/SingleArgumentDig:
373
+ Enabled: true
374
+
375
+ Style/SlicingWithRange:
376
+ Enabled: true
377
+
378
+ Style/StringConcatenation:
334
379
  Enabled: true