mini_kraken 0.2.01 → 0.3.01

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +378 -333
  3. data/CHANGELOG.md +50 -1
  4. data/README.md +16 -16
  5. data/lib/mini_kraken.rb +2 -3
  6. data/lib/mini_kraken/atomic/all_atomic.rb +5 -0
  7. data/lib/mini_kraken/atomic/atomic_term.rb +96 -0
  8. data/lib/mini_kraken/atomic/k_boolean.rb +42 -0
  9. data/lib/mini_kraken/{core → atomic}/k_integer.rb +2 -5
  10. data/lib/mini_kraken/atomic/k_string.rb +17 -0
  11. data/lib/mini_kraken/{core → atomic}/k_symbol.rb +4 -8
  12. data/lib/mini_kraken/composite/all_composite.rb +4 -0
  13. data/lib/mini_kraken/composite/composite_term.rb +27 -0
  14. data/lib/mini_kraken/composite/cons_cell.rb +299 -0
  15. data/lib/mini_kraken/composite/cons_cell_visitor.rb +50 -0
  16. data/lib/mini_kraken/composite/list.rb +32 -0
  17. data/lib/mini_kraken/core/all_core.rb +8 -0
  18. data/lib/mini_kraken/core/any_value.rb +31 -7
  19. data/lib/mini_kraken/core/arity.rb +69 -0
  20. data/lib/mini_kraken/core/association.rb +29 -4
  21. data/lib/mini_kraken/core/association_copy.rb +50 -0
  22. data/lib/mini_kraken/core/base_term.rb +13 -0
  23. data/lib/mini_kraken/core/blackboard.rb +315 -0
  24. data/lib/mini_kraken/core/bookmark.rb +46 -0
  25. data/lib/mini_kraken/core/context.rb +624 -0
  26. data/lib/mini_kraken/core/duck_fiber.rb +21 -19
  27. data/lib/mini_kraken/core/entry.rb +40 -0
  28. data/lib/mini_kraken/core/fail.rb +20 -18
  29. data/lib/mini_kraken/core/fusion.rb +29 -0
  30. data/lib/mini_kraken/core/goal.rb +20 -29
  31. data/lib/mini_kraken/core/log_var.rb +22 -0
  32. data/lib/mini_kraken/core/log_var_ref.rb +108 -0
  33. data/lib/mini_kraken/core/nullary_relation.rb +2 -9
  34. data/lib/mini_kraken/core/parametrized_term.rb +61 -0
  35. data/lib/mini_kraken/core/relation.rb +14 -28
  36. data/lib/mini_kraken/core/scope.rb +67 -0
  37. data/lib/mini_kraken/core/solver_adapter.rb +58 -0
  38. data/lib/mini_kraken/core/specification.rb +48 -0
  39. data/lib/mini_kraken/core/succeed.rb +21 -17
  40. data/lib/mini_kraken/core/symbol_table.rb +137 -0
  41. data/lib/mini_kraken/core/term.rb +15 -4
  42. data/lib/mini_kraken/glue/dsl.rb +55 -74
  43. data/lib/mini_kraken/glue/run_star_expression.rb +28 -30
  44. data/lib/mini_kraken/rela/all_rela.rb +8 -0
  45. data/lib/mini_kraken/rela/binary_relation.rb +30 -0
  46. data/lib/mini_kraken/rela/conde.rb +143 -0
  47. data/lib/mini_kraken/rela/conj2.rb +65 -0
  48. data/lib/mini_kraken/rela/def_relation.rb +93 -0
  49. data/lib/mini_kraken/rela/disj2.rb +70 -0
  50. data/lib/mini_kraken/rela/fresh.rb +98 -0
  51. data/lib/mini_kraken/{core → rela}/goal_relation.rb +7 -9
  52. data/lib/mini_kraken/rela/unify.rb +258 -0
  53. data/lib/mini_kraken/version.rb +1 -1
  54. data/mini_kraken.gemspec +2 -2
  55. data/spec/.rubocop.yml +1 -1
  56. data/spec/atomic/atomic_term_spec.rb +98 -0
  57. data/spec/{core → atomic}/k_boolean_spec.rb +25 -34
  58. data/spec/{core → atomic}/k_symbol_spec.rb +3 -16
  59. data/spec/composite/cons_cell_spec.rb +225 -0
  60. data/spec/composite/cons_cell_visitor_spec.rb +158 -0
  61. data/spec/composite/list_spec.rb +50 -0
  62. data/spec/core/any_value_spec.rb +52 -0
  63. data/spec/core/arity_spec.rb +92 -0
  64. data/spec/core/association_copy_spec.rb +69 -0
  65. data/spec/core/association_spec.rb +31 -4
  66. data/spec/core/blackboard_spec.rb +287 -0
  67. data/spec/core/bookmark_spec.rb +40 -0
  68. data/spec/core/context_spec.rb +221 -0
  69. data/spec/core/core_spec.rb +40 -0
  70. data/spec/core/duck_fiber_spec.rb +16 -46
  71. data/spec/core/fail_spec.rb +5 -6
  72. data/spec/core/goal_spec.rb +24 -14
  73. data/spec/core/log_var_ref_spec.rb +105 -0
  74. data/spec/core/log_var_spec.rb +64 -0
  75. data/spec/core/nullary_relation_spec.rb +33 -0
  76. data/spec/core/parametrized_tem_spec.rb +39 -0
  77. data/spec/core/relation_spec.rb +33 -0
  78. data/spec/core/scope_spec.rb +73 -0
  79. data/spec/core/solver_adapter_spec.rb +70 -0
  80. data/spec/core/specification_spec.rb +43 -0
  81. data/spec/core/succeed_spec.rb +5 -5
  82. data/spec/core/symbol_table_spec.rb +142 -0
  83. data/spec/glue/dsl_chap1_spec.rb +163 -134
  84. data/spec/glue/dsl_chap2_spec.rb +282 -0
  85. data/spec/glue/run_star_expression_spec.rb +82 -906
  86. data/spec/rela/conde_spec.rb +153 -0
  87. data/spec/rela/conj2_spec.rb +123 -0
  88. data/spec/rela/def_relation_spec.rb +119 -0
  89. data/spec/rela/disj2_spec.rb +117 -0
  90. data/spec/rela/fresh_spec.rb +147 -0
  91. data/spec/rela/unify_spec.rb +369 -0
  92. data/spec/support/factory_atomic.rb +29 -0
  93. data/spec/support/factory_composite.rb +21 -0
  94. data/spec/support/factory_methods.rb +11 -26
  95. metadata +100 -64
  96. data/lib/mini_kraken/core/association_walker.rb +0 -183
  97. data/lib/mini_kraken/core/atomic_term.rb +0 -67
  98. data/lib/mini_kraken/core/base_arg.rb +0 -10
  99. data/lib/mini_kraken/core/binary_relation.rb +0 -63
  100. data/lib/mini_kraken/core/composite_goal.rb +0 -46
  101. data/lib/mini_kraken/core/composite_term.rb +0 -41
  102. data/lib/mini_kraken/core/conde.rb +0 -143
  103. data/lib/mini_kraken/core/conj2.rb +0 -79
  104. data/lib/mini_kraken/core/cons_cell.rb +0 -82
  105. data/lib/mini_kraken/core/def_relation.rb +0 -50
  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 -156
  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 -62
  115. data/lib/mini_kraken/core/k_boolean.rb +0 -31
  116. data/lib/mini_kraken/core/outcome.rb +0 -53
  117. data/lib/mini_kraken/core/variable.rb +0 -41
  118. data/lib/mini_kraken/core/variable_ref.rb +0 -78
  119. data/lib/mini_kraken/core/vocabulary.rb +0 -442
  120. data/lib/mini_kraken/glue/fresh_env.rb +0 -75
  121. data/spec/core/association_walker_spec.rb +0 -192
  122. data/spec/core/conde_spec.rb +0 -147
  123. data/spec/core/conj2_spec.rb +0 -114
  124. data/spec/core/cons_cell_spec.rb +0 -107
  125. data/spec/core/def_relation_spec.rb +0 -96
  126. data/spec/core/disj2_spec.rb +0 -99
  127. data/spec/core/environment_spec.rb +0 -142
  128. data/spec/core/equals_spec.rb +0 -304
  129. data/spec/core/goal_template_spec.rb +0 -74
  130. data/spec/core/outcome_spec.rb +0 -48
  131. data/spec/core/variable_ref_spec.rb +0 -27
  132. data/spec/core/variable_spec.rb +0 -35
  133. data/spec/core/vocabulary_spec.rb +0 -219
  134. data/spec/glue/fresh_env_spec.rb +0 -62
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f51855ac3179a111a4ace328340402fa167818773086076abf90ed845c31d248
4
- data.tar.gz: f6bde0d3d7b872461d7cb0b087eaab821240f14317445e95f4d832d09af51e2f
3
+ metadata.gz: 184cc99bd7696eb4f51fea822e74c98f42396f92cd47e1ce4501bed4cbb6a3c0
4
+ data.tar.gz: eb0bad624831f6643db7ec04265424cab58a9245f7fbfd472041e1eaa095de68
5
5
  SHA512:
6
- metadata.gz: ae6319164a2f6212bdbdea35dd5b5befa86648b685063dea79d220b70e5852c3e8b343d2d37ebfe6584aa3966b44174e91df2866d63e03a219a0008a5b382d66
7
- data.tar.gz: 70eb204ab842ea45527bd5ca8661dcd98081422cae4d6848d220bc70e080da94b3b7078f3602f1143535821a9894309b9bec39ec5f4d6c60edcfd21cfa5c8f4f
6
+ metadata.gz: 3803703fc02bda7cee5cd72f511f1a4a32bfecb85663571c1b15f002ab82b7551e49654aea9ce3a12e06ffa7c4839999c9ae4df9ce3fd2f9ba679ff827d47541
7
+ data.tar.gz: 88bb32e2140526ee415542421ffad57ed768b67995c0a6d70b6c33d46f520b05ee312081b6d8a13ca64042ef004b0e7e2cf8baccbc226f385d0d67776220ac05
@@ -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