ovto 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitmodules +3 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +2 -3
- data/Gemfile.lock +21 -25
- data/book/api/middleware.md +8 -2
- data/docs/api/Array.html +190 -0
- data/docs/api/Hash.html +196 -0
- data/docs/api/Ovto/Actions.html +1 -1
- data/docs/api/Ovto/App.html +1 -1
- data/docs/api/Ovto/Component/MoreThanOneNode.html +1 -1
- data/docs/api/Ovto/Component.html +1 -1
- data/docs/api/Ovto/Middleware/Actions.html +428 -0
- data/docs/api/Ovto/Middleware/Base.html +606 -0
- data/docs/api/Ovto/Middleware/Component.html +355 -0
- data/docs/api/Ovto/Middleware.html +288 -0
- data/docs/api/Ovto/PureComponent/StateIsNotAvailable.html +1 -1
- data/docs/api/Ovto/PureComponent.html +1 -1
- data/docs/api/Ovto/Runtime.html +1 -1
- data/docs/api/Ovto/State/MissingValue.html +1 -1
- data/docs/api/Ovto/State/UnknownStateKey.html +135 -0
- data/docs/api/Ovto/State.html +2 -2
- data/docs/api/Ovto/WiredActionSet.html +636 -0
- data/docs/api/Ovto/WiredActions.html +1 -1
- data/docs/api/Ovto.html +3 -3
- data/docs/api/_index.html +27 -4
- data/docs/api/actions.html +16 -3
- data/docs/api/app.html +15 -2
- data/docs/api/class_list.html +1 -1
- data/docs/api/component.html +15 -2
- data/docs/api/fetch.html +17 -4
- data/docs/api/file.README.html +1 -1
- data/docs/api/index.html +1 -1
- data/docs/api/method_list.html +85 -53
- data/docs/api/middleware.html +498 -0
- data/docs/api/pure_component.html +17 -4
- data/docs/api/state.html +15 -2
- data/docs/api/top-level-namespace.html +4 -2
- data/docs/guides/debugging.html +15 -2
- data/docs/guides/development.html +15 -2
- data/docs/guides/install.html +15 -2
- data/docs/guides/tutorial.html +15 -2
- data/docs/index.html +15 -2
- data/docs/search_index.json +1 -1
- data/examples/sinatra/Gemfile +2 -0
- data/examples/sinatra/Gemfile.lock +32 -30
- data/examples/sinatra/app.rb +1 -4
- data/examples/sinatra/config.ru +6 -6
- data/examples/static/Gemfile.lock +9 -9
- data/lib/ovto/component.rb +3 -0
- data/lib/ovto/version.rb +1 -1
- data/lib/ovto.rb +2 -1
- metadata +15 -7
data/docs/api/method_list.html
CHANGED
@@ -118,16 +118,16 @@
|
|
118
118
|
|
119
119
|
<li class="even ">
|
120
120
|
<div class="item">
|
121
|
-
<span class='object_link'><a href="Ovto/
|
122
|
-
<small>Ovto::
|
121
|
+
<span class='object_link'><a href="Ovto/Middleware/Base.html#actions-instance_method" title="Ovto::Middleware::Base#actions (method)">#actions</a></span>
|
122
|
+
<small>Ovto::Middleware::Base</small>
|
123
123
|
</div>
|
124
124
|
</li>
|
125
125
|
|
126
126
|
|
127
127
|
<li class="odd ">
|
128
128
|
<div class="item">
|
129
|
-
<span class='object_link'><a href="Ovto/
|
130
|
-
<small>Ovto::
|
129
|
+
<span class='object_link'><a href="Ovto/App.html#actions-instance_method" title="Ovto::App#actions (method)">#actions</a></span>
|
130
|
+
<small>Ovto::App</small>
|
131
131
|
</div>
|
132
132
|
</li>
|
133
133
|
|
@@ -238,16 +238,16 @@
|
|
238
238
|
|
239
239
|
<li class="odd ">
|
240
240
|
<div class="item">
|
241
|
-
<span class='object_link'><a href="Ovto/
|
242
|
-
<small>Ovto::
|
241
|
+
<span class='object_link'><a href="Ovto/Component.html#initialize-instance_method" title="Ovto::Component#initialize (method)">#initialize</a></span>
|
242
|
+
<small>Ovto::Component</small>
|
243
243
|
</div>
|
244
244
|
</li>
|
245
245
|
|
246
246
|
|
247
247
|
<li class="even ">
|
248
248
|
<div class="item">
|
249
|
-
<span class='object_link'><a href="Ovto/
|
250
|
-
<small>Ovto::
|
249
|
+
<span class='object_link'><a href="Ovto/WiredActionSet.html#initialize-instance_method" title="Ovto::WiredActionSet#initialize (method)">#initialize</a></span>
|
250
|
+
<small>Ovto::WiredActionSet</small>
|
251
251
|
</div>
|
252
252
|
</li>
|
253
253
|
|
@@ -262,32 +262,32 @@
|
|
262
262
|
|
263
263
|
<li class="even ">
|
264
264
|
<div class="item">
|
265
|
-
<span class='object_link'><a href="Ovto/
|
266
|
-
<small>Ovto::
|
265
|
+
<span class='object_link'><a href="Ovto/App.html#initialize-instance_method" title="Ovto::App#initialize (method)">#initialize</a></span>
|
266
|
+
<small>Ovto::App</small>
|
267
267
|
</div>
|
268
268
|
</li>
|
269
269
|
|
270
270
|
|
271
271
|
<li class="odd ">
|
272
272
|
<div class="item">
|
273
|
-
<span class='object_link'><a href="Ovto/
|
274
|
-
<small>Ovto::
|
273
|
+
<span class='object_link'><a href="Ovto/PureComponent.html#initialize-instance_method" title="Ovto::PureComponent#initialize (method)">#initialize</a></span>
|
274
|
+
<small>Ovto::PureComponent</small>
|
275
275
|
</div>
|
276
276
|
</li>
|
277
277
|
|
278
278
|
|
279
279
|
<li class="even ">
|
280
280
|
<div class="item">
|
281
|
-
<span class='object_link'><a href="Ovto/
|
282
|
-
<small>Ovto::
|
281
|
+
<span class='object_link'><a href="Ovto/WiredActions.html#initialize-instance_method" title="Ovto::WiredActions#initialize (method)">#initialize</a></span>
|
282
|
+
<small>Ovto::WiredActions</small>
|
283
283
|
</div>
|
284
284
|
</li>
|
285
285
|
|
286
286
|
|
287
287
|
<li class="odd ">
|
288
288
|
<div class="item">
|
289
|
-
<span class='object_link'><a href="Ovto/
|
290
|
-
<small>Ovto::
|
289
|
+
<span class='object_link'><a href="Ovto/Middleware/Actions.html#initialize-instance_method" title="Ovto::Middleware::Actions#initialize (method)">#initialize</a></span>
|
290
|
+
<small>Ovto::Middleware::Actions</small>
|
291
291
|
</div>
|
292
292
|
</li>
|
293
293
|
|
@@ -302,24 +302,24 @@
|
|
302
302
|
|
303
303
|
<li class="odd ">
|
304
304
|
<div class="item">
|
305
|
-
<span class='object_link'><a href="Ovto/
|
306
|
-
<small>Ovto::
|
305
|
+
<span class='object_link'><a href="Ovto/Runtime.html#initialize-instance_method" title="Ovto::Runtime#initialize (method)">#initialize</a></span>
|
306
|
+
<small>Ovto::Runtime</small>
|
307
307
|
</div>
|
308
308
|
</li>
|
309
309
|
|
310
310
|
|
311
311
|
<li class="even ">
|
312
312
|
<div class="item">
|
313
|
-
<span class='object_link'><a href="Ovto
|
314
|
-
<small>Ovto
|
313
|
+
<span class='object_link'><a href="Ovto.html#inspect-class_method" title="Ovto.inspect (method)">inspect</a></span>
|
314
|
+
<small>Ovto</small>
|
315
315
|
</div>
|
316
316
|
</li>
|
317
317
|
|
318
318
|
|
319
319
|
<li class="odd ">
|
320
320
|
<div class="item">
|
321
|
-
<span class='object_link'><a href="Ovto.html#inspect-
|
322
|
-
<small>Ovto</small>
|
321
|
+
<span class='object_link'><a href="Ovto/State.html#inspect-instance_method" title="Ovto::State#inspect (method)">#inspect</a></span>
|
322
|
+
<small>Ovto::State</small>
|
323
323
|
</div>
|
324
324
|
</li>
|
325
325
|
|
@@ -374,8 +374,8 @@
|
|
374
374
|
|
375
375
|
<li class="even ">
|
376
376
|
<div class="item">
|
377
|
-
<span class='object_link'><a href="Ovto/Middleware/
|
378
|
-
<small>Ovto::Middleware::
|
377
|
+
<span class='object_link'><a href="Ovto/Middleware/Actions.html#middleware_name-instance_method" title="Ovto::Middleware::Actions#middleware_name (method)">#middleware_name</a></span>
|
378
|
+
<small>Ovto::Middleware::Actions</small>
|
379
379
|
</div>
|
380
380
|
</li>
|
381
381
|
|
@@ -390,24 +390,24 @@
|
|
390
390
|
|
391
391
|
<li class="even ">
|
392
392
|
<div class="item">
|
393
|
-
<span class='object_link'><a href="Ovto/
|
394
|
-
<small>Ovto::
|
393
|
+
<span class='object_link'><a href="Ovto/Component.html#middleware_name-class_method" title="Ovto::Component.middleware_name (method)">middleware_name</a></span>
|
394
|
+
<small>Ovto::Component</small>
|
395
395
|
</div>
|
396
396
|
</li>
|
397
397
|
|
398
398
|
|
399
399
|
<li class="odd ">
|
400
400
|
<div class="item">
|
401
|
-
<span class='object_link'><a href="Ovto/Component.html#middleware_name-
|
402
|
-
<small>Ovto::Component</small>
|
401
|
+
<span class='object_link'><a href="Ovto/Middleware/Component.html#middleware_name-instance_method" title="Ovto::Middleware::Component#middleware_name (method)">#middleware_name</a></span>
|
402
|
+
<small>Ovto::Middleware::Component</small>
|
403
403
|
</div>
|
404
404
|
</li>
|
405
405
|
|
406
406
|
|
407
407
|
<li class="even ">
|
408
408
|
<div class="item">
|
409
|
-
<span class='object_link'><a href="Ovto/Middleware/
|
410
|
-
<small>Ovto::Middleware::
|
409
|
+
<span class='object_link'><a href="Ovto/Middleware/Component.html#middleware_name-class_method" title="Ovto::Middleware::Component.middleware_name (method)">middleware_name</a></span>
|
410
|
+
<small>Ovto::Middleware::Component</small>
|
411
411
|
</div>
|
412
412
|
</li>
|
413
413
|
|
@@ -422,16 +422,16 @@
|
|
422
422
|
|
423
423
|
<li class="even ">
|
424
424
|
<div class="item">
|
425
|
-
<span class='object_link'><a href="Ovto/Actions.html#middleware_path-instance_method" title="Ovto::Actions#middleware_path (method)">#middleware_path</a></span>
|
426
|
-
<small>Ovto::Actions</small>
|
425
|
+
<span class='object_link'><a href="Ovto/Middleware/Actions.html#middleware_path-instance_method" title="Ovto::Middleware::Actions#middleware_path (method)">#middleware_path</a></span>
|
426
|
+
<small>Ovto::Middleware::Actions</small>
|
427
427
|
</div>
|
428
428
|
</li>
|
429
429
|
|
430
430
|
|
431
431
|
<li class="odd ">
|
432
432
|
<div class="item">
|
433
|
-
<span class='object_link'><a href="Ovto/
|
434
|
-
<small>Ovto::
|
433
|
+
<span class='object_link'><a href="Ovto/Actions.html#middleware_path-instance_method" title="Ovto::Actions#middleware_path (method)">#middleware_path</a></span>
|
434
|
+
<small>Ovto::Actions</small>
|
435
435
|
</div>
|
436
436
|
</li>
|
437
437
|
|
@@ -453,6 +453,30 @@
|
|
453
453
|
|
454
454
|
|
455
455
|
<li class="even ">
|
456
|
+
<div class="item">
|
457
|
+
<span class='object_link'><a href="MightyInspect.html#mighty_inspect-class_method" title="MightyInspect.mighty_inspect (method)">mighty_inspect</a></span>
|
458
|
+
<small>MightyInspect</small>
|
459
|
+
</div>
|
460
|
+
</li>
|
461
|
+
|
462
|
+
|
463
|
+
<li class="odd ">
|
464
|
+
<div class="item">
|
465
|
+
<span class='object_link'><a href="Array.html#mighty_inspect-instance_method" title="Array#mighty_inspect (method)">#mighty_inspect</a></span>
|
466
|
+
<small>Array</small>
|
467
|
+
</div>
|
468
|
+
</li>
|
469
|
+
|
470
|
+
|
471
|
+
<li class="even ">
|
472
|
+
<div class="item">
|
473
|
+
<span class='object_link'><a href="Hash.html#mighty_inspect-instance_method" title="Hash#mighty_inspect (method)">#mighty_inspect</a></span>
|
474
|
+
<small>Hash</small>
|
475
|
+
</div>
|
476
|
+
</li>
|
477
|
+
|
478
|
+
|
479
|
+
<li class="odd ">
|
456
480
|
<div class="item">
|
457
481
|
<span class='object_link'><a href="Ovto/Middleware/Base.html#name-class_method" title="Ovto::Middleware::Base.name (method)">name</a></span>
|
458
482
|
<small>Ovto::Middleware::Base</small>
|
@@ -460,6 +484,14 @@
|
|
460
484
|
</li>
|
461
485
|
|
462
486
|
|
487
|
+
<li class="even ">
|
488
|
+
<div class="item">
|
489
|
+
<span class='object_link'><a href="MightyInspect.html#p-class_method" title="MightyInspect.p (method)">p</a></span>
|
490
|
+
<small>MightyInspect</small>
|
491
|
+
</div>
|
492
|
+
</li>
|
493
|
+
|
494
|
+
|
463
495
|
<li class="odd ">
|
464
496
|
<div class="item">
|
465
497
|
<span class='object_link'><a href="Ovto/Component.html#render-instance_method" title="Ovto::Component#render (method)">#render</a></span>
|
@@ -478,7 +510,7 @@
|
|
478
510
|
|
479
511
|
<li class="odd ">
|
480
512
|
<div class="item">
|
481
|
-
<span class='object_link'><a href="Ovto/App.html#run-
|
513
|
+
<span class='object_link'><a href="Ovto/App.html#run-instance_method" title="Ovto::App#run (method)">#run</a></span>
|
482
514
|
<small>Ovto::App</small>
|
483
515
|
</div>
|
484
516
|
</li>
|
@@ -486,16 +518,16 @@
|
|
486
518
|
|
487
519
|
<li class="even ">
|
488
520
|
<div class="item">
|
489
|
-
<span class='object_link'><a href="Ovto/
|
490
|
-
<small>Ovto::
|
521
|
+
<span class='object_link'><a href="Ovto/Runtime.html#run-instance_method" title="Ovto::Runtime#run (method)">#run</a></span>
|
522
|
+
<small>Ovto::Runtime</small>
|
491
523
|
</div>
|
492
524
|
</li>
|
493
525
|
|
494
526
|
|
495
527
|
<li class="odd ">
|
496
528
|
<div class="item">
|
497
|
-
<span class='object_link'><a href="Ovto/
|
498
|
-
<small>Ovto::
|
529
|
+
<span class='object_link'><a href="Ovto/App.html#run-class_method" title="Ovto::App.run (method)">run</a></span>
|
530
|
+
<small>Ovto::App</small>
|
499
531
|
</div>
|
500
532
|
</li>
|
501
533
|
|
@@ -518,32 +550,32 @@
|
|
518
550
|
|
519
551
|
<li class="even ">
|
520
552
|
<div class="item">
|
521
|
-
<span class='object_link'><a href="Ovto/
|
522
|
-
<small>Ovto::
|
553
|
+
<span class='object_link'><a href="Ovto/App.html#setup-instance_method" title="Ovto::App#setup (method)">#setup</a></span>
|
554
|
+
<small>Ovto::App</small>
|
523
555
|
</div>
|
524
556
|
</li>
|
525
557
|
|
526
558
|
|
527
559
|
<li class="odd ">
|
528
560
|
<div class="item">
|
529
|
-
<span class='object_link'><a href="Ovto/
|
530
|
-
<small>Ovto::
|
561
|
+
<span class='object_link'><a href="Ovto/Middleware/Base.html#setup-instance_method" title="Ovto::Middleware::Base#setup (method)">#setup</a></span>
|
562
|
+
<small>Ovto::Middleware::Base</small>
|
531
563
|
</div>
|
532
564
|
</li>
|
533
565
|
|
534
566
|
|
535
567
|
<li class="even ">
|
536
568
|
<div class="item">
|
537
|
-
<span class='object_link'><a href="Ovto/
|
538
|
-
<small>Ovto::
|
569
|
+
<span class='object_link'><a href="Ovto/PureComponent.html#state-instance_method" title="Ovto::PureComponent#state (method)">#state</a></span>
|
570
|
+
<small>Ovto::PureComponent</small>
|
539
571
|
</div>
|
540
572
|
</li>
|
541
573
|
|
542
574
|
|
543
575
|
<li class="odd ">
|
544
576
|
<div class="item">
|
545
|
-
<span class='object_link'><a href="Ovto/
|
546
|
-
<small>Ovto::
|
577
|
+
<span class='object_link'><a href="Ovto/Component.html#state-instance_method" title="Ovto::Component#state (method)">#state</a></span>
|
578
|
+
<small>Ovto::Component</small>
|
547
579
|
</div>
|
548
580
|
</li>
|
549
581
|
|
@@ -558,24 +590,24 @@
|
|
558
590
|
|
559
591
|
<li class="odd ">
|
560
592
|
<div class="item">
|
561
|
-
<span class='object_link'><a href="Ovto/Component.html#state-instance_method" title="Ovto::Component#state (method)">#state</a></span>
|
562
|
-
<small>Ovto::Component</small>
|
593
|
+
<span class='object_link'><a href="Ovto/Middleware/Component.html#state-instance_method" title="Ovto::Middleware::Component#state (method)">#state</a></span>
|
594
|
+
<small>Ovto::Middleware::Component</small>
|
563
595
|
</div>
|
564
596
|
</li>
|
565
597
|
|
566
598
|
|
567
599
|
<li class="even ">
|
568
600
|
<div class="item">
|
569
|
-
<span class='object_link'><a href="Ovto/
|
570
|
-
<small>Ovto::
|
601
|
+
<span class='object_link'><a href="Ovto/App.html#state-instance_method" title="Ovto::App#state (method)">#state</a></span>
|
602
|
+
<small>Ovto::App</small>
|
571
603
|
</div>
|
572
604
|
</li>
|
573
605
|
|
574
606
|
|
575
607
|
<li class="odd ">
|
576
608
|
<div class="item">
|
577
|
-
<span class='object_link'><a href="Ovto/
|
578
|
-
<small>Ovto::
|
609
|
+
<span class='object_link'><a href="Ovto/Actions.html#state-instance_method" title="Ovto::Actions#state (method)">#state</a></span>
|
610
|
+
<small>Ovto::Actions</small>
|
579
611
|
</div>
|
580
612
|
</li>
|
581
613
|
|