ovto 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +1 -0
- data/.gitmodules +3 -0
- data/CHANGELOG.md +22 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +57 -0
- data/LICENSE.txt +44 -0
- data/README.md +84 -0
- data/Rakefile +41 -0
- data/book/README.md +1 -0
- data/book/SUMMARY.md +13 -0
- data/book/api/actions.md +77 -0
- data/book/api/app.md +86 -0
- data/book/api/component.md +175 -0
- data/book/api/fetch.md +42 -0
- data/book/api/state.md +97 -0
- data/book/guides/debugging.md +23 -0
- data/book/guides/development.md +11 -0
- data/book/guides/tutorial.md +288 -0
- data/book/screenshot.png +0 -0
- data/docs/api/Ovto/Actions.html +135 -0
- data/docs/api/Ovto/App.html +531 -0
- data/docs/api/Ovto/Component/MoreThanOneNode.html +135 -0
- data/docs/api/Ovto/Component.html +350 -0
- data/docs/api/Ovto/Runtime.html +315 -0
- data/docs/api/Ovto/State/MissingValue.html +135 -0
- data/docs/api/Ovto/State/UnknownKey.html +135 -0
- data/docs/api/Ovto/State.html +699 -0
- data/docs/api/Ovto/WiredActions.html +343 -0
- data/docs/api/Ovto.html +319 -0
- data/docs/api/_index.html +229 -0
- data/docs/api/actions.html +398 -0
- data/docs/api/app.html +411 -0
- data/docs/api/class_list.html +51 -0
- data/docs/api/component.html +469 -0
- data/docs/api/css/common.css +1 -0
- data/docs/api/css/full_list.css +58 -0
- data/docs/api/css/style.css +499 -0
- data/docs/api/file.README.html +162 -0
- data/docs/api/file_list.html +56 -0
- data/docs/api/frames.html +17 -0
- data/docs/api/index.html +162 -0
- data/docs/api/js/app.js +248 -0
- data/docs/api/js/full_list.js +216 -0
- data/docs/api/js/jquery.js +4 -0
- data/docs/api/method_list.html +243 -0
- data/docs/api/state.html +430 -0
- data/docs/api/top-level-namespace.html +110 -0
- data/docs/gitbook/fonts/fontawesome/FontAwesome.otf +0 -0
- data/docs/gitbook/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/docs/gitbook/fonts/fontawesome/fontawesome-webfont.svg +685 -0
- data/docs/gitbook/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/docs/gitbook/fonts/fontawesome/fontawesome-webfont.woff2 +0 -0
- data/docs/gitbook/gitbook-plugin-fontsettings/fontsettings.js +240 -0
- data/docs/gitbook/gitbook-plugin-fontsettings/website.css +291 -0
- data/docs/gitbook/gitbook-plugin-highlight/ebook.css +135 -0
- data/docs/gitbook/gitbook-plugin-highlight/website.css +434 -0
- data/docs/gitbook/gitbook-plugin-lunr/lunr.min.js +7 -0
- data/docs/gitbook/gitbook-plugin-lunr/search-lunr.js +59 -0
- data/docs/gitbook/gitbook-plugin-search/lunr.min.js +7 -0
- data/docs/gitbook/gitbook-plugin-search/search-engine.js +50 -0
- data/docs/gitbook/gitbook-plugin-search/search.css +35 -0
- data/docs/gitbook/gitbook-plugin-search/search.js +213 -0
- data/docs/gitbook/gitbook-plugin-sharing/buttons.js +90 -0
- data/docs/gitbook/gitbook.js +4 -0
- data/docs/gitbook/images/apple-touch-icon-precomposed-152.png +0 -0
- data/docs/gitbook/images/favicon.ico +0 -0
- data/docs/gitbook/style.css +9 -0
- data/docs/gitbook/theme.js +4 -0
- data/docs/guides/debugging.html +355 -0
- data/docs/guides/development.html +361 -0
- data/docs/guides/tutorial.html +571 -0
- data/docs/index.html +422 -0
- data/docs/screenshot.png +0 -0
- data/docs/search_index.json +1 -0
- data/example/sinatra/Gemfile +6 -0
- data/example/sinatra/Gemfile.lock +59 -0
- data/example/sinatra/README.md +21 -0
- data/example/sinatra/app.rb +18 -0
- data/example/sinatra/config.ru +30 -0
- data/example/sinatra/ovto/app.rb +171 -0
- data/example/sinatra/public/style.css +4 -0
- data/example/sinatra/public/todomvc-app-css_index.css +376 -0
- data/example/sinatra/public/todomvc-common_base.css +141 -0
- data/example/sinatra/views/index.erb +21 -0
- data/example/static/Gemfile +3 -0
- data/example/static/Gemfile.lock +30 -0
- data/example/static/README.md +10 -0
- data/example/static/Rakefile +4 -0
- data/example/static/app.js +24808 -0
- data/example/static/app.rb +43 -0
- data/example/static/index.html +11 -0
- data/lib/ovto/actions.rb +10 -0
- data/lib/ovto/app.rb +58 -0
- data/lib/ovto/component.rb +191 -0
- data/lib/ovto/fetch.rb +53 -0
- data/lib/ovto/runtime.rb +388 -0
- data/lib/ovto/state.rb +69 -0
- data/lib/ovto/version.rb +3 -0
- data/lib/ovto/wired_actions.rb +33 -0
- data/lib/ovto.rb +50 -0
- data/ovto.gemspec +22 -0
- data/screenshot.png +0 -0
- metadata +161 -0
@@ -0,0 +1,361 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML>
|
3
|
+
<html lang="" >
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
|
7
|
+
<title>Development · GitBook</title>
|
8
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
9
|
+
<meta name="description" content="">
|
10
|
+
<meta name="generator" content="GitBook 3.2.3">
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../gitbook/style.css">
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
<meta name="HandheldFriendly" content="true"/>
|
53
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
|
54
|
+
<meta name="apple-mobile-web-app-capable" content="yes">
|
55
|
+
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
56
|
+
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
|
57
|
+
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
<link rel="prev" href="debugging.html" />
|
62
|
+
|
63
|
+
|
64
|
+
</head>
|
65
|
+
<body>
|
66
|
+
|
67
|
+
<div class="book">
|
68
|
+
<div class="book-summary">
|
69
|
+
|
70
|
+
|
71
|
+
<div id="book-search-input" role="search">
|
72
|
+
<input type="text" placeholder="Type to search" />
|
73
|
+
</div>
|
74
|
+
|
75
|
+
|
76
|
+
<nav role="navigation">
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
<ul class="summary">
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
<li class="chapter " data-level="1.1" data-path="../">
|
91
|
+
|
92
|
+
<a href="../">
|
93
|
+
|
94
|
+
|
95
|
+
Introduction
|
96
|
+
|
97
|
+
</a>
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
</li>
|
102
|
+
|
103
|
+
<li class="chapter " data-level="1.2" data-path="tutorial.html">
|
104
|
+
|
105
|
+
<a href="tutorial.html">
|
106
|
+
|
107
|
+
|
108
|
+
Getting Started
|
109
|
+
|
110
|
+
</a>
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
</li>
|
115
|
+
|
116
|
+
<li class="chapter " data-level="1.3" >
|
117
|
+
|
118
|
+
<span>
|
119
|
+
|
120
|
+
|
121
|
+
API
|
122
|
+
|
123
|
+
</span>
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
<ul class="articles">
|
128
|
+
|
129
|
+
|
130
|
+
<li class="chapter " data-level="1.3.1" data-path="../api/app.html">
|
131
|
+
|
132
|
+
<a href="../api/app.html">
|
133
|
+
|
134
|
+
|
135
|
+
App
|
136
|
+
|
137
|
+
</a>
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
</li>
|
142
|
+
|
143
|
+
<li class="chapter " data-level="1.3.2" data-path="../api/state.html">
|
144
|
+
|
145
|
+
<a href="../api/state.html">
|
146
|
+
|
147
|
+
|
148
|
+
State
|
149
|
+
|
150
|
+
</a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
</li>
|
155
|
+
|
156
|
+
<li class="chapter " data-level="1.3.3" data-path="../api/actions.html">
|
157
|
+
|
158
|
+
<a href="../api/actions.html">
|
159
|
+
|
160
|
+
|
161
|
+
Actions
|
162
|
+
|
163
|
+
</a>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
</li>
|
168
|
+
|
169
|
+
<li class="chapter " data-level="1.3.4" data-path="../api/component.html">
|
170
|
+
|
171
|
+
<a href="../api/component.html">
|
172
|
+
|
173
|
+
|
174
|
+
Component
|
175
|
+
|
176
|
+
</a>
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
</li>
|
181
|
+
|
182
|
+
|
183
|
+
</ul>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
<li class="chapter " data-level="1.4" >
|
188
|
+
|
189
|
+
<span>
|
190
|
+
|
191
|
+
|
192
|
+
Guides
|
193
|
+
|
194
|
+
</span>
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<ul class="articles">
|
199
|
+
|
200
|
+
|
201
|
+
<li class="chapter " data-level="1.4.1" data-path="debugging.html">
|
202
|
+
|
203
|
+
<a href="debugging.html">
|
204
|
+
|
205
|
+
|
206
|
+
Debugging
|
207
|
+
|
208
|
+
</a>
|
209
|
+
|
210
|
+
|
211
|
+
|
212
|
+
</li>
|
213
|
+
|
214
|
+
<li class="chapter active" data-level="1.4.2" data-path="development.html">
|
215
|
+
|
216
|
+
<a href="development.html">
|
217
|
+
|
218
|
+
|
219
|
+
Development
|
220
|
+
|
221
|
+
</a>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
</li>
|
226
|
+
|
227
|
+
|
228
|
+
</ul>
|
229
|
+
|
230
|
+
</li>
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
<li class="divider"></li>
|
236
|
+
|
237
|
+
<li>
|
238
|
+
<a href="https://www.gitbook.com" target="blank" class="gitbook-link">
|
239
|
+
Published with GitBook
|
240
|
+
</a>
|
241
|
+
</li>
|
242
|
+
</ul>
|
243
|
+
|
244
|
+
|
245
|
+
</nav>
|
246
|
+
|
247
|
+
|
248
|
+
</div>
|
249
|
+
|
250
|
+
<div class="book-body">
|
251
|
+
|
252
|
+
<div class="body-inner">
|
253
|
+
|
254
|
+
|
255
|
+
|
256
|
+
<div class="book-header" role="navigation">
|
257
|
+
|
258
|
+
|
259
|
+
<!-- Title -->
|
260
|
+
<h1>
|
261
|
+
<i class="fa fa-circle-o-notch fa-spin"></i>
|
262
|
+
<a href=".." >Development</a>
|
263
|
+
</h1>
|
264
|
+
</div>
|
265
|
+
|
266
|
+
|
267
|
+
|
268
|
+
|
269
|
+
<div class="page-wrapper" tabindex="-1" role="main">
|
270
|
+
<div class="page-inner">
|
271
|
+
|
272
|
+
<div id="book-search-results">
|
273
|
+
<div class="search-noresults">
|
274
|
+
|
275
|
+
<section class="normal markdown-section">
|
276
|
+
|
277
|
+
<h1 id="development-notes">Development notes</h1>
|
278
|
+
<h2 id="how-to-run-unit-test">How to run unit test</h2>
|
279
|
+
<ol>
|
280
|
+
<li>git clone</li>
|
281
|
+
<li>bundle install</li>
|
282
|
+
<li>bundle exec rake</li>
|
283
|
+
</ol>
|
284
|
+
<h2 id="how-to-rebuild-docs">How to rebuild docs</h2>
|
285
|
+
<p><code>bundle exec doc:build</code></p>
|
286
|
+
|
287
|
+
|
288
|
+
</section>
|
289
|
+
|
290
|
+
</div>
|
291
|
+
<div class="search-results">
|
292
|
+
<div class="has-results">
|
293
|
+
|
294
|
+
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
|
295
|
+
<ul class="search-results-list"></ul>
|
296
|
+
|
297
|
+
</div>
|
298
|
+
<div class="no-results">
|
299
|
+
|
300
|
+
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
301
|
+
|
302
|
+
</div>
|
303
|
+
</div>
|
304
|
+
</div>
|
305
|
+
|
306
|
+
</div>
|
307
|
+
</div>
|
308
|
+
|
309
|
+
</div>
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
<a href="debugging.html" class="navigation navigation-prev navigation-unique" aria-label="Previous page: Debugging">
|
314
|
+
<i class="fa fa-angle-left"></i>
|
315
|
+
</a>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
</div>
|
321
|
+
|
322
|
+
<script>
|
323
|
+
var gitbook = gitbook || [];
|
324
|
+
gitbook.push(function() {
|
325
|
+
gitbook.page.hasChanged({"page":{"title":"Development","level":"1.4.2","depth":2,"previous":{"title":"Debugging","level":"1.4.1","depth":2,"path":"guides/debugging.md","ref":"guides/debugging.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"guides/development.md","mtime":"2018-05-24T07:03:24.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-06-01T12:07:18.151Z"},"basePath":"..","book":{"language":""}});
|
326
|
+
});
|
327
|
+
</script>
|
328
|
+
</div>
|
329
|
+
|
330
|
+
|
331
|
+
<script src="../gitbook/gitbook.js"></script>
|
332
|
+
<script src="../gitbook/theme.js"></script>
|
333
|
+
|
334
|
+
|
335
|
+
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>
|
352
|
+
|
353
|
+
|
354
|
+
|
355
|
+
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
</body>
|
360
|
+
</html>
|
361
|
+
|