ae_easy-core 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/ae_easy-core.gemspec +1 -1
  4. data/doc/AeEasy.html +116 -116
  5. data/doc/AeEasy/Core.html +1217 -1217
  6. data/doc/AeEasy/Core/Config.html +284 -284
  7. data/doc/AeEasy/Core/Exception.html +116 -116
  8. data/doc/AeEasy/Core/Exception/OutdatedError.html +132 -132
  9. data/doc/AeEasy/Core/Helper.html +116 -116
  10. data/doc/AeEasy/Core/Helper/Cookie.html +797 -797
  11. data/doc/AeEasy/Core/Mock.html +231 -231
  12. data/doc/AeEasy/Core/Mock/FakeDb.html +3133 -2729
  13. data/doc/AeEasy/Core/Mock/FakeExecutor.html +2852 -2259
  14. data/doc/AeEasy/Core/Mock/FakeFinisher.html +160 -0
  15. data/doc/AeEasy/Core/Mock/FakeParser.html +157 -157
  16. data/doc/AeEasy/Core/Mock/FakeSeeder.html +157 -157
  17. data/doc/AeEasy/Core/Plugin.html +116 -116
  18. data/doc/AeEasy/Core/Plugin/CollectionVault.html +262 -262
  19. data/doc/AeEasy/Core/Plugin/ConfigBehavior.html +471 -471
  20. data/doc/AeEasy/Core/Plugin/ContextIntegrator.html +365 -365
  21. data/doc/AeEasy/Core/Plugin/Executor.html +243 -243
  22. data/doc/AeEasy/Core/Plugin/ExecutorBehavior.html +299 -299
  23. data/doc/AeEasy/Core/Plugin/Finisher.html +265 -0
  24. data/doc/AeEasy/Core/Plugin/FinisherBehavior.html +142 -0
  25. data/doc/AeEasy/Core/Plugin/InitializeHook.html +198 -198
  26. data/doc/AeEasy/Core/Plugin/Parser.html +254 -254
  27. data/doc/AeEasy/Core/Plugin/ParserBehavior.html +216 -216
  28. data/doc/AeEasy/Core/Plugin/Seeder.html +594 -594
  29. data/doc/AeEasy/Core/Plugin/SeederBehavior.html +141 -141
  30. data/doc/AeEasy/Core/SmartCollection.html +804 -804
  31. data/doc/_index.html +363 -342
  32. data/doc/class_list.html +51 -51
  33. data/doc/css/full_list.css +58 -58
  34. data/doc/css/style.css +496 -496
  35. data/doc/file.README.html +70 -70
  36. data/doc/file_list.html +56 -56
  37. data/doc/frames.html +17 -17
  38. data/doc/index.html +70 -70
  39. data/doc/js/app.js +303 -292
  40. data/doc/js/full_list.js +216 -216
  41. data/doc/js/jquery.js +3 -3
  42. data/doc/method_list.html +939 -851
  43. data/doc/top-level-namespace.html +109 -109
  44. data/lib/ae_easy/core/mock.rb +1 -0
  45. data/lib/ae_easy/core/mock/fake_db.rb +67 -1
  46. data/lib/ae_easy/core/mock/fake_executor.rb +61 -0
  47. data/lib/ae_easy/core/mock/fake_finisher.rb +28 -0
  48. data/lib/ae_easy/core/mock/fake_parser.rb +3 -1
  49. data/lib/ae_easy/core/plugin.rb +2 -0
  50. data/lib/ae_easy/core/plugin/finisher.rb +19 -0
  51. data/lib/ae_easy/core/plugin/finisher_behavior.rb +9 -0
  52. data/lib/ae_easy/core/version.rb +1 -1
  53. metadata +10 -4
@@ -1,173 +1,173 @@
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
- Module: AeEasy::Core::Mock
8
-
9
- &mdash; Documentation by YARD 0.9.18
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 = "AeEasy::Core::Mock";
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 (M)</a> &raquo;
40
- <span class='title'><span class='object_link'><a href="../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="AeEasy::Core (module)">Core</a></span></span>
41
- &raquo;
42
- <span class="title">Mock</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>Module: AeEasy::Core::Mock
63
-
64
-
65
-
66
- </h1>
67
- <div class="box_info">
68
-
69
-
70
-
71
-
72
-
73
-
74
-
75
-
76
-
77
-
78
-
79
- <dl>
80
- <dt>Defined in:</dt>
81
- <dd>lib/ae_easy/core/mock.rb<span class="defines">,<br />
82
- lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb</span>
83
- </dd>
84
- </dl>
85
-
86
- </div>
87
-
88
- <h2>Defined Under Namespace</h2>
89
- <p class="children">
90
-
91
-
92
- <strong class="modules">Modules:</strong> <span class='object_link'><a href="Mock/FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span>
93
-
94
-
95
-
96
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Mock/FakeDb.html" title="AeEasy::Core::Mock::FakeDb (class)">FakeDb</a></span>, <span class='object_link'><a href="Mock/FakeParser.html" title="AeEasy::Core::Mock::FakeParser (class)">FakeParser</a></span>, <span class='object_link'><a href="Mock/FakeSeeder.html" title="AeEasy::Core::Mock::FakeSeeder (class)">FakeSeeder</a></span>
97
-
98
-
99
- </p>
100
-
101
-
102
-
103
-
104
-
105
-
106
-
107
-
108
- <h2>
109
- Class Method Summary
110
- <small><a href="#" class="summary_toggle">collapse</a></small>
111
- </h2>
112
-
113
- <ul class="summary">
114
-
115
- <li class="public ">
116
- <span class="summary_signature">
117
-
118
- <a href="#context_vars-class_method" title="context_vars (class method)">.<strong>context_vars</strong>(exposed_methods) &#x21d2; Array </a>
119
-
120
-
121
-
122
- </span>
123
-
124
-
125
-
126
-
127
-
128
-
129
-
130
-
131
-
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
+ Module: AeEasy::Core::Mock
8
+
9
+ &mdash; 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 = "AeEasy::Core::Mock";
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 (M)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Core.html" title="AeEasy::Core (module)">Core</a></span></span>
41
+ &raquo;
42
+ <span class="title">Mock</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>Module: AeEasy::Core::Mock
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+ <dl>
80
+ <dt>Defined in:</dt>
81
+ <dd>lib/ae_easy/core/mock.rb<span class="defines">,<br />
82
+ lib/ae_easy/core/mock/fake_db.rb,<br /> lib/ae_easy/core/mock/fake_parser.rb,<br /> lib/ae_easy/core/mock/fake_seeder.rb,<br /> lib/ae_easy/core/mock/fake_executor.rb,<br /> lib/ae_easy/core/mock/fake_finisher.rb</span>
83
+ </dd>
84
+ </dl>
85
+
86
+ </div>
87
+
88
+ <h2>Defined Under Namespace</h2>
89
+ <p class="children">
90
+
91
+
92
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="Mock/FakeExecutor.html" title="AeEasy::Core::Mock::FakeExecutor (module)">FakeExecutor</a></span>
93
+
94
+
95
+
96
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Mock/FakeDb.html" title="AeEasy::Core::Mock::FakeDb (class)">FakeDb</a></span>, <span class='object_link'><a href="Mock/FakeFinisher.html" title="AeEasy::Core::Mock::FakeFinisher (class)">FakeFinisher</a></span>, <span class='object_link'><a href="Mock/FakeParser.html" title="AeEasy::Core::Mock::FakeParser (class)">FakeParser</a></span>, <span class='object_link'><a href="Mock/FakeSeeder.html" title="AeEasy::Core::Mock::FakeSeeder (class)">FakeSeeder</a></span>
97
+
98
+
99
+ </p>
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+ <h2>
109
+ Class Method Summary
110
+ <small><a href="#" class="summary_toggle">collapse</a></small>
111
+ </h2>
112
+
113
+ <ul class="summary">
114
+
115
+ <li class="public ">
116
+ <span class="summary_signature">
117
+
118
+ <a href="#context_vars-class_method" title="context_vars (class method)">.<strong>context_vars</strong>(exposed_methods) &#x21d2; Array </a>
119
+
120
+
121
+
122
+ </span>
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
132
  <span class="summary_desc"><div class='inline'>
133
133
  <p>Generate a context and message queue from a list of exposed methods.</p>
134
- </div></span>
135
-
136
- </li>
137
-
138
-
139
- </ul>
140
-
141
-
142
-
143
-
144
- <div id="class_method_details" class="method_details_list">
145
- <h2>Class Method Details</h2>
146
-
147
-
148
- <div class="method_details first">
149
- <h3 class="signature first" id="context_vars-class_method">
150
-
151
- .<strong>context_vars</strong>(exposed_methods) &#x21d2; <tt>Array</tt>
152
-
153
-
154
-
155
-
156
-
157
- </h3><div class="docstring">
158
- <div class="discussion">
134
+ </div></span>
135
+
136
+ </li>
137
+
138
+
139
+ </ul>
140
+
141
+
142
+
143
+
144
+ <div id="class_method_details" class="method_details_list">
145
+ <h2>Class Method Details</h2>
146
+
147
+
148
+ <div class="method_details first">
149
+ <h3 class="signature first" id="context_vars-class_method">
150
+
151
+ .<strong>context_vars</strong>(exposed_methods) &#x21d2; <tt>Array</tt>
152
+
153
+
154
+
155
+
156
+
157
+ </h3><div class="docstring">
158
+ <div class="discussion">
159
159
 
160
160
  <p>Generate a context and message queue from a list of exposed methods.</p>
161
-
162
-
163
- </div>
164
- </div>
165
- <div class="tags">
166
-
167
- <div class="examples">
168
- <p class="tag_title">Examples:</p>
169
-
170
-
161
+
162
+
163
+ </div>
164
+ </div>
165
+ <div class="tags">
166
+
167
+ <div class="examples">
168
+ <p class="tag_title">Examples:</p>
169
+
170
+
171
171
  <pre class="example code"><code><span class='id identifier rubyid_exposed_methods'>exposed_methods</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='symbol'>:boo</span><span class='comma'>,</span> <span class='symbol'>:bar</span><span class='rbracket'>]</span>
172
172
  <span class='id identifier rubyid_context'>context</span><span class='comma'>,</span> <span class='id identifier rubyid_message_queue'>message_queue</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../AeEasy.html" title="AeEasy (module)">AeEasy</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Core.html" title="AeEasy::Core (module)">Core</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="" title="AeEasy::Core::Mock (module)">Mock</a></span></span><span class='period'>.</span><span class='id identifier rubyid_context_vars'>context_vars</span> <span class='id identifier rubyid_exposed_methods'>exposed_methods</span>
173
173
  <span class='id identifier rubyid_context'>context</span><span class='period'>.</span><span class='id identifier rubyid_boo'>boo</span> <span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span>
@@ -178,41 +178,41 @@
178
178
  </span><span class='comment'># [:boo, [1, 2]],
179
179
  </span><span class='comment'># [:bar, [&#39;A&#39;, &#39;B&#39;]],
180
180
  </span><span class='comment'># [:bar, [&#39;111&#39;, &#39;222&#39;]]
181
- </span><span class='comment'># ]</span></code></pre>
182
-
183
- </div>
184
- <p class="tag_title">Parameters:</p>
185
- <ul class="param">
186
-
187
- <li>
188
-
189
- <span class='name'>exposed_methods</span>
190
-
191
-
192
- <span class='type'>(<tt>Array</tt>)</span>
193
-
194
-
195
-
196
- &mdash;
181
+ </span><span class='comment'># ]</span></code></pre>
182
+
183
+ </div>
184
+ <p class="tag_title">Parameters:</p>
185
+ <ul class="param">
186
+
187
+ <li>
188
+
189
+ <span class='name'>exposed_methods</span>
190
+
191
+
192
+ <span class='type'>(<tt>Array</tt>)</span>
193
+
194
+
195
+
196
+ &mdash;
197
197
  <div class='inline'>
198
198
  <p>List of exposed methods.</p>
199
- </div>
200
-
201
- </li>
202
-
203
- </ul>
204
-
205
- <p class="tag_title">Returns:</p>
206
- <ul class="return">
207
-
208
- <li>
209
-
210
-
211
- <span class='type'>(<tt>Array</tt>)</span>
212
-
213
-
214
-
215
- &mdash;
199
+ </div>
200
+
201
+ </li>
202
+
203
+ </ul>
204
+
205
+ <p class="tag_title">Returns:</p>
206
+ <ul class="return">
207
+
208
+ <li>
209
+
210
+
211
+ <span class='type'>(<tt>Array</tt>)</span>
212
+
213
+
214
+
215
+ &mdash;
216
216
  <div class='inline'>
217
217
  <p>`[context, message_queue]` being:</p>
218
218
  <ul><li>
@@ -220,19 +220,18 @@
220
220
  </li><li>
221
221
  <p>`[Array] message_queue`: Array to store messages.</p>
222
222
  </li></ul>
223
- </div>
224
-
225
- </li>
226
-
227
- </ul>
228
-
229
- </div><table class="source_code">
230
- <tr>
231
- <td>
223
+ </div>
224
+
225
+ </li>
226
+
227
+ </ul>
228
+
229
+ </div><table class="source_code">
230
+ <tr>
231
+ <td>
232
232
  <pre class="lines">
233
233
 
234
234
 
235
- 29
236
235
  30
237
236
  31
238
237
  32
@@ -244,10 +243,11 @@
244
243
  38
245
244
  39
246
245
  40
247
- 41</pre>
248
- </td>
249
- <td>
250
- <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock.rb', line 29</span>
246
+ 41
247
+ 42</pre>
248
+ </td>
249
+ <td>
250
+ <pre class="code"><span class="info file"># File 'lib/ae_easy/core/mock.rb', line 30</span>
251
251
 
252
252
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_context_vars'>context_vars</span> <span class='id identifier rubyid_exposed_methods'>exposed_methods</span>
253
253
  <span class='id identifier rubyid_context'>context</span> <span class='op'>=</span> <span class='const'>Object</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
@@ -261,22 +261,22 @@
261
261
  <span class='kw'>end</span>
262
262
  <span class='kw'>end</span>
263
263
  <span class='lbracket'>[</span><span class='id identifier rubyid_context'>context</span><span class='comma'>,</span> <span class='id identifier rubyid_message_queue'>message_queue</span><span class='rbracket'>]</span>
264
- <span class='kw'>end</span></pre>
265
- </td>
266
- </tr>
267
- </table>
268
- </div>
269
-
270
- </div>
271
-
272
- </div>
273
-
274
- <div id="footer">
275
- Generated on Mon Mar 11 20:05:16 2019 by
276
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
277
- 0.9.18 (ruby-2.5.3).
278
- </div>
279
-
280
- </div>
281
- </body>
264
+ <span class='kw'>end</span></pre>
265
+ </td>
266
+ </tr>
267
+ </table>
268
+ </div>
269
+
270
+ </div>
271
+
272
+ </div>
273
+
274
+ <div id="footer">
275
+ Generated on Fri Sep 27 02:01:30 2019 by
276
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
277
+ 0.9.20 (ruby-2.5.3).
278
+ </div>
279
+
280
+ </div>
281
+ </body>
282
282
  </html>