ae_easy-core 0.0.5 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/doc/AeEasy/Core/Config.html +5 -5
- data/doc/AeEasy/Core/Exception/OutdatedError.html +1 -1
- data/doc/AeEasy/Core/Exception.html +1 -1
- data/doc/AeEasy/Core/Helper/Cookie.html +1 -1
- data/doc/AeEasy/Core/Helper.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeDb.html +2 -2
- data/doc/AeEasy/Core/Mock/FakeExecutor.html +8 -8
- data/doc/AeEasy/Core/Mock/FakeParser.html +1 -1
- data/doc/AeEasy/Core/Mock/FakeSeeder.html +1 -1
- data/doc/AeEasy/Core/Mock.html +1 -1
- data/doc/AeEasy/Core/Plugin/CollectionVault.html +1 -1
- data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +1 -1
- data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +2 -2
- data/doc/AeEasy/Core/Plugin/Executor.html +259 -0
- data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +344 -0
- data/doc/AeEasy/Core/Plugin/InitializeHook.html +2 -2
- data/doc/AeEasy/Core/Plugin/Parser.html +13 -2
- data/doc/AeEasy/Core/Plugin/ParserBehavior.html +12 -197
- data/doc/AeEasy/Core/Plugin/Seeder.html +9 -3
- data/doc/AeEasy/Core/Plugin/SeederBehavior.html +5 -145
- data/doc/AeEasy/Core/Plugin.html +3 -3
- data/doc/AeEasy/Core/SmartCollection.html +4 -4
- data/doc/AeEasy/Core.html +68 -58
- data/doc/AeEasy.html +2 -2
- data/doc/_index.html +15 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/method_list.html +56 -64
- data/doc/top-level-namespace.html +1 -1
- data/lib/ae_easy/core/config.rb +2 -0
- data/lib/ae_easy/core/mock/fake_db.rb +2 -2
- data/lib/ae_easy/core/mock/fake_executor.rb +5 -5
- data/lib/ae_easy/core/plugin/executor.rb +19 -0
- data/lib/ae_easy/core/plugin/executor_behavior.rb +32 -0
- data/lib/ae_easy/core/plugin/parser_behavior.rb +1 -23
- data/lib/ae_easy/core/plugin/seeder_behavior.rb +1 -13
- data/lib/ae_easy/core/plugin.rb +2 -0
- data/lib/ae_easy/core/smart_collection.rb +1 -1
- data/lib/ae_easy/core/version.rb +1 -1
- data/lib/ae_easy/core.rb +13 -8
- metadata +6 -2
@@ -73,7 +73,7 @@
|
|
73
73
|
|
74
74
|
<dl>
|
75
75
|
<dt>Includes:</dt>
|
76
|
-
<dd><span class='object_link'><a href="
|
76
|
+
<dd><span class='object_link'><a href="ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span></dd>
|
77
77
|
</dl>
|
78
78
|
|
79
79
|
|
@@ -105,65 +105,17 @@
|
|
105
105
|
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#context (method)">#context</a></span></p>
|
106
106
|
|
107
107
|
|
108
|
-
|
109
|
-
<h2>
|
110
|
-
Instance Method Summary
|
111
|
-
<small><a href="#" class="summary_toggle">collapse</a></small>
|
112
|
-
</h2>
|
113
|
-
|
114
|
-
<ul class="summary">
|
115
|
-
|
116
|
-
<li class="public ">
|
117
|
-
<span class="summary_signature">
|
118
|
-
|
119
|
-
<a href="#enqueue-instance_method" title="#enqueue (instance method)">#<strong>enqueue</strong>(pages) ⇒ Object </a>
|
120
|
-
|
121
108
|
|
122
|
-
|
123
|
-
</span>
|
124
|
-
|
125
109
|
|
126
110
|
|
127
111
|
|
128
112
|
|
129
113
|
|
130
114
|
|
131
|
-
|
132
|
-
|
133
|
-
<span class="summary_desc"><div class='inline'>
|
134
|
-
<p><span class='object_link'><a href="ParserBehavior.html#enqueue-instance_method" title="AeEasy::Core::Plugin::ParserBehavior#enqueue (method)">ParserBehavior#enqueue</a></span>.</p>
|
135
|
-
</div></span>
|
115
|
+
<h2>Method Summary</h2>
|
136
116
|
|
137
|
-
</
|
138
|
-
|
139
|
-
|
140
|
-
<li class="public ">
|
141
|
-
<span class="summary_signature">
|
142
|
-
|
143
|
-
<a href="#save-instance_method" title="#save (instance method)">#<strong>save</strong>(outputs) ⇒ Object </a>
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
</span>
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<span class="summary_desc"><div class='inline'>
|
158
|
-
<p><span class='object_link'><a href="ParserBehavior.html#save-instance_method" title="AeEasy::Core::Plugin::ParserBehavior#save (method)">ParserBehavior#save</a></span>.</p>
|
159
|
-
</div></span>
|
160
|
-
|
161
|
-
</li>
|
162
|
-
|
163
|
-
|
164
|
-
</ul>
|
165
|
-
|
166
|
-
|
117
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span></h3>
|
118
|
+
<p class="inherited"><span class='object_link'><a href="ExecutorBehavior.html#enqueue-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#enqueue (method)">#enqueue</a></span>, <span class='object_link'><a href="ExecutorBehavior.html#save-instance_method" title="AeEasy::Core::Plugin::ExecutorBehavior#save (method)">#save</a></span></p>
|
167
119
|
|
168
120
|
|
169
121
|
|
@@ -177,102 +129,10 @@
|
|
177
129
|
<p class="inherited"><span class='object_link'><a href="ContextIntegrator.html#initialize_hook_core_context_integrator-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#initialize_hook_core_context_integrator (method)">#initialize_hook_core_context_integrator</a></span>, <span class='object_link'><a href="ContextIntegrator.html#mock_context-instance_method" title="AeEasy::Core::Plugin::ContextIntegrator#mock_context (method)">#mock_context</a></span></p>
|
178
130
|
|
179
131
|
|
180
|
-
<div id="instance_method_details" class="method_details_list">
|
181
|
-
<h2>Instance Method Details</h2>
|
182
|
-
|
183
|
-
|
184
|
-
<div class="method_details first">
|
185
|
-
<h3 class="signature first" id="enqueue-instance_method">
|
186
|
-
|
187
|
-
#<strong>enqueue</strong>(pages) ⇒ <tt>Object</tt>
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
</h3><div class="docstring">
|
194
|
-
<div class="discussion">
|
195
|
-
|
196
|
-
<p><span class='object_link'><a href="ParserBehavior.html#enqueue-instance_method" title="AeEasy::Core::Plugin::ParserBehavior#enqueue (method)">ParserBehavior#enqueue</a></span></p>
|
197
|
-
|
198
|
-
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
<div class="tags">
|
202
|
-
|
203
|
-
|
204
|
-
</div><table class="source_code">
|
205
|
-
<tr>
|
206
|
-
<td>
|
207
|
-
<pre class="lines">
|
208
|
-
|
209
|
-
|
210
|
-
8
|
211
|
-
9
|
212
|
-
10
|
213
|
-
11</pre>
|
214
|
-
</td>
|
215
|
-
<td>
|
216
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder_behavior.rb', line 8</span>
|
217
|
-
|
218
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_enqueue'>enqueue</span> <span class='id identifier rubyid_pages'>pages</span>
|
219
|
-
<span class='id identifier rubyid_pages'>pages</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_pages'>pages</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_pages'>pages</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
|
220
|
-
<span class='id identifier rubyid_save_pages'>save_pages</span> <span class='id identifier rubyid_pages'>pages</span>
|
221
|
-
<span class='kw'>end</span></pre>
|
222
|
-
</td>
|
223
|
-
</tr>
|
224
|
-
</table>
|
225
|
-
</div>
|
226
|
-
|
227
|
-
<div class="method_details ">
|
228
|
-
<h3 class="signature " id="save-instance_method">
|
229
|
-
|
230
|
-
#<strong>save</strong>(outputs) ⇒ <tt>Object</tt>
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
</h3><div class="docstring">
|
237
|
-
<div class="discussion">
|
238
|
-
|
239
|
-
<p><span class='object_link'><a href="ParserBehavior.html#save-instance_method" title="AeEasy::Core::Plugin::ParserBehavior#save (method)">ParserBehavior#save</a></span></p>
|
240
|
-
|
241
|
-
|
242
|
-
</div>
|
243
|
-
</div>
|
244
|
-
<div class="tags">
|
245
|
-
|
246
|
-
|
247
|
-
</div><table class="source_code">
|
248
|
-
<tr>
|
249
|
-
<td>
|
250
|
-
<pre class="lines">
|
251
|
-
|
252
|
-
|
253
|
-
14
|
254
|
-
15
|
255
|
-
16
|
256
|
-
17</pre>
|
257
|
-
</td>
|
258
|
-
<td>
|
259
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core/plugin/seeder_behavior.rb', line 14</span>
|
260
|
-
|
261
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_save'>save</span> <span class='id identifier rubyid_outputs'>outputs</span>
|
262
|
-
<span class='id identifier rubyid_outputs'>outputs</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_outputs'>outputs</span><span class='rbracket'>]</span> <span class='kw'>unless</span> <span class='id identifier rubyid_outputs'>outputs</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
|
263
|
-
<span class='id identifier rubyid_save_outputs'>save_outputs</span> <span class='id identifier rubyid_outputs'>outputs</span>
|
264
|
-
<span class='kw'>end</span></pre>
|
265
|
-
</td>
|
266
|
-
</tr>
|
267
|
-
</table>
|
268
|
-
</div>
|
269
|
-
|
270
|
-
</div>
|
271
|
-
|
272
132
|
</div>
|
273
133
|
|
274
134
|
<div id="footer">
|
275
|
-
Generated on
|
135
|
+
Generated on Tue Feb 26 16:38:46 2019 by
|
276
136
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
277
137
|
0.9.18 (ruby-2.5.3).
|
278
138
|
</div>
|
data/doc/AeEasy/Core/Plugin.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/ae_easy/core/plugin.rb<span class="defines">,<br />
|
82
|
-
lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
82
|
+
lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/plugin/executor.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/plugin/executor_behavior.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -89,7 +89,7 @@
|
|
89
89
|
<p class="children">
|
90
90
|
|
91
91
|
|
92
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Plugin/CollectionVault.html" title="AeEasy::Core::Plugin::CollectionVault (module)">CollectionVault</a></span>, <span class='object_link'><a href="Plugin/ConfigBehavior.html" title="AeEasy::Core::Plugin::ConfigBehavior (module)">ConfigBehavior</a></span>, <span class='object_link'><a href="Plugin/ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span>, <span class='object_link'><a href="Plugin/InitializeHook.html" title="AeEasy::Core::Plugin::InitializeHook (module)">InitializeHook</a></span>, <span class='object_link'><a href="Plugin/Parser.html" title="AeEasy::Core::Plugin::Parser (module)">Parser</a></span>, <span class='object_link'><a href="Plugin/ParserBehavior.html" title="AeEasy::Core::Plugin::ParserBehavior (module)">ParserBehavior</a></span>, <span class='object_link'><a href="Plugin/Seeder.html" title="AeEasy::Core::Plugin::Seeder (module)">Seeder</a></span>, <span class='object_link'><a href="Plugin/SeederBehavior.html" title="AeEasy::Core::Plugin::SeederBehavior (module)">SeederBehavior</a></span>
|
92
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Plugin/CollectionVault.html" title="AeEasy::Core::Plugin::CollectionVault (module)">CollectionVault</a></span>, <span class='object_link'><a href="Plugin/ConfigBehavior.html" title="AeEasy::Core::Plugin::ConfigBehavior (module)">ConfigBehavior</a></span>, <span class='object_link'><a href="Plugin/ContextIntegrator.html" title="AeEasy::Core::Plugin::ContextIntegrator (module)">ContextIntegrator</a></span>, <span class='object_link'><a href="Plugin/Executor.html" title="AeEasy::Core::Plugin::Executor (module)">Executor</a></span>, <span class='object_link'><a href="Plugin/ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span>, <span class='object_link'><a href="Plugin/InitializeHook.html" title="AeEasy::Core::Plugin::InitializeHook (module)">InitializeHook</a></span>, <span class='object_link'><a href="Plugin/Parser.html" title="AeEasy::Core::Plugin::Parser (module)">Parser</a></span>, <span class='object_link'><a href="Plugin/ParserBehavior.html" title="AeEasy::Core::Plugin::ParserBehavior (module)">ParserBehavior</a></span>, <span class='object_link'><a href="Plugin/Seeder.html" title="AeEasy::Core::Plugin::Seeder (module)">Seeder</a></span>, <span class='object_link'><a href="Plugin/SeederBehavior.html" title="AeEasy::Core::Plugin::SeederBehavior (module)">SeederBehavior</a></span>
|
93
93
|
|
94
94
|
|
95
95
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Tue Feb 26 16:38:45 2019 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.18 (ruby-2.5.3).
|
113
113
|
</div>
|
@@ -276,7 +276,7 @@
|
|
276
276
|
<li class="public ">
|
277
277
|
<span class="summary_signature">
|
278
278
|
|
279
|
-
<a href="#find_match-instance_method" title="#find_match (instance method)">#<strong>find_match</strong>(filter) ⇒ Hash
|
279
|
+
<a href="#find_match-instance_method" title="#find_match (instance method)">#<strong>find_match</strong>(filter) ⇒ Hash<sup>?</sup> </a>
|
280
280
|
|
281
281
|
|
282
282
|
|
@@ -887,7 +887,7 @@ data
|
|
887
887
|
<div class="method_details ">
|
888
888
|
<h3 class="signature " id="find_match-instance_method">
|
889
889
|
|
890
|
-
#<strong>find_match</strong>(filter) ⇒ <tt>Hash
|
890
|
+
#<strong>find_match</strong>(filter) ⇒ <tt>Hash</tt><sup>?</sup>
|
891
891
|
|
892
892
|
|
893
893
|
|
@@ -932,7 +932,7 @@ data
|
|
932
932
|
<li>
|
933
933
|
|
934
934
|
|
935
|
-
<span class='type'>(<tt>Hash
|
935
|
+
<span class='type'>(<tt>Hash</tt>, <tt>nil</tt>)</span>
|
936
936
|
|
937
937
|
|
938
938
|
|
@@ -1077,7 +1077,7 @@ data
|
|
1077
1077
|
</div>
|
1078
1078
|
|
1079
1079
|
<div id="footer">
|
1080
|
-
Generated on
|
1080
|
+
Generated on Tue Feb 26 16:38:47 2019 by
|
1081
1081
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1082
1082
|
0.9.18 (ruby-2.5.3).
|
1083
1083
|
</div>
|
data/doc/AeEasy/Core.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/ae_easy/core.rb<span class="defines">,<br />
|
82
|
-
lib/ae_easy/core/mock.rb,<br /> lib/ae_easy/core/config.rb,<br /> lib/ae_easy/core/helper.rb,<br /> lib/ae_easy/core/plugin.rb,<br /> lib/ae_easy/core/version.rb,<br /> lib/ae_easy/core/exception.rb,<br /> lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/helper/cookie.rb,<br /> lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/smart_collection.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/exception/outdated_error.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
82
|
+
lib/ae_easy/core/mock.rb,<br /> lib/ae_easy/core/config.rb,<br /> lib/ae_easy/core/helper.rb,<br /> lib/ae_easy/core/plugin.rb,<br /> lib/ae_easy/core/version.rb,<br /> lib/ae_easy/core/exception.rb,<br /> lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/helper/cookie.rb,<br /> lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/plugin/executor.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/smart_collection.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/exception/outdated_error.rb,<br /> lib/ae_easy/core/plugin/executor_behavior.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -120,7 +120,7 @@
|
|
120
120
|
|
121
121
|
</div>
|
122
122
|
</dt>
|
123
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.0
|
123
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.0</span><span class='tstring_end'>"</span></span></pre></dd>
|
124
124
|
|
125
125
|
</dl>
|
126
126
|
|
@@ -627,17 +627,17 @@ present on `source`.</p>
|
|
627
627
|
<pre class="lines">
|
628
628
|
|
629
629
|
|
630
|
-
191
|
631
|
-
192
|
632
|
-
193
|
633
|
-
194
|
634
|
-
195
|
635
630
|
196
|
636
631
|
197
|
637
|
-
198
|
632
|
+
198
|
633
|
+
199
|
634
|
+
200
|
635
|
+
201
|
636
|
+
202
|
637
|
+
203</pre>
|
638
638
|
</td>
|
639
639
|
<td>
|
640
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
640
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 196</span>
|
641
641
|
|
642
642
|
<span class='kw'>def</span> <span class='id identifier rubyid_analyze_compatibility'>analyze_compatibility</span> <span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='id identifier rubyid_fragment'>fragment</span>
|
643
643
|
<span class='id identifier rubyid_intersection'>intersection</span> <span class='op'>=</span> <span class='id identifier rubyid_source'>source</span> <span class='op'>&</span> <span class='id identifier rubyid_fragment'>fragment</span>
|
@@ -734,17 +734,17 @@ present on `source`.</p>
|
|
734
734
|
<pre class="lines">
|
735
735
|
|
736
736
|
|
737
|
-
232
|
738
|
-
233
|
739
|
-
234
|
740
|
-
235
|
741
|
-
236
|
742
737
|
237
|
743
738
|
238
|
744
|
-
239
|
739
|
+
239
|
740
|
+
240
|
741
|
+
241
|
742
|
+
242
|
743
|
+
243
|
744
|
+
244</pre>
|
745
745
|
</td>
|
746
746
|
<td>
|
747
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
747
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 237</span>
|
748
748
|
|
749
749
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_clone'>deep_clone</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>false</span>
|
750
750
|
<span class='id identifier rubyid_target'>target</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
@@ -836,19 +836,19 @@ present on `source`.</p>
|
|
836
836
|
<pre class="lines">
|
837
837
|
|
838
838
|
|
839
|
-
206
|
840
|
-
207
|
841
|
-
208
|
842
|
-
209
|
843
|
-
210
|
844
839
|
211
|
845
840
|
212
|
846
841
|
213
|
847
842
|
214
|
848
|
-
215
|
843
|
+
215
|
844
|
+
216
|
845
|
+
217
|
846
|
+
218
|
847
|
+
219
|
848
|
+
220</pre>
|
849
849
|
</td>
|
850
850
|
<td>
|
851
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
851
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 211</span>
|
852
852
|
|
853
853
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='id identifier rubyid_should_clone'>should_clone</span> <span class='op'>=</span> <span class='kw'>true</span>
|
854
854
|
<span class='id identifier rubyid_pair_collection'>pair_collection</span> <span class='op'>=</span> <span class='id identifier rubyid_hash'>hash</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span> <span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
|
@@ -924,12 +924,12 @@ present on `source`.</p>
|
|
924
924
|
<pre class="lines">
|
925
925
|
|
926
926
|
|
927
|
-
|
928
|
-
|
929
|
-
|
927
|
+
227
|
928
|
+
228
|
929
|
+
229</pre>
|
930
930
|
</td>
|
931
931
|
<td>
|
932
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
932
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 227</span>
|
933
933
|
|
934
934
|
<span class='kw'>def</span> <span class='id identifier rubyid_deep_stringify_keys!'>deep_stringify_keys!</span> <span class='id identifier rubyid_hash'>hash</span>
|
935
935
|
<span class='id identifier rubyid_deep_stringify_keys'>deep_stringify_keys</span> <span class='id identifier rubyid_hash'>hash</span><span class='comma'>,</span> <span class='kw'>false</span>
|
@@ -1045,16 +1045,16 @@ present on `source`.</p>
|
|
1045
1045
|
<pre class="lines">
|
1046
1046
|
|
1047
1047
|
|
1048
|
-
92
|
1049
|
-
93
|
1050
|
-
94
|
1051
|
-
95
|
1052
|
-
96
|
1053
1048
|
97
|
1054
|
-
98
|
1049
|
+
98
|
1050
|
+
99
|
1051
|
+
100
|
1052
|
+
101
|
1053
|
+
102
|
1054
|
+
103</pre>
|
1055
1055
|
</td>
|
1056
1056
|
<td>
|
1057
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1057
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 97</span>
|
1058
1058
|
|
1059
1059
|
<span class='kw'>def</span> <span class='id identifier rubyid_expose_to'>expose_to</span> <span class='id identifier rubyid_object'>object</span><span class='comma'>,</span> <span class='id identifier rubyid_env'>env</span>
|
1060
1060
|
<span class='id identifier rubyid_metaclass'>metaclass</span> <span class='op'>=</span> <span class='kw'>class</span> <span class='op'><<</span> <span class='id identifier rubyid_object'>object</span><span class='semicolon'>;</span> <span class='kw'>self</span><span class='semicolon'>;</span> <span class='kw'>end</span>
|
@@ -1147,12 +1147,12 @@ present on `source`.</p>
|
|
1147
1147
|
<pre class="lines">
|
1148
1148
|
|
1149
1149
|
|
1150
|
-
|
1151
|
-
|
1152
|
-
|
1150
|
+
125
|
1151
|
+
126
|
1152
|
+
127</pre>
|
1153
1153
|
</td>
|
1154
1154
|
<td>
|
1155
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1155
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 125</span>
|
1156
1156
|
|
1157
1157
|
<span class='kw'>def</span> <span class='id identifier rubyid_instance_methods_from'>instance_methods_from</span> <span class='id identifier rubyid_object'>object</span>
|
1158
1158
|
<span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_methods'>methods</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span> <span class='op'>-</span> <span class='const'>Object</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='period'>.</span><span class='id identifier rubyid_methods'>methods</span><span class='lparen'>(</span><span class='kw'>false</span><span class='rparen'>)</span>
|
@@ -1260,11 +1260,6 @@ present on `source`.</p>
|
|
1260
1260
|
<pre class="lines">
|
1261
1261
|
|
1262
1262
|
|
1263
|
-
159
|
1264
|
-
160
|
1265
|
-
161
|
1266
|
-
162
|
1267
|
-
163
|
1268
1263
|
164
|
1269
1264
|
165
|
1270
1265
|
166
|
@@ -1273,10 +1268,15 @@ present on `source`.</p>
|
|
1273
1268
|
169
|
1274
1269
|
170
|
1275
1270
|
171
|
1276
|
-
172
|
1271
|
+
172
|
1272
|
+
173
|
1273
|
+
174
|
1274
|
+
175
|
1275
|
+
176
|
1276
|
+
177</pre>
|
1277
1277
|
</td>
|
1278
1278
|
<td>
|
1279
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1279
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 164</span>
|
1280
1280
|
|
1281
1281
|
<span class='kw'>def</span> <span class='id identifier rubyid_mock_instance_methods'>mock_instance_methods</span> <span class='id identifier rubyid_source'>source</span><span class='comma'>,</span> <span class='id identifier rubyid_target'>target</span>
|
1282
1282
|
<span class='comment'># Get instance unique methods
|
@@ -1398,20 +1398,22 @@ present on `source`.</p>
|
|
1398
1398
|
49
|
1399
1399
|
50
|
1400
1400
|
51
|
1401
|
-
52
|
1401
|
+
52
|
1402
|
+
53</pre>
|
1402
1403
|
</td>
|
1403
1404
|
<td>
|
1404
1405
|
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 42</span>
|
1405
1406
|
|
1406
1407
|
<span class='kw'>def</span> <span class='id identifier rubyid_require_all'>require_all</span> <span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1407
|
-
<span class='id identifier
|
1408
|
-
<span class='id identifier rubyid_real_except'>real_except</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
1408
|
+
<span class='id identifier rubyid_dir_list'>dir_list</span> <span class='op'>=</span> <span class='id identifier rubyid_real_dir_list'>real_dir_list</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='kw'>nil</span>
|
1409
|
+
<span class='id identifier rubyid_real_except'>real_except</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:except</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_f'>f</span><span class='embexpr_end'>}</span><span class='tstring_content'>.rb</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
1410
|
+
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span> <span class='label'>except:</span> <span class='id identifier rubyid_real_except'>real_except</span>
|
1409
1411
|
<span class='gvar'>$LOAD_PATH</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_load_path'>load_path</span><span class='op'>|</span>
|
1410
|
-
<span class='id identifier
|
1411
|
-
<span class='
|
1412
|
-
|
1413
|
-
|
1414
|
-
<span class='
|
1412
|
+
<span class='id identifier rubyid_dir_list'>dir_list</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span><span class='lparen'>(</span><span class='id identifier rubyid_load_path'>load_path</span><span class='comma'>,</span> <span class='id identifier rubyid_dir'>dir</span><span class='rparen'>)</span>
|
1413
|
+
<span class='id identifier rubyid_dir_list'>dir_list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_real_dir'>real_dir</span><span class='op'>|</span>
|
1414
|
+
<span class='kw'>next</span> <span class='kw'>unless</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_directory?'>directory?</span> <span class='id identifier rubyid_real_dir'>real_dir</span>
|
1415
|
+
<span class='id identifier rubyid_all_scripts'>all_scripts</span><span class='lparen'>(</span><span class='id identifier rubyid_real_dir'>real_dir</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_file'>file</span><span class='op'>|</span> <span class='id identifier rubyid_require'>require</span> <span class='id identifier rubyid_file'>file</span><span class='rbrace'>}</span>
|
1416
|
+
<span class='kw'>end</span>
|
1415
1417
|
<span class='kw'>end</span>
|
1416
1418
|
<span class='kw'>end</span></pre>
|
1417
1419
|
</td>
|
@@ -1510,19 +1512,27 @@ present on `source`.</p>
|
|
1510
1512
|
<pre class="lines">
|
1511
1513
|
|
1512
1514
|
|
1513
|
-
59
|
1514
1515
|
60
|
1515
1516
|
61
|
1516
1517
|
62
|
1517
|
-
63
|
1518
|
+
63
|
1519
|
+
64
|
1520
|
+
65
|
1521
|
+
66
|
1522
|
+
67
|
1523
|
+
68</pre>
|
1518
1524
|
</td>
|
1519
1525
|
<td>
|
1520
|
-
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line
|
1526
|
+
<pre class="code"><span class="info file"># File 'lib/ae_easy/core.rb', line 60</span>
|
1521
1527
|
|
1522
1528
|
<span class='kw'>def</span> <span class='id identifier rubyid_require_relative_all'>require_relative_all</span> <span class='id identifier rubyid_dir'>dir</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
|
1523
1529
|
<span class='id identifier rubyid_real_except'>real_except</span> <span class='op'>=</span> <span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:except</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_f'>f</span><span class='op'>|</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_f'>f</span><span class='embexpr_end'>}</span><span class='tstring_content'>.rb</span><span class='tstring_end'>"</span></span><span class='rbrace'>}</span>
|
1524
1530
|
<span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span> <span class='label'>except:</span> <span class='id identifier rubyid_real_except'>real_except</span>
|
1525
|
-
<span class='id identifier
|
1531
|
+
<span class='id identifier rubyid_dir_list'>dir_list</span> <span class='op'>=</span> <span class='const'>Dir</span><span class='period'>.</span><span class='id identifier rubyid_glob'>glob</span> <span class='id identifier rubyid_dir'>dir</span>
|
1532
|
+
<span class='id identifier rubyid_dir_list'>dir_list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_relative_dir'>relative_dir</span><span class='op'>|</span>
|
1533
|
+
<span class='id identifier rubyid_real_dir'>real_dir</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_expand_path'>expand_path</span> <span class='id identifier rubyid_relative_dir'>relative_dir</span>
|
1534
|
+
<span class='id identifier rubyid_all_scripts'>all_scripts</span><span class='lparen'>(</span><span class='id identifier rubyid_real_dir'>real_dir</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span> <span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_file'>file</span><span class='op'>|</span> <span class='id identifier rubyid_require'>require</span> <span class='id identifier rubyid_file'>file</span><span class='rbrace'>}</span>
|
1535
|
+
<span class='kw'>end</span>
|
1526
1536
|
<span class='kw'>end</span></pre>
|
1527
1537
|
</td>
|
1528
1538
|
</tr>
|
@@ -1534,7 +1544,7 @@ present on `source`.</p>
|
|
1534
1544
|
</div>
|
1535
1545
|
|
1536
1546
|
<div id="footer">
|
1537
|
-
Generated on
|
1547
|
+
Generated on Tue Feb 26 16:38:45 2019 by
|
1538
1548
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1539
1549
|
0.9.18 (ruby-2.5.3).
|
1540
1550
|
</div>
|
data/doc/AeEasy.html
CHANGED
@@ -79,7 +79,7 @@
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
81
|
<dd>lib/ae_easy/core.rb<span class="defines">,<br />
|
82
|
-
lib/ae_easy/core/mock.rb,<br /> lib/ae_easy/core/config.rb,<br /> lib/ae_easy/core/helper.rb,<br /> lib/ae_easy/core/plugin.rb,<br /> lib/ae_easy/core/version.rb,<br /> lib/ae_easy/core/exception.rb,<br /> lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/helper/cookie.rb,<br /> lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/smart_collection.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/exception/outdated_error.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
82
|
+
lib/ae_easy/core/mock.rb,<br /> lib/ae_easy/core/config.rb,<br /> lib/ae_easy/core/helper.rb,<br /> lib/ae_easy/core/plugin.rb,<br /> lib/ae_easy/core/version.rb,<br /> lib/ae_easy/core/exception.rb,<br /> lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/helper/cookie.rb,<br /> lib/ae_easy/core/plugin/parser.rb,<br /> lib/ae_easy/core/plugin/seeder.rb,<br /> lib/ae_easy/core/plugin/executor.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/smart_collection.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb,<br /> lib/ae_easy/core/plugin/config_behavior.rb,<br /> lib/ae_easy/core/plugin/initialize_hook.rb,<br /> lib/ae_easy/core/plugin/parser_behavior.rb,<br /> lib/ae_easy/core/plugin/seeder_behavior.rb,<br /> lib/ae_easy/core/plugin/collection_vault.rb,<br /> lib/ae_easy/core/exception/outdated_error.rb,<br /> lib/ae_easy/core/plugin/executor_behavior.rb,<br /> lib/ae_easy/core/plugin/context_integrator.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on
|
110
|
+
Generated on Tue Feb 26 16:38:45 2019 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.18 (ruby-2.5.3).
|
113
113
|
</div>
|
data/doc/_index.html
CHANGED
@@ -150,6 +150,20 @@
|
|
150
150
|
|
151
151
|
</li>
|
152
152
|
|
153
|
+
<li>
|
154
|
+
<span class='object_link'><a href="AeEasy/Core/Plugin/Executor.html" title="AeEasy::Core::Plugin::Executor (module)">Executor</a></span>
|
155
|
+
|
156
|
+
<small>(AeEasy::Core::Plugin)</small>
|
157
|
+
|
158
|
+
</li>
|
159
|
+
|
160
|
+
<li>
|
161
|
+
<span class='object_link'><a href="AeEasy/Core/Plugin/ExecutorBehavior.html" title="AeEasy::Core::Plugin::ExecutorBehavior (module)">ExecutorBehavior</a></span>
|
162
|
+
|
163
|
+
<small>(AeEasy::Core::Plugin)</small>
|
164
|
+
|
165
|
+
</li>
|
166
|
+
|
153
167
|
</ul>
|
154
168
|
</ul>
|
155
169
|
|
@@ -319,7 +333,7 @@
|
|
319
333
|
</div>
|
320
334
|
|
321
335
|
<div id="footer">
|
322
|
-
Generated on
|
336
|
+
Generated on Tue Feb 26 16:38:45 2019 by
|
323
337
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
324
338
|
0.9.18 (ruby-2.5.3).
|
325
339
|
</div>
|