ovto 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c16fab45131f98235cddc5a78d0128105dea5d60d4b5a2849980af71b21d40bf
4
- data.tar.gz: cec1207210d7f94f3791655c0ed2bed8f7d91d0f579997c913a8e95b2afae438
3
+ metadata.gz: 926f757cb64d82a3e56e1cb8c2b113553526eb3753e09b27f2a4d153d4899026
4
+ data.tar.gz: bdd2852d3534c4a13e1a1033a52f26b39c937aa21b67558052015a0e2538698a
5
5
  SHA512:
6
- metadata.gz: b142cc06e37df28acfee9f94ad9cb1ce46e2a565878f0078afb584f793e7365bb383c39f4aa38d7406b4681daab7499ce433d14984a5ab27f5417d286563757b
7
- data.tar.gz: ef7c8e4d03dfedf31d4052b5c758d33e307f8211b5ef42e648267d1c1c502119dae4b2e0bfa4fc58e83152775e3ff76c6f1811fe3ed628eba4a6a42c7664736b
6
+ metadata.gz: f6024cff86eab0363d2a24eeeb50a90b19d45385c66f7708ec9df741a48c23524639401369b965bd288f3b49d1ddef4412a7dcc96633a8200e79b027bf712072
7
+ data.tar.gz: 32b3cf568b6db978a652ca97b168928613b28d733035b4243069341a0b6c9db7c0c092c81f22f9bc3aae1c6d268fd89dbd98abfc6b8e383fe6ffd388aca94016
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## v0.4.1 (2019-04-19)
4
+
5
+ - fix: ovto command raises `cannot load such file -- rack (LoadError)`
6
+
3
7
  ## v0.4.0 (2019-04-19)
4
8
 
5
9
  New features
@@ -3,6 +3,7 @@ PATH
3
3
  specs:
4
4
  ovto (0.4.0)
5
5
  opal (~> 0.11)
6
+ rack (~> 2.0)
6
7
  thor (~> 0.20)
7
8
 
8
9
  GEM
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Ovto
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -107,7 +107,7 @@
107
107
  <dt id="VERSION-constant" class="">VERSION =
108
108
 
109
109
  </dt>
110
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.3.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
110
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.4.0</span><span class='tstring_end'>&#39;</span></span></pre></dd>
111
111
 
112
112
  </dl>
113
113
 
@@ -664,9 +664,9 @@
664
664
  </div>
665
665
 
666
666
  <div id="footer">
667
- Generated on Mon Dec 24 21:23:44 2018 by
667
+ Generated on Fri Apr 19 12:51:39 2019 by
668
668
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
669
- 0.9.16 (ruby-2.5.3).
669
+ 0.9.19 (ruby-2.5.5).
670
670
  </div>
671
671
 
672
672
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::Actions
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -176,6 +176,28 @@
176
176
 
177
177
 
178
178
 
179
+ <span class="summary_desc"><div class='inline'></div></span>
180
+
181
+ </li>
182
+
183
+
184
+ <li class="public ">
185
+ <span class="summary_signature">
186
+
187
+ <a href="#state-instance_method" title="#state (instance method)">#<strong>state</strong> &#x21d2; Object </a>
188
+
189
+
190
+
191
+ </span>
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
179
201
  <span class="summary_desc"><div class='inline'></div></span>
180
202
 
181
203
  </li>
@@ -286,6 +308,36 @@
286
308
  </td>
287
309
  </tr>
288
310
  </table>
311
+ </div>
312
+
313
+ <div class="method_details ">
314
+ <h3 class="signature " id="state-instance_method">
315
+
316
+ #<strong>state</strong> &#x21d2; <tt>Object</tt>
317
+
318
+
319
+
320
+
321
+
322
+ </h3><table class="source_code">
323
+ <tr>
324
+ <td>
325
+ <pre class="lines">
326
+
327
+
328
+ 10
329
+ 11
330
+ 12</pre>
331
+ </td>
332
+ <td>
333
+ <pre class="code"><span class="info file"># File 'lib/ovto/actions.rb', line 10</span>
334
+
335
+ <span class='kw'>def</span> <span class='id identifier rubyid_state'>state</span>
336
+ <span class='ivar'>@wired_actions</span><span class='period'>.</span><span class='id identifier rubyid__app'>_app</span><span class='period'>.</span><span class='id identifier rubyid_state'>state</span>
337
+ <span class='kw'>end</span></pre>
338
+ </td>
339
+ </tr>
340
+ </table>
289
341
  </div>
290
342
 
291
343
  </div>
@@ -293,9 +345,9 @@
293
345
  </div>
294
346
 
295
347
  <div id="footer">
296
- Generated on Mon Dec 24 21:23:44 2018 by
348
+ Generated on Fri Apr 19 12:51:39 2019 by
297
349
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
- 0.9.16 (ruby-2.5.3).
350
+ 0.9.19 (ruby-2.5.5).
299
351
  </div>
300
352
 
301
353
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::App
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -610,9 +610,9 @@
610
610
  </div>
611
611
 
612
612
  <div id="footer">
613
- Generated on Mon Dec 24 21:23:44 2018 by
613
+ Generated on Fri Apr 19 12:51:39 2019 by
614
614
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
615
- 0.9.16 (ruby-2.5.3).
615
+ 0.9.19 (ruby-2.5.5).
616
616
  </div>
617
617
 
618
618
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::Component
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -198,6 +198,28 @@
198
198
 
199
199
 
200
200
 
201
+ <span class="summary_desc"><div class='inline'></div></span>
202
+
203
+ </li>
204
+
205
+
206
+ <li class="public ">
207
+ <span class="summary_signature">
208
+
209
+ <a href="#state-instance_method" title="#state (instance method)">#<strong>state</strong> &#x21d2; Object </a>
210
+
211
+
212
+
213
+ </span>
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
201
223
  <span class="summary_desc"><div class='inline'></div></span>
202
224
 
203
225
  </li>
@@ -235,14 +257,14 @@
235
257
  <pre class="lines">
236
258
 
237
259
 
238
- 14
239
- 15
240
260
  16
241
261
  17
242
- 18</pre>
262
+ 18
263
+ 19
264
+ 20</pre>
243
265
  </td>
244
266
  <td>
245
- <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 14</span>
267
+ <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 16</span>
246
268
 
247
269
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_wired_actions'>wired_actions</span><span class='rparen'>)</span>
248
270
  <span class='ivar'>@wired_actions</span> <span class='op'>=</span> <span class='id identifier rubyid_wired_actions'>wired_actions</span>
@@ -276,16 +298,16 @@
276
298
  <pre class="lines">
277
299
 
278
300
 
279
- 6
280
- 7
281
301
  8
282
302
  9
283
303
  10
284
304
  11
285
- 12</pre>
305
+ 12
306
+ 13
307
+ 14</pre>
286
308
  </td>
287
309
  <td>
288
- <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 6</span>
310
+ <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 8</span>
289
311
 
290
312
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_hash_to_js_obj'>hash_to_js_obj</span><span class='lparen'>(</span><span class='id identifier rubyid_hash'>hash</span><span class='rparen'>)</span>
291
313
  <span class='id identifier rubyid_ret'>ret</span> <span class='op'>=</span> <span class='backtick'>`</span><span class='tstring_content'>{}</span><span class='tstring_end'>`</span></span>
@@ -320,12 +342,12 @@
320
342
  <pre class="lines">
321
343
 
322
344
 
323
- 20
324
- 21
325
- 22</pre>
345
+ 22
346
+ 23
347
+ 24</pre>
326
348
  </td>
327
349
  <td>
328
- <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 20</span>
350
+ <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 22</span>
329
351
 
330
352
  <span class='kw'>def</span> <span class='id identifier rubyid_render'>render</span>
331
353
  <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_end'>&#39;</span></span>
@@ -333,6 +355,36 @@
333
355
  </td>
334
356
  </tr>
335
357
  </table>
358
+ </div>
359
+
360
+ <div class="method_details ">
361
+ <h3 class="signature " id="state-instance_method">
362
+
363
+ #<strong>state</strong> &#x21d2; <tt>Object</tt>
364
+
365
+
366
+
367
+
368
+
369
+ </h3><table class="source_code">
370
+ <tr>
371
+ <td>
372
+ <pre class="lines">
373
+
374
+
375
+ 26
376
+ 27
377
+ 28</pre>
378
+ </td>
379
+ <td>
380
+ <pre class="code"><span class="info file"># File 'lib/ovto/component.rb', line 26</span>
381
+
382
+ <span class='kw'>def</span> <span class='id identifier rubyid_state'>state</span>
383
+ <span class='ivar'>@wired_actions</span><span class='period'>.</span><span class='id identifier rubyid__app'>_app</span><span class='period'>.</span><span class='id identifier rubyid_state'>state</span>
384
+ <span class='kw'>end</span></pre>
385
+ </td>
386
+ </tr>
387
+ </table>
336
388
  </div>
337
389
 
338
390
  </div>
@@ -340,9 +392,9 @@
340
392
  </div>
341
393
 
342
394
  <div id="footer">
343
- Generated on Mon Dec 24 21:23:44 2018 by
395
+ Generated on Fri Apr 19 12:51:39 2019 by
344
396
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
345
- 0.9.16 (ruby-2.5.3).
397
+ 0.9.19 (ruby-2.5.5).
346
398
  </div>
347
399
 
348
400
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: Ovto::Component::MoreThanOneNode
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Dec 24 21:23:44 2018 by
128
+ Generated on Fri Apr 19 12:51:39 2019 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.16 (ruby-2.5.3).
130
+ 0.9.19 (ruby-2.5.5).
131
131
  </div>
132
132
 
133
133
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::Runtime
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -287,12 +287,20 @@
287
287
 
288
288
  14
289
289
  15
290
- 16</pre>
290
+ 16
291
+ 17
292
+ 18
293
+ 19
294
+ 20</pre>
291
295
  </td>
292
296
  <td>
293
297
  <pre class="code"><span class="info file"># File 'lib/ovto/runtime.rb', line 14</span>
294
298
 
295
299
  <span class='kw'>def</span> <span class='id identifier rubyid_scheduleRender'>scheduleRender</span>
300
+ <span class='comment'># An action is invoked before Ovto::Runtime#run.
301
+ </span> <span class='comment'># Do nothing here because `scheduleRender` will eventually be called by #run
302
+ </span> <span class='kw'>return</span> <span class='kw'>unless</span> <span class='ivar'>@scheduleRender</span>
303
+
296
304
  <span class='ivar'>@scheduleRender</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span>
297
305
  <span class='kw'>end</span></pre>
298
306
  </td>
@@ -305,9 +313,9 @@
305
313
  </div>
306
314
 
307
315
  <div id="footer">
308
- Generated on Mon Dec 24 21:23:44 2018 by
316
+ Generated on Fri Apr 19 12:51:39 2019 by
309
317
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
310
- 0.9.16 (ruby-2.5.3).
318
+ 0.9.19 (ruby-2.5.5).
311
319
  </div>
312
320
 
313
321
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::State
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -842,9 +842,9 @@
842
842
  </div>
843
843
 
844
844
  <div id="footer">
845
- Generated on Mon Dec 24 21:23:44 2018 by
845
+ Generated on Fri Apr 19 12:51:39 2019 by
846
846
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
847
- 0.9.16 (ruby-2.5.3).
847
+ 0.9.19 (ruby-2.5.5).
848
848
  </div>
849
849
 
850
850
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: Ovto::State::MissingValue
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Dec 24 21:23:44 2018 by
128
+ Generated on Fri Apr 19 12:51:39 2019 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.16 (ruby-2.5.3).
130
+ 0.9.19 (ruby-2.5.5).
131
131
  </div>
132
132
 
133
133
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: Ovto::State::UnknownKey
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -125,9 +125,9 @@
125
125
  </div>
126
126
 
127
127
  <div id="footer">
128
- Generated on Mon Dec 24 21:23:44 2018 by
128
+ Generated on Fri Apr 19 12:51:39 2019 by
129
129
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
130
- 0.9.16 (ruby-2.5.3).
130
+ 0.9.19 (ruby-2.5.5).
131
131
  </div>
132
132
 
133
133
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Ovto::WiredActions
8
8
 
9
- &mdash; Documentation by YARD 0.9.16
9
+ &mdash; Documentation by YARD 0.9.19
10
10
 
11
11
  </title>
12
12
 
@@ -117,6 +117,30 @@
117
117
  <li class="public ">
118
118
  <span class="summary_signature">
119
119
 
120
+ <a href="#_app-instance_method" title="#_app (instance method)">#<strong>_app</strong> &#x21d2; Object </a>
121
+
122
+
123
+
124
+ </span>
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <span class="summary_desc"><div class='inline'>
135
+ <p>internal.</p>
136
+ </div></span>
137
+
138
+ </li>
139
+
140
+
141
+ <li class="public ">
142
+ <span class="summary_signature">
143
+
120
144
  <a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong>(actions, app, runtime) &#x21d2; WiredActions </a>
121
145
 
122
146
 
@@ -216,12 +240,12 @@
216
240
  <pre class="lines">
217
241
 
218
242
 
219
- 5
220
243
  6
221
- 7</pre>
244
+ 7
245
+ 8</pre>
222
246
  </td>
223
247
  <td>
224
- <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 5</span>
248
+ <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 6</span>
225
249
 
226
250
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_actions'>actions</span><span class='comma'>,</span> <span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='id identifier rubyid_runtime'>runtime</span><span class='rparen'>)</span>
227
251
  <span class='ivar'>@actions</span><span class='comma'>,</span> <span class='ivar'>@app</span><span class='comma'>,</span> <span class='ivar'>@runtime</span> <span class='op'>=</span> <span class='id identifier rubyid_actions'>actions</span><span class='comma'>,</span> <span class='id identifier rubyid_app'>app</span><span class='comma'>,</span> <span class='id identifier rubyid_runtime'>runtime</span>
@@ -254,15 +278,19 @@
254
278
  <pre class="lines">
255
279
 
256
280
 
257
- 9
258
281
  10
259
- 11</pre>
282
+ 11
283
+ 12
284
+ 13
285
+ 14</pre>
260
286
  </td>
261
287
  <td>
262
- <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 9</span>
288
+ <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 10</span>
263
289
 
264
290
  <span class='kw'>def</span> <span class='id identifier rubyid_method_missing'>method_missing</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args_hash'>args_hash</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
265
- <span class='id identifier rubyid_invoke_action'>invoke_action</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args_hash'>args_hash</span><span class='rparen'>)</span>
291
+ <span class='const'><span class='object_link'><a href="../Ovto.html" title="Ovto (module)">Ovto</a></span></span><span class='period'>.</span><span class='id identifier rubyid_log_error'><span class='object_link'><a href="../Ovto.html#log_error-class_method" title="Ovto.log_error (method)">log_error</a></span></span> <span class='lbrace'>{</span>
292
+ <span class='id identifier rubyid_invoke_action'>invoke_action</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_args_hash'>args_hash</span><span class='rparen'>)</span>
293
+ <span class='rbrace'>}</span>
266
294
  <span class='kw'>end</span></pre>
267
295
  </td>
268
296
  </tr>
@@ -277,7 +305,48 @@
277
305
 
278
306
 
279
307
  <div class="method_details first">
280
- <h3 class="signature first" id="respond_to?-instance_method">
308
+ <h3 class="signature first" id="_app-instance_method">
309
+
310
+ #<strong>_app</strong> &#x21d2; <tt>Object</tt>
311
+
312
+
313
+
314
+
315
+
316
+ </h3><div class="docstring">
317
+ <div class="discussion">
318
+
319
+ <p>internal</p>
320
+
321
+
322
+ </div>
323
+ </div>
324
+ <div class="tags">
325
+
326
+
327
+ </div><table class="source_code">
328
+ <tr>
329
+ <td>
330
+ <pre class="lines">
331
+
332
+
333
+ 21
334
+ 22
335
+ 23</pre>
336
+ </td>
337
+ <td>
338
+ <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 21</span>
339
+
340
+ <span class='kw'>def</span> <span class='id identifier rubyid__app'>_app</span>
341
+ <span class='ivar'>@app</span>
342
+ <span class='kw'>end</span></pre>
343
+ </td>
344
+ </tr>
345
+ </table>
346
+ </div>
347
+
348
+ <div class="method_details ">
349
+ <h3 class="signature " id="respond_to?-instance_method">
281
350
 
282
351
  #<strong>respond_to?</strong>(name) &#x21d2; <tt>Boolean</tt>
283
352
 
@@ -313,12 +382,12 @@
313
382
  <pre class="lines">
314
383
 
315
384
 
316
- 13
317
- 14
318
- 15</pre>
385
+ 16
386
+ 17
387
+ 18</pre>
319
388
  </td>
320
389
  <td>
321
- <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 13</span>
390
+ <pre class="code"><span class="info file"># File 'lib/ovto/wired_actions.rb', line 16</span>
322
391
 
323
392
  <span class='kw'>def</span> <span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
324
393
  <span class='ivar'>@actions</span><span class='period'>.</span><span class='id identifier rubyid_respond_to?'>respond_to?</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span>
@@ -333,9 +402,9 @@
333
402
  </div>
334
403
 
335
404
  <div id="footer">
336
- Generated on Mon Dec 24 21:23:44 2018 by
405
+ Generated on Fri Apr 19 12:51:39 2019 by
337
406
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
338
- 0.9.16 (ruby-2.5.3).
407
+ 0.9.19 (ruby-2.5.5).
339
408
  </div>
340
409
 
341
410
  </div>