dh_easy-core 0.2.2 → 0.3.1
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/doc/DhEasy.html +6 -6
- data/doc/DhEasy/Core.html +39 -40
- data/doc/DhEasy/Core/Config.html +6 -6
- data/doc/DhEasy/Core/Exception.html +6 -6
- data/doc/DhEasy/Core/Exception/OutdatedError.html +6 -6
- data/doc/DhEasy/Core/Helper.html +6 -6
- data/doc/DhEasy/Core/Helper/Cookie.html +6 -6
- data/doc/DhEasy/Core/Mock.html +6 -6
- data/doc/DhEasy/Core/Mock/FakeDb.html +963 -400
- data/doc/DhEasy/Core/Mock/FakeExecutor.html +26 -37
- data/doc/DhEasy/Core/Mock/FakeFinisher.html +6 -6
- data/doc/DhEasy/Core/Mock/FakeParser.html +6 -6
- data/doc/DhEasy/Core/Mock/FakeSeeder.html +6 -6
- data/doc/DhEasy/Core/Plugin.html +6 -6
- data/doc/DhEasy/Core/Plugin/CollectionVault.html +6 -6
- data/doc/DhEasy/Core/Plugin/ConfigBehavior.html +7 -7
- data/doc/DhEasy/Core/Plugin/ContextIntegrator.html +6 -6
- data/doc/DhEasy/Core/Plugin/Executor.html +6 -6
- data/doc/DhEasy/Core/Plugin/ExecutorBehavior.html +6 -6
- data/doc/DhEasy/Core/Plugin/Finisher.html +6 -6
- data/doc/DhEasy/Core/Plugin/FinisherBehavior.html +6 -6
- data/doc/DhEasy/Core/Plugin/InitializeHook.html +6 -6
- data/doc/DhEasy/Core/Plugin/Parser.html +6 -6
- data/doc/DhEasy/Core/Plugin/ParserBehavior.html +6 -6
- data/doc/DhEasy/Core/Plugin/Seeder.html +6 -6
- data/doc/DhEasy/Core/Plugin/SeederBehavior.html +6 -6
- data/doc/DhEasy/Core/SmartCollection.html +6 -6
- data/doc/_index.html +7 -7
- data/doc/class_list.html +2 -2
- data/doc/css/style.css +2 -2
- data/doc/file.README.html +9 -16
- data/doc/file_list.html +2 -2
- data/doc/frames.html +2 -2
- data/doc/index.html +9 -16
- data/doc/js/app.js +14 -3
- data/doc/method_list.html +80 -48
- data/doc/top-level-namespace.html +6 -6
- data/lib/dh_easy/core.rb +2 -1
- data/lib/dh_easy/core/mock/fake_db.rb +228 -35
- data/lib/dh_easy/core/mock/fake_executor.rb +0 -1
- data/lib/dh_easy/core/version.rb +1 -1
- metadata +3 -4
data/doc/js/app.js
CHANGED
@@ -171,6 +171,7 @@ function generateTOC() {
|
|
171
171
|
var counter = 0;
|
172
172
|
var tags = ['h2', 'h3', 'h4', 'h5', 'h6'];
|
173
173
|
var i;
|
174
|
+
var curli;
|
174
175
|
if ($('#filecontents h1').length > 1) tags.unshift('h1');
|
175
176
|
for (i = 0; i < tags.length; i++) { tags[i] = '#filecontents ' + tags[i]; }
|
176
177
|
var lastTag = parseInt(tags[0][1], 10);
|
@@ -190,15 +191,25 @@ function generateTOC() {
|
|
190
191
|
}
|
191
192
|
if (thisTag > lastTag) {
|
192
193
|
for (i = 0; i < thisTag - lastTag; i++) {
|
193
|
-
|
194
|
+
if ( typeof(curli) == "undefined" ) {
|
195
|
+
curli = $('<li/>');
|
196
|
+
toc.append(curli);
|
197
|
+
}
|
198
|
+
toc = $('<ol/>');
|
199
|
+
curli.append(toc);
|
200
|
+
curli = undefined;
|
194
201
|
}
|
195
202
|
}
|
196
203
|
if (thisTag < lastTag) {
|
197
|
-
for (i = 0; i < lastTag - thisTag; i++)
|
204
|
+
for (i = 0; i < lastTag - thisTag; i++) {
|
205
|
+
toc = toc.parent();
|
206
|
+
toc = toc.parent();
|
207
|
+
}
|
198
208
|
}
|
199
209
|
var title = $(this).attr('toc-title');
|
200
210
|
if (typeof(title) == "undefined") title = $(this).text();
|
201
|
-
|
211
|
+
curli =$('<li><a href="#' + this.id + '">' + title + '</a></li>');
|
212
|
+
toc.append(curli);
|
202
213
|
lastTag = thisTag;
|
203
214
|
});
|
204
215
|
if (!show) return;
|
data/doc/method_list.html
CHANGED
@@ -4,9 +4,9 @@
|
|
4
4
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
5
5
|
<meta charset="utf-8" />
|
6
6
|
|
7
|
-
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen"
|
7
|
+
<link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" />
|
8
8
|
|
9
|
-
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen"
|
9
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" />
|
10
10
|
|
11
11
|
|
12
12
|
|
@@ -141,6 +141,14 @@
|
|
141
141
|
|
142
142
|
|
143
143
|
<li class="odd ">
|
144
|
+
<div class="item">
|
145
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#clean_uri_obj-class_method" title="DhEasy::Core::Mock::FakeDb.clean_uri_obj (method)">clean_uri_obj</a></span>
|
146
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
147
|
+
</div>
|
148
|
+
</li>
|
149
|
+
|
150
|
+
|
151
|
+
<li class="even ">
|
144
152
|
<div class="item">
|
145
153
|
<span class='object_link'><a href="DhEasy/Core/Plugin/CollectionVault.html#collections-instance_method" title="DhEasy::Core::Plugin::CollectionVault#collections (method)">#collections</a></span>
|
146
154
|
<small>DhEasy::Core::Plugin::CollectionVault</small>
|
@@ -148,7 +156,7 @@
|
|
148
156
|
</li>
|
149
157
|
|
150
158
|
|
151
|
-
<li class="
|
159
|
+
<li class="odd ">
|
152
160
|
<div class="item">
|
153
161
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ConfigBehavior.html#config_collection-instance_method" title="DhEasy::Core::Plugin::ConfigBehavior#config_collection (method)">#config_collection</a></span>
|
154
162
|
<small>DhEasy::Core::Plugin::ConfigBehavior</small>
|
@@ -156,7 +164,7 @@
|
|
156
164
|
</li>
|
157
165
|
|
158
166
|
|
159
|
-
<li class="
|
167
|
+
<li class="even ">
|
160
168
|
<div class="item">
|
161
169
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ConfigBehavior.html#config_collection_key-instance_method" title="DhEasy::Core::Plugin::ConfigBehavior#config_collection_key (method)">#config_collection_key</a></span>
|
162
170
|
<small>DhEasy::Core::Plugin::ConfigBehavior</small>
|
@@ -164,7 +172,7 @@
|
|
164
172
|
</li>
|
165
173
|
|
166
174
|
|
167
|
-
<li class="
|
175
|
+
<li class="odd ">
|
168
176
|
<div class="item">
|
169
177
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>
|
170
178
|
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
@@ -172,7 +180,7 @@
|
|
172
180
|
</li>
|
173
181
|
|
174
182
|
|
175
|
-
<li class="
|
183
|
+
<li class="even ">
|
176
184
|
<div class="item">
|
177
185
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ContextIntegrator.html#context-instance_method" title="DhEasy::Core::Plugin::ContextIntegrator#context (method)">#context</a></span>
|
178
186
|
<small>DhEasy::Core::Plugin::ContextIntegrator</small>
|
@@ -180,7 +188,7 @@
|
|
180
188
|
</li>
|
181
189
|
|
182
190
|
|
183
|
-
<li class="
|
191
|
+
<li class="odd ">
|
184
192
|
<div class="item">
|
185
193
|
<span class='object_link'><a href="DhEasy/Core/Mock.html#context_vars-class_method" title="DhEasy::Core::Mock.context_vars (method)">context_vars</a></span>
|
186
194
|
<small>DhEasy::Core::Mock</small>
|
@@ -188,7 +196,7 @@
|
|
188
196
|
</li>
|
189
197
|
|
190
198
|
|
191
|
-
<li class="
|
199
|
+
<li class="even ">
|
192
200
|
<div class="item">
|
193
201
|
<span class='object_link'><a href="DhEasy/Core/Plugin/Seeder.html#cookie-instance_method" title="DhEasy::Core::Plugin::Seeder#cookie (method)">#cookie</a></span>
|
194
202
|
<small>DhEasy::Core::Plugin::Seeder</small>
|
@@ -196,7 +204,7 @@
|
|
196
204
|
</li>
|
197
205
|
|
198
206
|
|
199
|
-
<li class="
|
207
|
+
<li class="odd ">
|
200
208
|
<div class="item">
|
201
209
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#db-instance_method" title="DhEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>
|
202
210
|
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
@@ -204,7 +212,7 @@
|
|
204
212
|
</li>
|
205
213
|
|
206
214
|
|
207
|
-
<li class="
|
215
|
+
<li class="even ">
|
208
216
|
<div class="item">
|
209
217
|
<span class='object_link'><a href="DhEasy/Core.html#deep_clone-class_method" title="DhEasy::Core.deep_clone (method)">deep_clone</a></span>
|
210
218
|
<small>DhEasy::Core</small>
|
@@ -212,7 +220,7 @@
|
|
212
220
|
</li>
|
213
221
|
|
214
222
|
|
215
|
-
<li class="
|
223
|
+
<li class="odd ">
|
216
224
|
<div class="item">
|
217
225
|
<span class='object_link'><a href="DhEasy/Core.html#deep_stringify_keys-class_method" title="DhEasy::Core.deep_stringify_keys (method)">deep_stringify_keys</a></span>
|
218
226
|
<small>DhEasy::Core</small>
|
@@ -220,7 +228,7 @@
|
|
220
228
|
</li>
|
221
229
|
|
222
230
|
|
223
|
-
<li class="
|
231
|
+
<li class="even ">
|
224
232
|
<div class="item">
|
225
233
|
<span class='object_link'><a href="DhEasy/Core.html#deep_stringify_keys!-class_method" title="DhEasy::Core.deep_stringify_keys! (method)">deep_stringify_keys!</a></span>
|
226
234
|
<small>DhEasy::Core</small>
|
@@ -228,7 +236,7 @@
|
|
228
236
|
</li>
|
229
237
|
|
230
238
|
|
231
|
-
<li class="
|
239
|
+
<li class="odd ">
|
232
240
|
<div class="item">
|
233
241
|
<span class='object_link'><a href="DhEasy/Core/SmartCollection.html#defaults-instance_method" title="DhEasy::Core::SmartCollection#defaults (method)">#defaults</a></span>
|
234
242
|
<small>DhEasy::Core::SmartCollection</small>
|
@@ -236,7 +244,7 @@
|
|
236
244
|
</li>
|
237
245
|
|
238
246
|
|
239
|
-
<li class="
|
247
|
+
<li class="even ">
|
240
248
|
<div class="item">
|
241
249
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#disable_job_id_override-instance_method" title="DhEasy::Core::Mock::FakeDb#disable_job_id_override (method)">#disable_job_id_override</a></span>
|
242
250
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -244,7 +252,7 @@
|
|
244
252
|
</li>
|
245
253
|
|
246
254
|
|
247
|
-
<li class="
|
255
|
+
<li class="odd ">
|
248
256
|
<div class="item">
|
249
257
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#disable_page_gid_override-instance_method" title="DhEasy::Core::Mock::FakeDb#disable_page_gid_override (method)">#disable_page_gid_override</a></span>
|
250
258
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -252,7 +260,7 @@
|
|
252
260
|
</li>
|
253
261
|
|
254
262
|
|
255
|
-
<li class="
|
263
|
+
<li class="even ">
|
256
264
|
<div class="item">
|
257
265
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#enable_job_id_override-instance_method" title="DhEasy::Core::Mock::FakeDb#enable_job_id_override (method)">#enable_job_id_override</a></span>
|
258
266
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -260,7 +268,7 @@
|
|
260
268
|
</li>
|
261
269
|
|
262
270
|
|
263
|
-
<li class="
|
271
|
+
<li class="odd ">
|
264
272
|
<div class="item">
|
265
273
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#enable_page_gid_override-instance_method" title="DhEasy::Core::Mock::FakeDb#enable_page_gid_override (method)">#enable_page_gid_override</a></span>
|
266
274
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -268,7 +276,7 @@
|
|
268
276
|
</li>
|
269
277
|
|
270
278
|
|
271
|
-
<li class="
|
279
|
+
<li class="even ">
|
272
280
|
<div class="item">
|
273
281
|
<span class='object_link'><a href="DhEasy/Core/Helper/Cookie.html#encode_to_header-class_method" title="DhEasy::Core::Helper::Cookie.encode_to_header (method)">encode_to_header</a></span>
|
274
282
|
<small>DhEasy::Core::Helper::Cookie</small>
|
@@ -276,7 +284,7 @@
|
|
276
284
|
</li>
|
277
285
|
|
278
286
|
|
279
|
-
<li class="
|
287
|
+
<li class="odd ">
|
280
288
|
<div class="item">
|
281
289
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ExecutorBehavior.html#enqueue-instance_method" title="DhEasy::Core::Plugin::ExecutorBehavior#enqueue (method)">#enqueue</a></span>
|
282
290
|
<small>DhEasy::Core::Plugin::ExecutorBehavior</small>
|
@@ -284,7 +292,7 @@
|
|
284
292
|
</li>
|
285
293
|
|
286
294
|
|
287
|
-
<li class="
|
295
|
+
<li class="even ">
|
288
296
|
<div class="item">
|
289
297
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#ensure_job-instance_method" title="DhEasy::Core::Mock::FakeDb#ensure_job (method)">#ensure_job</a></span>
|
290
298
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -292,7 +300,7 @@
|
|
292
300
|
</li>
|
293
301
|
|
294
302
|
|
295
|
-
<li class="
|
303
|
+
<li class="odd ">
|
296
304
|
<div class="item">
|
297
305
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#execute_script-instance_method" title="DhEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>
|
298
306
|
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
@@ -300,7 +308,7 @@
|
|
300
308
|
</li>
|
301
309
|
|
302
310
|
|
303
|
-
<li class="
|
311
|
+
<li class="even ">
|
304
312
|
<div class="item">
|
305
313
|
<span class='object_link'><a href="DhEasy/Core.html#expose_to-class_method" title="DhEasy::Core.expose_to (method)">expose_to</a></span>
|
306
314
|
<small>DhEasy::Core</small>
|
@@ -308,7 +316,7 @@
|
|
308
316
|
</li>
|
309
317
|
|
310
318
|
|
311
|
-
<li class="
|
319
|
+
<li class="odd ">
|
312
320
|
<div class="item">
|
313
321
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#failed_content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span>
|
314
322
|
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
@@ -316,7 +324,7 @@
|
|
316
324
|
</li>
|
317
325
|
|
318
326
|
|
319
|
-
<li class="
|
327
|
+
<li class="even ">
|
320
328
|
<div class="item">
|
321
329
|
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#fake_uuid-class_method" title="DhEasy::Core::Mock::FakeDb.fake_uuid (method)">fake_uuid</a></span>
|
322
330
|
<small>DhEasy::Core::Mock::FakeDb</small>
|
@@ -324,6 +332,14 @@
|
|
324
332
|
</li>
|
325
333
|
|
326
334
|
|
335
|
+
<li class="odd ">
|
336
|
+
<div class="item">
|
337
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#fake_uuid-instance_method" title="DhEasy::Core::Mock::FakeDb#fake_uuid (method)">#fake_uuid</a></span>
|
338
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
339
|
+
</div>
|
340
|
+
</li>
|
341
|
+
|
342
|
+
|
327
343
|
<li class="even ">
|
328
344
|
<div class="item">
|
329
345
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ConfigBehavior.html#find_config-instance_method" title="DhEasy::Core::Plugin::ConfigBehavior#find_config (method)">#find_config</a></span>
|
@@ -430,32 +446,32 @@
|
|
430
446
|
|
431
447
|
<li class="odd ">
|
432
448
|
<div class="item">
|
433
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
434
|
-
<small>DhEasy::Core::Mock::
|
449
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#initialize-instance_method" title="DhEasy::Core::Mock::FakeDb#initialize (method)">#initialize</a></span>
|
450
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
435
451
|
</div>
|
436
452
|
</li>
|
437
453
|
|
438
454
|
|
439
455
|
<li class="even ">
|
440
456
|
<div class="item">
|
441
|
-
<span class='object_link'><a href="DhEasy/Core/
|
442
|
-
<small>DhEasy::Core::
|
457
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#initialize-instance_method" title="DhEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>
|
458
|
+
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
443
459
|
</div>
|
444
460
|
</li>
|
445
461
|
|
446
462
|
|
447
463
|
<li class="odd ">
|
448
464
|
<div class="item">
|
449
|
-
<span class='object_link'><a href="DhEasy/Core/
|
450
|
-
<small>DhEasy::Core::
|
465
|
+
<span class='object_link'><a href="DhEasy/Core/Config.html#initialize-instance_method" title="DhEasy::Core::Config#initialize (method)">#initialize</a></span>
|
466
|
+
<small>DhEasy::Core::Config</small>
|
451
467
|
</div>
|
452
468
|
</li>
|
453
469
|
|
454
470
|
|
455
471
|
<li class="even ">
|
456
472
|
<div class="item">
|
457
|
-
<span class='object_link'><a href="DhEasy/Core/Plugin/
|
458
|
-
<small>DhEasy::Core::Plugin::
|
473
|
+
<span class='object_link'><a href="DhEasy/Core/Plugin/Finisher.html#initialize-instance_method" title="DhEasy::Core::Plugin::Finisher#initialize (method)">#initialize</a></span>
|
474
|
+
<small>DhEasy::Core::Plugin::Finisher</small>
|
459
475
|
</div>
|
460
476
|
</li>
|
461
477
|
|
@@ -470,8 +486,8 @@
|
|
470
486
|
|
471
487
|
<li class="even ">
|
472
488
|
<div class="item">
|
473
|
-
<span class='object_link'><a href="DhEasy/Core/Plugin/
|
474
|
-
<small>DhEasy::Core::Plugin::
|
489
|
+
<span class='object_link'><a href="DhEasy/Core/Plugin/Seeder.html#initialize-instance_method" title="DhEasy::Core::Plugin::Seeder#initialize (method)">#initialize</a></span>
|
490
|
+
<small>DhEasy::Core::Plugin::Seeder</small>
|
475
491
|
</div>
|
476
492
|
</li>
|
477
493
|
|
@@ -486,8 +502,8 @@
|
|
486
502
|
|
487
503
|
<li class="even ">
|
488
504
|
<div class="item">
|
489
|
-
<span class='object_link'><a href="DhEasy/Core/
|
490
|
-
<small>DhEasy::Core::
|
505
|
+
<span class='object_link'><a href="DhEasy/Core/Plugin/Parser.html#initialize-instance_method" title="DhEasy::Core::Plugin::Parser#initialize (method)">#initialize</a></span>
|
506
|
+
<small>DhEasy::Core::Plugin::Parser</small>
|
491
507
|
</div>
|
492
508
|
</li>
|
493
509
|
|
@@ -534,16 +550,16 @@
|
|
534
550
|
|
535
551
|
<li class="even ">
|
536
552
|
<div class="item">
|
537
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
538
|
-
<small>DhEasy::Core::Mock::
|
553
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#job_id-instance_method" title="DhEasy::Core::Mock::FakeDb#job_id (method)">#job_id</a></span>
|
554
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
539
555
|
</div>
|
540
556
|
</li>
|
541
557
|
|
542
558
|
|
543
559
|
<li class="odd ">
|
544
560
|
<div class="item">
|
545
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
546
|
-
<small>DhEasy::Core::Mock::
|
561
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#job_id-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>
|
562
|
+
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
547
563
|
</div>
|
548
564
|
</li>
|
549
565
|
|
@@ -870,32 +886,32 @@
|
|
870
886
|
|
871
887
|
<li class="even ">
|
872
888
|
<div class="item">
|
873
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
874
|
-
<small>DhEasy::Core::Mock::
|
889
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#scraper_name-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name (method)">#scraper_name</a></span>
|
890
|
+
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
875
891
|
</div>
|
876
892
|
</li>
|
877
893
|
|
878
894
|
|
879
895
|
<li class="odd ">
|
880
896
|
<div class="item">
|
881
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
882
|
-
<small>DhEasy::Core::Mock::
|
897
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#scraper_name-instance_method" title="DhEasy::Core::Mock::FakeDb#scraper_name (method)">#scraper_name</a></span>
|
898
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
883
899
|
</div>
|
884
900
|
</li>
|
885
901
|
|
886
902
|
|
887
903
|
<li class="even ">
|
888
904
|
<div class="item">
|
889
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
890
|
-
<small>DhEasy::Core::Mock::
|
905
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#scraper_name=-instance_method" title="DhEasy::Core::Mock::FakeDb#scraper_name= (method)">#scraper_name=</a></span>
|
906
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
891
907
|
</div>
|
892
908
|
</li>
|
893
909
|
|
894
910
|
|
895
911
|
<li class="odd ">
|
896
912
|
<div class="item">
|
897
|
-
<span class='object_link'><a href="DhEasy/Core/Mock/
|
898
|
-
<small>DhEasy::Core::Mock::
|
913
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeExecutor.html#scraper_name=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name= (method)">#scraper_name=</a></span>
|
914
|
+
<small>DhEasy::Core::Mock::FakeExecutor</small>
|
899
915
|
</div>
|
900
916
|
</li>
|
901
917
|
|
@@ -924,6 +940,22 @@
|
|
924
940
|
</li>
|
925
941
|
|
926
942
|
|
943
|
+
<li class="odd ">
|
944
|
+
<div class="item">
|
945
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#uuid_algorithm-instance_method" title="DhEasy::Core::Mock::FakeDb#uuid_algorithm (method)">#uuid_algorithm</a></span>
|
946
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
947
|
+
</div>
|
948
|
+
</li>
|
949
|
+
|
950
|
+
|
951
|
+
<li class="even ">
|
952
|
+
<div class="item">
|
953
|
+
<span class='object_link'><a href="DhEasy/Core/Mock/FakeDb.html#uuid_algorithm=-instance_method" title="DhEasy::Core::Mock::FakeDb#uuid_algorithm= (method)">#uuid_algorithm=</a></span>
|
954
|
+
<small>DhEasy::Core::Mock::FakeDb</small>
|
955
|
+
</div>
|
956
|
+
</li>
|
957
|
+
|
958
|
+
|
927
959
|
<li class="odd ">
|
928
960
|
<div class="item">
|
929
961
|
<span class='object_link'><a href="DhEasy/Core/Plugin/ParserBehavior.html#vars-instance_method" title="DhEasy::Core::Plugin::ParserBehavior#vars (method)">#vars</a></span>
|
@@ -6,15 +6,15 @@
|
|
6
6
|
<title>
|
7
7
|
Top Level Namespace
|
8
8
|
|
9
|
-
— Documentation by YARD 0.9.
|
9
|
+
— Documentation by YARD 0.9.24
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" />
|
14
14
|
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" />
|
16
16
|
|
17
|
-
<script type="text/javascript"
|
17
|
+
<script type="text/javascript">
|
18
18
|
pathId = "";
|
19
19
|
relpath = '';
|
20
20
|
</script>
|
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Sun May 23 08:36:54 2021 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
-
0.9.
|
105
|
+
0.9.24 (ruby-2.6.5).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</div>
|
data/lib/dh_easy/core.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'time'
|
2
|
+
require 'digest'
|
2
3
|
require 'faker'
|
3
4
|
require 'datahen'
|
4
5
|
require 'dh_easy/core/smart_collection'
|
@@ -31,7 +32,7 @@ module DhEasy
|
|
31
32
|
excluded_files = (opts[:except] || []).map{|f|File.expand_path File.join(dir, f)}
|
32
33
|
files = Dir[File.join(File.expand_path(dir), '*.rb')] - excluded_files
|
33
34
|
block ||= proc{}
|
34
|
-
files.sort.each
|
35
|
+
files.sort.each(&block)
|
35
36
|
end
|
36
37
|
|
37
38
|
# Require all scripts within a directory.
|