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.
- checksums.yaml +4 -4
- data/.rubocop.yml +378 -333
- data/CHANGELOG.md +48 -0
- data/README.md +29 -21
- data/lib/mini_kraken/atomic/all_atomic.rb +5 -0
- data/lib/mini_kraken/atomic/atomic_term.rb +96 -0
- data/lib/mini_kraken/atomic/k_boolean.rb +42 -0
- data/lib/mini_kraken/{core → atomic}/k_integer.rb +2 -5
- data/lib/mini_kraken/atomic/k_string.rb +17 -0
- data/lib/mini_kraken/{core → atomic}/k_symbol.rb +4 -8
- data/lib/mini_kraken/composite/all_composite.rb +4 -0
- data/lib/mini_kraken/composite/composite_term.rb +27 -0
- data/lib/mini_kraken/composite/cons_cell.rb +301 -0
- data/lib/mini_kraken/composite/cons_cell_visitor.rb +50 -0
- data/lib/mini_kraken/composite/list.rb +32 -0
- data/lib/mini_kraken/core/all_core.rb +8 -0
- data/lib/mini_kraken/core/any_value.rb +31 -7
- data/lib/mini_kraken/core/arity.rb +69 -0
- data/lib/mini_kraken/core/association.rb +29 -4
- data/lib/mini_kraken/core/association_copy.rb +50 -0
- data/lib/mini_kraken/core/base_term.rb +13 -0
- data/lib/mini_kraken/core/blackboard.rb +315 -0
- data/lib/mini_kraken/core/bookmark.rb +46 -0
- data/lib/mini_kraken/core/context.rb +492 -0
- data/lib/mini_kraken/core/duck_fiber.rb +21 -19
- data/lib/mini_kraken/core/entry.rb +40 -0
- data/lib/mini_kraken/core/fail.rb +20 -18
- data/lib/mini_kraken/core/fusion.rb +29 -0
- data/lib/mini_kraken/core/goal.rb +20 -29
- data/lib/mini_kraken/core/log_var.rb +22 -0
- data/lib/mini_kraken/core/log_var_ref.rb +108 -0
- data/lib/mini_kraken/core/nullary_relation.rb +2 -9
- data/lib/mini_kraken/core/parametrized_term.rb +68 -0
- data/lib/mini_kraken/core/relation.rb +14 -28
- data/lib/mini_kraken/core/scope.rb +67 -0
- data/lib/mini_kraken/core/solver_adapter.rb +58 -0
- data/lib/mini_kraken/core/specification.rb +48 -0
- data/lib/mini_kraken/core/succeed.rb +21 -17
- data/lib/mini_kraken/core/symbol_table.rb +137 -0
- data/lib/mini_kraken/core/term.rb +15 -4
- data/lib/mini_kraken/glue/dsl.rb +44 -88
- data/lib/mini_kraken/glue/run_star_expression.rb +28 -30
- data/lib/mini_kraken/rela/all_rela.rb +8 -0
- data/lib/mini_kraken/rela/binary_relation.rb +30 -0
- data/lib/mini_kraken/rela/conde.rb +143 -0
- data/lib/mini_kraken/rela/conj2.rb +65 -0
- data/lib/mini_kraken/rela/def_relation.rb +93 -0
- data/lib/mini_kraken/rela/disj2.rb +70 -0
- data/lib/mini_kraken/rela/fresh.rb +98 -0
- data/lib/mini_kraken/{core → rela}/goal_relation.rb +7 -9
- data/lib/mini_kraken/rela/unify.rb +265 -0
- data/lib/mini_kraken/version.rb +1 -1
- data/mini_kraken.gemspec +2 -2
- data/spec/.rubocop.yml +1 -1
- data/spec/atomic/atomic_term_spec.rb +98 -0
- data/spec/{core → atomic}/k_boolean_spec.rb +19 -34
- data/spec/{core → atomic}/k_symbol_spec.rb +3 -16
- data/spec/composite/cons_cell_spec.rb +225 -0
- data/spec/{core → composite}/cons_cell_visitor_spec.rb +36 -20
- data/spec/composite/list_spec.rb +50 -0
- data/spec/core/any_value_spec.rb +52 -0
- data/spec/core/arity_spec.rb +92 -0
- data/spec/core/association_copy_spec.rb +69 -0
- data/spec/core/association_spec.rb +31 -4
- data/spec/core/blackboard_spec.rb +287 -0
- data/spec/core/bookmark_spec.rb +40 -0
- data/spec/core/context_spec.rb +245 -0
- data/spec/core/core_spec.rb +40 -0
- data/spec/core/duck_fiber_spec.rb +16 -46
- data/spec/core/fail_spec.rb +5 -6
- data/spec/core/goal_spec.rb +22 -12
- data/spec/core/log_var_ref_spec.rb +105 -0
- data/spec/core/log_var_spec.rb +64 -0
- data/spec/core/nullary_relation_spec.rb +33 -0
- data/spec/core/parametrized_tem_spec.rb +39 -0
- data/spec/core/relation_spec.rb +33 -0
- data/spec/core/scope_spec.rb +73 -0
- data/spec/core/solver_adapter_spec.rb +70 -0
- data/spec/core/specification_spec.rb +43 -0
- data/spec/core/succeed_spec.rb +5 -5
- data/spec/core/symbol_table_spec.rb +142 -0
- data/spec/glue/dsl_chap1_spec.rb +88 -144
- data/spec/glue/dsl_chap2_spec.rb +454 -19
- data/spec/glue/run_star_expression_spec.rb +81 -906
- data/spec/rela/conde_spec.rb +153 -0
- data/spec/rela/conj2_spec.rb +123 -0
- data/spec/rela/def_relation_spec.rb +119 -0
- data/spec/rela/disj2_spec.rb +117 -0
- data/spec/rela/fresh_spec.rb +147 -0
- data/spec/rela/unify_spec.rb +369 -0
- data/spec/support/factory_atomic.rb +29 -0
- data/spec/support/factory_composite.rb +21 -0
- data/spec/support/factory_methods.rb +11 -26
- metadata +98 -70
- data/lib/mini_kraken/core/association_walker.rb +0 -183
- data/lib/mini_kraken/core/atomic_term.rb +0 -67
- data/lib/mini_kraken/core/base_arg.rb +0 -10
- data/lib/mini_kraken/core/binary_relation.rb +0 -63
- data/lib/mini_kraken/core/composite_goal.rb +0 -46
- data/lib/mini_kraken/core/composite_term.rb +0 -41
- data/lib/mini_kraken/core/conde.rb +0 -143
- data/lib/mini_kraken/core/conj2.rb +0 -79
- data/lib/mini_kraken/core/cons_cell.rb +0 -82
- data/lib/mini_kraken/core/cons_cell_visitor.rb +0 -102
- data/lib/mini_kraken/core/def_relation.rb +0 -53
- data/lib/mini_kraken/core/designation.rb +0 -55
- data/lib/mini_kraken/core/disj2.rb +0 -72
- data/lib/mini_kraken/core/environment.rb +0 -73
- data/lib/mini_kraken/core/equals.rb +0 -193
- data/lib/mini_kraken/core/formal_arg.rb +0 -22
- data/lib/mini_kraken/core/formal_ref.rb +0 -25
- data/lib/mini_kraken/core/freshness.rb +0 -45
- data/lib/mini_kraken/core/goal_arg.rb +0 -12
- data/lib/mini_kraken/core/goal_template.rb +0 -102
- data/lib/mini_kraken/core/k_boolean.rb +0 -35
- data/lib/mini_kraken/core/outcome.rb +0 -63
- data/lib/mini_kraken/core/variable.rb +0 -41
- data/lib/mini_kraken/core/variable_ref.rb +0 -84
- data/lib/mini_kraken/core/vocabulary.rb +0 -446
- data/lib/mini_kraken/glue/fresh_env.rb +0 -103
- data/lib/mini_kraken/glue/fresh_env_factory.rb +0 -83
- data/spec/core/association_walker_spec.rb +0 -192
- data/spec/core/conde_spec.rb +0 -147
- data/spec/core/conj2_spec.rb +0 -114
- data/spec/core/cons_cell_spec.rb +0 -107
- data/spec/core/def_relation_spec.rb +0 -97
- data/spec/core/disj2_spec.rb +0 -99
- data/spec/core/environment_spec.rb +0 -142
- data/spec/core/equals_spec.rb +0 -317
- data/spec/core/goal_template_spec.rb +0 -74
- data/spec/core/outcome_spec.rb +0 -56
- data/spec/core/variable_ref_spec.rb +0 -30
- data/spec/core/variable_spec.rb +0 -35
- data/spec/core/vocabulary_spec.rb +0 -219
- data/spec/glue/fresh_env_factory_spec.rb +0 -97
- data/spec/glue/fresh_env_spec.rb +0 -62
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b0c4ccbb33a59eddd02ccbb56c5ad942002cb131e834b345a35c47a81985f999
|
4
|
+
data.tar.gz: ed3aba64c03d87c7f56b9516a0a8fa78aa6bbd39eb1bb39e6ece7b68f6226cd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13890c7b650bb8d83ac660c5e9c0d33cf87094f286a1e8d349095ee98dd8ec66652f16e5cc89928fb593c5dd921c9e612dc2d8f8ec565754baa4cb36c93e1256
|
7
|
+
data.tar.gz: 2358ff17fc9f2982675ff10d17761bf909db4fe38acc8f6f16389b3a31ea286ce4ad20cc1240147886baac98fb5ea047012ffc191ce58f1cf45cea0ca2e2341f
|
data/.rubocop.yml
CHANGED
@@ -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/
|
38
|
-
Enabled: false
|
39
|
-
|
40
|
-
Layout/
|
41
|
-
Enabled:
|
42
|
-
|
43
|
-
Layout/
|
44
|
-
Enabled:
|
45
|
-
|
46
|
-
Layout/
|
47
|
-
Enabled:
|
48
|
-
|
49
|
-
Layout/
|
50
|
-
Enabled: true
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
Layout/
|
57
|
-
Enabled: true
|
58
|
-
|
59
|
-
Layout/
|
60
|
-
Enabled: true
|
61
|
-
|
62
|
-
Layout/
|
63
|
-
Enabled: true
|
64
|
-
|
65
|
-
Layout/
|
66
|
-
Enabled: true
|
67
|
-
|
68
|
-
Layout/
|
69
|
-
Enabled: true
|
70
|
-
|
71
|
-
|
72
|
-
Enabled: true
|
73
|
-
|
74
|
-
Lint/
|
75
|
-
Enabled: true
|
76
|
-
|
77
|
-
Lint/
|
78
|
-
Enabled: true
|
79
|
-
|
80
|
-
Lint/
|
81
|
-
Enabled: true
|
82
|
-
|
83
|
-
Lint/
|
84
|
-
Enabled:
|
85
|
-
|
86
|
-
Lint/
|
87
|
-
Enabled: true
|
88
|
-
|
89
|
-
Lint/
|
90
|
-
Enabled:
|
91
|
-
|
92
|
-
Lint/
|
93
|
-
Enabled: true
|
94
|
-
|
95
|
-
|
96
|
-
Enabled:
|
97
|
-
|
98
|
-
|
99
|
-
Enabled: true
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
Enabled:
|
112
|
-
|
113
|
-
|
114
|
-
Enabled:
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
Metrics/
|
126
|
-
Enabled:
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
Enabled: false
|
139
|
-
|
140
|
-
|
141
|
-
Enabled: false
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
Enabled: false
|
154
|
-
|
155
|
-
|
156
|
-
Enabled: false
|
157
|
-
|
158
|
-
|
159
|
-
Enabled: false
|
160
|
-
|
161
|
-
|
162
|
-
Enabled:
|
163
|
-
|
164
|
-
|
165
|
-
Enabled: false
|
166
|
-
|
167
|
-
|
168
|
-
Enabled: false
|
169
|
-
|
170
|
-
Style/
|
171
|
-
Enabled:
|
172
|
-
|
173
|
-
Style/
|
174
|
-
Enabled:
|
175
|
-
|
176
|
-
Style/
|
177
|
-
Enabled: false
|
178
|
-
|
179
|
-
Style/
|
180
|
-
Enabled:
|
181
|
-
|
182
|
-
Style/
|
183
|
-
Enabled: false
|
184
|
-
|
185
|
-
Style/
|
186
|
-
Enabled: false
|
187
|
-
|
188
|
-
Style/
|
189
|
-
Enabled:
|
190
|
-
|
191
|
-
Style/
|
192
|
-
Enabled: false
|
193
|
-
|
194
|
-
Style/
|
195
|
-
Enabled: true
|
196
|
-
|
197
|
-
Style/
|
198
|
-
Enabled:
|
199
|
-
|
200
|
-
Style/
|
201
|
-
Enabled:
|
202
|
-
|
203
|
-
Style/
|
204
|
-
Enabled: false
|
205
|
-
|
206
|
-
Style/
|
207
|
-
Enabled:
|
208
|
-
|
209
|
-
Style/
|
210
|
-
Enabled:
|
211
|
-
|
212
|
-
Style/
|
213
|
-
Enabled: false
|
214
|
-
|
215
|
-
Style/
|
216
|
-
Enabled:
|
217
|
-
|
218
|
-
Style/
|
219
|
-
Enabled:
|
220
|
-
|
221
|
-
Style/
|
222
|
-
Enabled:
|
223
|
-
|
224
|
-
Style/
|
225
|
-
Enabled:
|
226
|
-
|
227
|
-
Style/
|
228
|
-
Enabled:
|
229
|
-
|
230
|
-
Style/
|
231
|
-
Enabled:
|
232
|
-
|
233
|
-
Style/
|
234
|
-
Enabled:
|
235
|
-
|
236
|
-
Style/
|
237
|
-
Enabled:
|
238
|
-
|
239
|
-
Style/
|
240
|
-
Enabled:
|
241
|
-
|
242
|
-
Style/
|
243
|
-
Enabled: false
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
Enabled: true
|
293
|
-
|
294
|
-
|
295
|
-
Enabled: true
|
296
|
-
|
297
|
-
|
298
|
-
Enabled: true
|
299
|
-
|
300
|
-
|
301
|
-
Enabled: true
|
302
|
-
|
303
|
-
|
304
|
-
Enabled: true
|
305
|
-
|
306
|
-
|
307
|
-
Enabled: true
|
308
|
-
|
309
|
-
|
310
|
-
Enabled: true
|
311
|
-
|
312
|
-
|
313
|
-
Enabled: true
|
314
|
-
|
315
|
-
|
316
|
-
Enabled: true
|
317
|
-
|
318
|
-
|
319
|
-
Enabled: true
|
320
|
-
|
321
|
-
|
322
|
-
Enabled: true
|
323
|
-
|
324
|
-
|
325
|
-
Enabled: true
|
326
|
-
|
327
|
-
|
328
|
-
Enabled: true
|
329
|
-
|
330
|
-
Style/
|
331
|
-
Enabled: true
|
332
|
-
|
333
|
-
Style/
|
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
|