dh_easy-core 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.travis.yml +7 -0
- data/.yardopts +1 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/LICENSE +21 -0
- data/README.md +20 -0
- data/Rakefile +22 -0
- data/dh_easy-core.gemspec +50 -0
- data/doc/DhEasy.html +117 -0
- data/doc/DhEasy/Core.html +1590 -0
- data/doc/DhEasy/Core/Config.html +311 -0
- data/doc/DhEasy/Core/Exception.html +117 -0
- data/doc/DhEasy/Core/Exception/OutdatedError.html +135 -0
- data/doc/DhEasy/Core/Helper.html +117 -0
- data/doc/DhEasy/Core/Helper/Cookie.html +1070 -0
- data/doc/DhEasy/Core/Mock.html +282 -0
- data/doc/DhEasy/Core/Mock/FakeDb.html +3779 -0
- data/doc/DhEasy/Core/Mock/FakeExecutor.html +3289 -0
- data/doc/DhEasy/Core/Mock/FakeFinisher.html +160 -0
- data/doc/DhEasy/Core/Mock/FakeParser.html +160 -0
- data/doc/DhEasy/Core/Mock/FakeSeeder.html +160 -0
- data/doc/DhEasy/Core/Plugin.html +117 -0
- data/doc/DhEasy/Core/Plugin/CollectionVault.html +299 -0
- data/doc/DhEasy/Core/Plugin/ConfigBehavior.html +541 -0
- data/doc/DhEasy/Core/Plugin/ContextIntegrator.html +445 -0
- data/doc/DhEasy/Core/Plugin/Executor.html +259 -0
- data/doc/DhEasy/Core/Plugin/ExecutorBehavior.html +344 -0
- data/doc/DhEasy/Core/Plugin/Finisher.html +265 -0
- data/doc/DhEasy/Core/Plugin/FinisherBehavior.html +142 -0
- data/doc/DhEasy/Core/Plugin/InitializeHook.html +220 -0
- data/doc/DhEasy/Core/Plugin/Parser.html +270 -0
- data/doc/DhEasy/Core/Plugin/ParserBehavior.html +235 -0
- data/doc/DhEasy/Core/Plugin/Seeder.html +674 -0
- data/doc/DhEasy/Core/Plugin/SeederBehavior.html +142 -0
- data/doc/DhEasy/Core/SmartCollection.html +1087 -0
- data/doc/_index.html +364 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +91 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +91 -0
- data/doc/js/app.js +303 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +939 -0
- data/doc/top-level-namespace.html +110 -0
- data/lib/dh_easy/core.rb +257 -0
- data/lib/dh_easy/core/config.rb +27 -0
- data/lib/dh_easy/core/exception.rb +8 -0
- data/lib/dh_easy/core/exception/outdated_error.rb +9 -0
- data/lib/dh_easy/core/helper.rb +8 -0
- data/lib/dh_easy/core/helper/cookie.rb +209 -0
- data/lib/dh_easy/core/mock.rb +45 -0
- data/lib/dh_easy/core/mock/fake_db.rb +561 -0
- data/lib/dh_easy/core/mock/fake_executor.rb +373 -0
- data/lib/dh_easy/core/mock/fake_finisher.rb +28 -0
- data/lib/dh_easy/core/mock/fake_parser.rb +33 -0
- data/lib/dh_easy/core/mock/fake_seeder.rb +28 -0
- data/lib/dh_easy/core/plugin.rb +19 -0
- data/lib/dh_easy/core/plugin/collection_vault.rb +23 -0
- data/lib/dh_easy/core/plugin/config_behavior.rb +43 -0
- data/lib/dh_easy/core/plugin/context_integrator.rb +60 -0
- data/lib/dh_easy/core/plugin/executor.rb +19 -0
- data/lib/dh_easy/core/plugin/executor_behavior.rb +32 -0
- data/lib/dh_easy/core/plugin/finisher.rb +19 -0
- data/lib/dh_easy/core/plugin/finisher_behavior.rb +9 -0
- data/lib/dh_easy/core/plugin/initialize_hook.rb +17 -0
- data/lib/dh_easy/core/plugin/parser.rb +19 -0
- data/lib/dh_easy/core/plugin/parser_behavior.rb +17 -0
- data/lib/dh_easy/core/plugin/seeder.rb +44 -0
- data/lib/dh_easy/core/plugin/seeder_behavior.rb +9 -0
- data/lib/dh_easy/core/smart_collection.rb +236 -0
- data/lib/dh_easy/core/version.rb +6 -0
- metadata +249 -0
@@ -0,0 +1,160 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: DhEasy::Core::Mock::FakeFinisher
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.20
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "DhEasy::Core::Mock::FakeFinisher";
|
19
|
+
relpath = '../../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../DhEasy.html" title="DhEasy (module)">DhEasy</a></span></span> » <span class='title'><span class='object_link'><a href="../../Core.html" title="DhEasy::Core (module)">Core</a></span></span> » <span class='title'><span class='object_link'><a href="../Mock.html" title="DhEasy::Core::Mock (module)">Mock</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FakeFinisher</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: DhEasy::Core::Mock::FakeFinisher
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">DhEasy::Core::Mock::FakeFinisher</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd><span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></dd>
|
93
|
+
</dl>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dl>
|
101
|
+
<dt>Defined in:</dt>
|
102
|
+
<dd>lib/dh_easy/core/mock/fake_finisher.rb</dd>
|
103
|
+
</dl>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<h2>Overview</h2><div class="docstring">
|
108
|
+
<div class="discussion">
|
109
|
+
|
110
|
+
<p>Fake finisher that emulates `Datahen` finisher executor.</p>
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
<div class="tags">
|
116
|
+
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
|
121
|
+
<h2>Constant Summary</h2>
|
122
|
+
|
123
|
+
<h3 class="inherited">Constants included
|
124
|
+
from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
125
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#MAX_FIND_OUTPUTS_PER_PAGE-constant" title="DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE (constant)">DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE</a></span></p>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<h2>Instance Attribute Summary</h2>
|
131
|
+
|
132
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
133
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>, <span class='object_link'><a href="FakeExecutor.html#failed_content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span></p>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<h2>Method Summary</h2>
|
144
|
+
|
145
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
146
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#db-instance_method" title="DhEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>, <span class='object_link'><a href="FakeExecutor.html#execute_script-instance_method" title="DhEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_output-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_output (method)">#find_output</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_outputs (method)">#find_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush (method)">#flush</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_outputs (method)">#flush_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_pages (method)">#flush_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_self_actions-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_self_actions (method)">#flush_self_actions</a></span>, <span class='object_link'><a href="FakeExecutor.html#initialize-instance_method" title="DhEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id= (method)">#job_id=</a></span>, <span class='object_link'><a href="FakeExecutor.html#latest_job_by-instance_method" title="DhEasy::Core::Mock::FakeExecutor#latest_job_by (method)">#latest_job_by</a></span>, <span class='object_link'><a href="FakeExecutor.html#outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#outputs (method)">#outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#page-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page (method)">#page</a></span>, <span class='object_link'><a href="FakeExecutor.html#page=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page= (method)">#page=</a></span>, <span class='object_link'><a href="FakeExecutor.html#pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#pages (method)">#pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch (method)">#refetch</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self (method)">#refetch_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self= (method)">#refetch_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse (method)">#reparse</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self (method)">#reparse_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self= (method)">#reparse_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_jobs (method)">#save_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_outputs (method)">#save_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_pages (method)">#save_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_jobs (method)">#saved_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_outputs (method)">#saved_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_pages (method)">#saved_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name (method)">#scraper_name</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name= (method)">#scraper_name=</a></span></p>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="footer">
|
153
|
+
Generated on Wed Dec 4 23:00:03 2019 by
|
154
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
155
|
+
0.9.20 (ruby-2.5.3).
|
156
|
+
</div>
|
157
|
+
|
158
|
+
</div>
|
159
|
+
</body>
|
160
|
+
</html>
|
@@ -0,0 +1,160 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: DhEasy::Core::Mock::FakeParser
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.20
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "DhEasy::Core::Mock::FakeParser";
|
19
|
+
relpath = '../../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../DhEasy.html" title="DhEasy (module)">DhEasy</a></span></span> » <span class='title'><span class='object_link'><a href="../../Core.html" title="DhEasy::Core (module)">Core</a></span></span> » <span class='title'><span class='object_link'><a href="../Mock.html" title="DhEasy::Core::Mock (module)">Mock</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FakeParser</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: DhEasy::Core::Mock::FakeParser
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">DhEasy::Core::Mock::FakeParser</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd><span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></dd>
|
93
|
+
</dl>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dl>
|
101
|
+
<dt>Defined in:</dt>
|
102
|
+
<dd>lib/dh_easy/core/mock/fake_parser.rb</dd>
|
103
|
+
</dl>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<h2>Overview</h2><div class="docstring">
|
108
|
+
<div class="discussion">
|
109
|
+
|
110
|
+
<p>Fake parser that emulates `Datahen` parser executor.</p>
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
<div class="tags">
|
116
|
+
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
|
121
|
+
<h2>Constant Summary</h2>
|
122
|
+
|
123
|
+
<h3 class="inherited">Constants included
|
124
|
+
from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
125
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#MAX_FIND_OUTPUTS_PER_PAGE-constant" title="DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE (constant)">DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE</a></span></p>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<h2>Instance Attribute Summary</h2>
|
131
|
+
|
132
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
133
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>, <span class='object_link'><a href="FakeExecutor.html#failed_content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span></p>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<h2>Method Summary</h2>
|
144
|
+
|
145
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
146
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#db-instance_method" title="DhEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>, <span class='object_link'><a href="FakeExecutor.html#execute_script-instance_method" title="DhEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_output-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_output (method)">#find_output</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_outputs (method)">#find_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush (method)">#flush</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_outputs (method)">#flush_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_pages (method)">#flush_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_self_actions-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_self_actions (method)">#flush_self_actions</a></span>, <span class='object_link'><a href="FakeExecutor.html#initialize-instance_method" title="DhEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id= (method)">#job_id=</a></span>, <span class='object_link'><a href="FakeExecutor.html#latest_job_by-instance_method" title="DhEasy::Core::Mock::FakeExecutor#latest_job_by (method)">#latest_job_by</a></span>, <span class='object_link'><a href="FakeExecutor.html#outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#outputs (method)">#outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#page-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page (method)">#page</a></span>, <span class='object_link'><a href="FakeExecutor.html#page=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page= (method)">#page=</a></span>, <span class='object_link'><a href="FakeExecutor.html#pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#pages (method)">#pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch (method)">#refetch</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self (method)">#refetch_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self= (method)">#refetch_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse (method)">#reparse</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self (method)">#reparse_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self= (method)">#reparse_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_jobs (method)">#save_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_outputs (method)">#save_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_pages (method)">#save_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_jobs (method)">#saved_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_outputs (method)">#saved_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_pages (method)">#saved_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name (method)">#scraper_name</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name= (method)">#scraper_name=</a></span></p>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="footer">
|
153
|
+
Generated on Wed Dec 4 23:00:02 2019 by
|
154
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
155
|
+
0.9.20 (ruby-2.5.3).
|
156
|
+
</div>
|
157
|
+
|
158
|
+
</div>
|
159
|
+
</body>
|
160
|
+
</html>
|
@@ -0,0 +1,160 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: DhEasy::Core::Mock::FakeSeeder
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.20
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "DhEasy::Core::Mock::FakeSeeder";
|
19
|
+
relpath = '../../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../../_index.html">Index (F)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../../DhEasy.html" title="DhEasy (module)">DhEasy</a></span></span> » <span class='title'><span class='object_link'><a href="../../Core.html" title="DhEasy::Core (module)">Core</a></span></span> » <span class='title'><span class='object_link'><a href="../Mock.html" title="DhEasy::Core::Mock (module)">Mock</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">FakeSeeder</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: DhEasy::Core::Mock::FakeSeeder
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">DhEasy::Core::Mock::FakeSeeder</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<dl>
|
91
|
+
<dt>Includes:</dt>
|
92
|
+
<dd><span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></dd>
|
93
|
+
</dl>
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
<dl>
|
101
|
+
<dt>Defined in:</dt>
|
102
|
+
<dd>lib/dh_easy/core/mock/fake_seeder.rb</dd>
|
103
|
+
</dl>
|
104
|
+
|
105
|
+
</div>
|
106
|
+
|
107
|
+
<h2>Overview</h2><div class="docstring">
|
108
|
+
<div class="discussion">
|
109
|
+
|
110
|
+
<p>Fake seeder that emulates `Datahen` seeder executor.</p>
|
111
|
+
|
112
|
+
|
113
|
+
</div>
|
114
|
+
</div>
|
115
|
+
<div class="tags">
|
116
|
+
|
117
|
+
|
118
|
+
</div>
|
119
|
+
|
120
|
+
|
121
|
+
<h2>Constant Summary</h2>
|
122
|
+
|
123
|
+
<h3 class="inherited">Constants included
|
124
|
+
from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
125
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#MAX_FIND_OUTPUTS_PER_PAGE-constant" title="DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE (constant)">DhEasy::Core::Mock::FakeExecutor::MAX_FIND_OUTPUTS_PER_PAGE</a></span></p>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
<h2>Instance Attribute Summary</h2>
|
131
|
+
|
132
|
+
<h3 class="inherited">Attributes included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
133
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#content (method)">#content</a></span>, <span class='object_link'><a href="FakeExecutor.html#failed_content-instance_method" title="DhEasy::Core::Mock::FakeExecutor#failed_content (method)">#failed_content</a></span></p>
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
<h2>Method Summary</h2>
|
144
|
+
|
145
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="FakeExecutor.html" title="DhEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span></h3>
|
146
|
+
<p class="inherited"><span class='object_link'><a href="FakeExecutor.html#db-instance_method" title="DhEasy::Core::Mock::FakeExecutor#db (method)">#db</a></span>, <span class='object_link'><a href="FakeExecutor.html#execute_script-instance_method" title="DhEasy::Core::Mock::FakeExecutor#execute_script (method)">#execute_script</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_output-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_output (method)">#find_output</a></span>, <span class='object_link'><a href="FakeExecutor.html#find_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#find_outputs (method)">#find_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush (method)">#flush</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_outputs (method)">#flush_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_pages (method)">#flush_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#flush_self_actions-instance_method" title="DhEasy::Core::Mock::FakeExecutor#flush_self_actions (method)">#flush_self_actions</a></span>, <span class='object_link'><a href="FakeExecutor.html#initialize-instance_method" title="DhEasy::Core::Mock::FakeExecutor#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id (method)">#job_id</a></span>, <span class='object_link'><a href="FakeExecutor.html#job_id=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#job_id= (method)">#job_id=</a></span>, <span class='object_link'><a href="FakeExecutor.html#latest_job_by-instance_method" title="DhEasy::Core::Mock::FakeExecutor#latest_job_by (method)">#latest_job_by</a></span>, <span class='object_link'><a href="FakeExecutor.html#outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#outputs (method)">#outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#page-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page (method)">#page</a></span>, <span class='object_link'><a href="FakeExecutor.html#page=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#page= (method)">#page=</a></span>, <span class='object_link'><a href="FakeExecutor.html#pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#pages (method)">#pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch (method)">#refetch</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self (method)">#refetch_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#refetch_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#refetch_self= (method)">#refetch_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse (method)">#reparse</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self (method)">#reparse_self</a></span>, <span class='object_link'><a href="FakeExecutor.html#reparse_self=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#reparse_self= (method)">#reparse_self=</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_jobs (method)">#save_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_outputs (method)">#save_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#save_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#save_pages (method)">#save_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_jobs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_jobs (method)">#saved_jobs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_outputs-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_outputs (method)">#saved_outputs</a></span>, <span class='object_link'><a href="FakeExecutor.html#saved_pages-instance_method" title="DhEasy::Core::Mock::FakeExecutor#saved_pages (method)">#saved_pages</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name (method)">#scraper_name</a></span>, <span class='object_link'><a href="FakeExecutor.html#scraper_name=-instance_method" title="DhEasy::Core::Mock::FakeExecutor#scraper_name= (method)">#scraper_name=</a></span></p>
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<div id="footer">
|
153
|
+
Generated on Wed Dec 4 23:00:03 2019 by
|
154
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
155
|
+
0.9.20 (ruby-2.5.3).
|
156
|
+
</div>
|
157
|
+
|
158
|
+
</div>
|
159
|
+
</body>
|
160
|
+
</html>
|