ovto 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -245,6 +245,7 @@ ul.toplevel { list-style: none; padding-left: 0; font-size: 1.1em; }
245
245
 
246
246
  dl.constants { margin-left: 10px; }
247
247
  dl.constants dt { font-weight: bold; font-size: 1.1em; margin-bottom: 5px; }
248
+ dl.constants.compact dt { display: inline-block; font-weight: normal }
248
249
  dl.constants dd { width: 75%; white-space: pre; font-family: monospace; margin-bottom: 18px; }
249
250
  dl.constants .docstring .note:first-child { margin-top: 5px; }
250
251
 
@@ -326,13 +327,9 @@ ul.summary a, ul.summary a:visited {
326
327
  text-decoration: none; font-size: 1.1em;
327
328
  }
328
329
  ul.summary li { margin-bottom: 5px; }
329
- .summary .summary_signature {
330
- padding: 4px 8px;
331
- background: #f8f8f8;
332
- border: 1px solid #f0f0f0;
333
- border-radius: 5px;
334
- }
330
+ .summary_signature { padding: 4px 8px; background: #f8f8f8; border: 1px solid #f0f0f0; border-radius: 5px; }
335
331
  .summary_signature:hover { background: #CFEBFF; border-color: #A4CCDA; cursor: pointer; }
332
+ .summary_signature.deprecated { background: #ffe5e5; border-color: #e9dada; }
336
333
  ul.summary.compact li { display: inline-block; margin: 0px 5px 0px 0px; line-height: 2.6em;}
337
334
  ul.summary.compact .summary_signature { padding: 5px 7px; padding-right: 4px; }
338
335
  #content .summary_signature:hover a,
@@ -485,7 +482,7 @@ pre.code .rubyid_nth_ref { color: #6D79DE; }
485
482
  pre.code .regexp, .dregexp { color: #036A07; }
486
483
  pre.code a { border-bottom: 1px dotted #bbf; }
487
484
  /* inline code */
488
- p > code {
485
+ *:not(pre) > code {
489
486
  padding: 1px 3px 1px 3px;
490
487
  border: 1px solid #E1E1E8;
491
488
  background: #F7F7F9;
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -136,9 +136,8 @@ Ovto app from Sinatra.</p>
136
136
 
137
137
  <h3 id="label-Ovto+-2B+Rails">Ovto + Rails</h3>
138
138
 
139
- <p><a href="./example/rails4">./example/rails4</a> and <a
140
- href="./example/rails5">./example/rails5</a> are examples to use Ovto on
141
- Ruby on Rails.</p>
139
+ <p><a href="https://github.com/yhara/vision">yhara/vision</a> is a working
140
+ example of using Ovto with Rails 5.</p>
142
141
 
143
142
  <h2 id="label-Acknowledgements">Acknowledgements</h2>
144
143
  <ul><li>
@@ -152,9 +151,9 @@ href="https://github.com/yhara/ovto/issues">github.com/yhara/ovto/issues</a></p>
152
151
  </div></div>
153
152
 
154
153
  <div id="footer">
155
- Generated on Fri Jun 1 21:07:20 2018 by
154
+ Generated on Wed Nov 7 18:02:01 2018 by
156
155
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
157
- 0.9.12 (ruby-2.4.2).
156
+ 0.9.16 (ruby-2.5.3).
158
157
  </div>
159
158
 
160
159
  </div>
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.12</title>
5
+ <title>Documentation by YARD 0.9.16</title>
6
6
  </head>
7
7
  <script type="text/javascript" charset="utf-8">
8
8
  var match = unescape(window.location.hash).match(/^#!(.+)/);
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -136,9 +136,8 @@ Ovto app from Sinatra.</p>
136
136
 
137
137
  <h3 id="label-Ovto+-2B+Rails">Ovto + Rails</h3>
138
138
 
139
- <p><a href="./example/rails4">./example/rails4</a> and <a
140
- href="./example/rails5">./example/rails5</a> are examples to use Ovto on
141
- Ruby on Rails.</p>
139
+ <p><a href="https://github.com/yhara/vision">yhara/vision</a> is a working
140
+ example of using Ovto with Rails 5.</p>
142
141
 
143
142
  <h2 id="label-Acknowledgements">Acknowledgements</h2>
144
143
  <ul><li>
@@ -152,9 +151,9 @@ href="https://github.com/yhara/ovto/issues">github.com/yhara/ovto/issues</a></p>
152
151
  </div></div>
153
152
 
154
153
  <div id="footer">
155
- Generated on Fri Jun 1 21:07:20 2018 by
154
+ Generated on Wed Nov 7 18:02:01 2018 by
156
155
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
157
- 0.9.12 (ruby-2.4.2).
156
+ 0.9.16 (ruby-2.5.3).
158
157
  </div>
159
158
 
160
159
  </div>
@@ -120,6 +120,49 @@ function summaryToggle() {
120
120
  } else { localStorage.summaryCollapsed = "expand"; }
121
121
  }
122
122
 
123
+ function constantSummaryToggle() {
124
+ $('.constants_summary_toggle').click(function(e) {
125
+ e.preventDefault();
126
+ localStorage.summaryCollapsed = $(this).text();
127
+ $('.constants_summary_toggle').each(function() {
128
+ $(this).text($(this).text() == "collapse" ? "expand" : "collapse");
129
+ var next = $(this).parent().parent().nextAll('dl.constants').first();
130
+ if (next.hasClass('compact')) {
131
+ next.toggle();
132
+ next.nextAll('dl.constants').first().toggle();
133
+ }
134
+ else if (next.hasClass('constants')) {
135
+ var list = $('<dl class="constants compact" />');
136
+ list.html(next.html());
137
+ list.find('dt').each(function() {
138
+ $(this).addClass('summary_signature');
139
+ $(this).text( $(this).text().split('=')[0]);
140
+ if ($(this).has(".deprecated").length) {
141
+ $(this).addClass('deprecated');
142
+ };
143
+ });
144
+ // Add the value of the constant as "Tooltip" to the summary object
145
+ list.find('pre.code').each(function() {
146
+ console.log($(this).parent());
147
+ var dt_element = $(this).parent().prev();
148
+ var tooltip = $(this).text();
149
+ if (dt_element.hasClass("deprecated")) {
150
+ tooltip = 'Deprecated. ' + tooltip;
151
+ };
152
+ dt_element.attr('title', tooltip);
153
+ });
154
+ list.find('.docstring, .tags, dd').remove();
155
+ next.before(list);
156
+ next.toggle();
157
+ }
158
+ });
159
+ return false;
160
+ });
161
+ if (localStorage.summaryCollapsed == "collapse") {
162
+ $('.constants_summary_toggle').first().click();
163
+ } else { localStorage.summaryCollapsed = "expand"; }
164
+ }
165
+
123
166
  function generateTOC() {
124
167
  if ($('#filecontents').length === 0) return;
125
168
  var _toc = $('<ol class="top"></ol>');
@@ -241,6 +284,7 @@ $(document).ready(function() {
241
284
  searchFrameButtons();
242
285
  linkSummaries();
243
286
  summaryToggle();
287
+ constantSummaryToggle();
244
288
  generateTOC();
245
289
  mainFocus();
246
290
  });
@@ -45,6 +45,14 @@
45
45
 
46
46
 
47
47
  <li class="odd ">
48
+ <div class="item">
49
+ <span class='object_link'><a href="Ovto/State.html#==-instance_method" title="Ovto::State#== (method)">#==</a></span>
50
+ <small>Ovto::State</small>
51
+ </div>
52
+ </li>
53
+
54
+
55
+ <li class="even ">
48
56
  <div class="item">
49
57
  <span class='object_link'><a href="Ovto/State.html#[]-instance_method" title="Ovto::State#[] (method)">#[]</a></span>
50
58
  <small>Ovto::State</small>
@@ -52,6 +60,14 @@
52
60
  </li>
53
61
 
54
62
 
63
+ <li class="odd ">
64
+ <div class="item">
65
+ <span class='object_link'><a href="Ovto.html#_do_fetch-class_method" title="Ovto._do_fetch (method)">_do_fetch</a></span>
66
+ <small>Ovto</small>
67
+ </div>
68
+ </li>
69
+
70
+
55
71
  <li class="even ">
56
72
  <div class="item">
57
73
  <span class='object_link'><a href="Ovto/App.html#_set_state-instance_method" title="Ovto::App#_set_state (method)">#_set_state</a></span>
@@ -60,6 +76,38 @@
60
76
  </li>
61
77
 
62
78
 
79
+ <li class="odd ">
80
+ <div class="item">
81
+ <span class='object_link'><a href="Ovto/Actions.html#actions-instance_method" title="Ovto::Actions#actions (method)">#actions</a></span>
82
+ <small>Ovto::Actions</small>
83
+ </div>
84
+ </li>
85
+
86
+
87
+ <li class="even ">
88
+ <div class="item">
89
+ <span class='object_link'><a href="Ovto/App.html#actions-instance_method" title="Ovto::App#actions (method)">#actions</a></span>
90
+ <small>Ovto::App</small>
91
+ </div>
92
+ </li>
93
+
94
+
95
+ <li class="odd ">
96
+ <div class="item">
97
+ <span class='object_link'><a href="top-level-namespace.html#console-instance_method" title="#console (method)">#console</a></span>
98
+ <small>Top Level Namespace</small>
99
+ </div>
100
+ </li>
101
+
102
+
103
+ <li class="even ">
104
+ <div class="item">
105
+ <span class='object_link'><a href="Ovto.html#fetch-class_method" title="Ovto.fetch (method)">fetch</a></span>
106
+ <small>Ovto</small>
107
+ </div>
108
+ </li>
109
+
110
+
63
111
  <li class="odd ">
64
112
  <div class="item">
65
113
  <span class='object_link'><a href="Ovto/Component.html#hash_to_js_obj-class_method" title="Ovto::Component.hash_to_js_obj (method)">hash_to_js_obj</a></span>
@@ -86,32 +134,32 @@
86
134
 
87
135
  <li class="even ">
88
136
  <div class="item">
89
- <span class='object_link'><a href="Ovto/State.html#initialize-instance_method" title="Ovto::State#initialize (method)">#initialize</a></span>
90
- <small>Ovto::State</small>
137
+ <span class='object_link'><a href="Ovto/WiredActions.html#initialize-instance_method" title="Ovto::WiredActions#initialize (method)">#initialize</a></span>
138
+ <small>Ovto::WiredActions</small>
91
139
  </div>
92
140
  </li>
93
141
 
94
142
 
95
143
  <li class="odd ">
96
144
  <div class="item">
97
- <span class='object_link'><a href="Ovto/Component.html#initialize-instance_method" title="Ovto::Component#initialize (method)">#initialize</a></span>
98
- <small>Ovto::Component</small>
145
+ <span class='object_link'><a href="Ovto/Runtime.html#initialize-instance_method" title="Ovto::Runtime#initialize (method)">#initialize</a></span>
146
+ <small>Ovto::Runtime</small>
99
147
  </div>
100
148
  </li>
101
149
 
102
150
 
103
151
  <li class="even ">
104
152
  <div class="item">
105
- <span class='object_link'><a href="Ovto/Runtime.html#initialize-instance_method" title="Ovto::Runtime#initialize (method)">#initialize</a></span>
106
- <small>Ovto::Runtime</small>
153
+ <span class='object_link'><a href="Ovto/State.html#initialize-instance_method" title="Ovto::State#initialize (method)">#initialize</a></span>
154
+ <small>Ovto::State</small>
107
155
  </div>
108
156
  </li>
109
157
 
110
158
 
111
159
  <li class="odd ">
112
160
  <div class="item">
113
- <span class='object_link'><a href="Ovto/WiredActions.html#initialize-instance_method" title="Ovto::WiredActions#initialize (method)">#initialize</a></span>
114
- <small>Ovto::WiredActions</small>
161
+ <span class='object_link'><a href="Ovto/Component.html#initialize-instance_method" title="Ovto::Component#initialize (method)">#initialize</a></span>
162
+ <small>Ovto::Component</small>
115
163
  </div>
116
164
  </li>
117
165
 
@@ -190,16 +238,16 @@
190
238
 
191
239
  <li class="odd ">
192
240
  <div class="item">
193
- <span class='object_link'><a href="Ovto/App.html#run-instance_method" title="Ovto::App#run (method)">#run</a></span>
194
- <small>Ovto::App</small>
241
+ <span class='object_link'><a href="Ovto/Runtime.html#run-instance_method" title="Ovto::Runtime#run (method)">#run</a></span>
242
+ <small>Ovto::Runtime</small>
195
243
  </div>
196
244
  </li>
197
245
 
198
246
 
199
247
  <li class="even ">
200
248
  <div class="item">
201
- <span class='object_link'><a href="Ovto/Runtime.html#run-instance_method" title="Ovto::Runtime#run (method)">#run</a></span>
202
- <small>Ovto::Runtime</small>
249
+ <span class='object_link'><a href="Ovto/App.html#run-instance_method" title="Ovto::App#run (method)">#run</a></span>
250
+ <small>Ovto::App</small>
203
251
  </div>
204
252
  </li>
205
253
 
@@ -222,13 +270,21 @@
222
270
 
223
271
  <li class="odd ">
224
272
  <div class="item">
225
- <span class='object_link'><a href="Ovto/App.html#state-instance_method" title="Ovto::App#state (method)">#state</a></span>
273
+ <span class='object_link'><a href="Ovto/App.html#setup-instance_method" title="Ovto::App#setup (method)">#setup</a></span>
226
274
  <small>Ovto::App</small>
227
275
  </div>
228
276
  </li>
229
277
 
230
278
 
231
279
  <li class="even ">
280
+ <div class="item">
281
+ <span class='object_link'><a href="Ovto/App.html#state-instance_method" title="Ovto::App#state (method)">#state</a></span>
282
+ <small>Ovto::App</small>
283
+ </div>
284
+ </li>
285
+
286
+
287
+ <li class="odd ">
232
288
  <div class="item">
233
289
  <span class='object_link'><a href="Ovto/State.html#to_h-instance_method" title="Ovto::State#to_h (method)">#to_h</a></span>
234
290
  <small>Ovto::State</small>
@@ -236,6 +292,14 @@
236
292
  </li>
237
293
 
238
294
 
295
+ <li class="even ">
296
+ <div class="item">
297
+ <span class='object_link'><a href="Ovto/State.html#values-instance_method" title="Ovto::State#values (method)">#values</a></span>
298
+ <small>Ovto::State</small>
299
+ </div>
300
+ </li>
301
+
302
+
239
303
 
240
304
  </ul>
241
305
  </div>
@@ -4,7 +4,7 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
7
- <title>State · GitBook</title>
7
+ <title>Ovto::State · GitBook</title>
8
8
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
9
9
  <meta name="description" content="">
10
10
  <meta name="generator" content="GitBook 3.2.3">
@@ -134,7 +134,7 @@
134
134
  <a href="app.html">
135
135
 
136
136
 
137
- App
137
+ Ovto::App
138
138
 
139
139
  </a>
140
140
 
@@ -147,7 +147,7 @@
147
147
  <a href="state.html">
148
148
 
149
149
 
150
- State
150
+ Ovto::State
151
151
 
152
152
  </a>
153
153
 
@@ -160,7 +160,7 @@
160
160
  <a href="actions.html">
161
161
 
162
162
 
163
- Actions
163
+ Ovto::Actions
164
164
 
165
165
  </a>
166
166
 
@@ -173,7 +173,20 @@
173
173
  <a href="component.html">
174
174
 
175
175
 
176
- Component
176
+ Ovto::Component
177
+
178
+ </a>
179
+
180
+
181
+
182
+ </li>
183
+
184
+ <li class="chapter " data-level="1.3.5" data-path="fetch.html">
185
+
186
+ <a href="fetch.html">
187
+
188
+
189
+ Ovto.fetch
177
190
 
178
191
  </a>
179
192
 
@@ -261,7 +274,7 @@
261
274
  <!-- Title -->
262
275
  <h1>
263
276
  <i class="fa fa-circle-o-notch fa-spin"></i>
264
- <a href=".." >State</a>
277
+ <a href=".." >Ovto::State</a>
265
278
  </h1>
266
279
  </div>
267
280
 
@@ -375,12 +388,12 @@ taro_books = Book.of_author(books, <span class="hljs-string">&quot;taro&quot;</s
375
388
 
376
389
 
377
390
 
378
- <a href="app.html" class="navigation navigation-prev " aria-label="Previous page: App">
391
+ <a href="app.html" class="navigation navigation-prev " aria-label="Previous page: Ovto::App">
379
392
  <i class="fa fa-angle-left"></i>
380
393
  </a>
381
394
 
382
395
 
383
- <a href="actions.html" class="navigation navigation-next " aria-label="Next page: Actions">
396
+ <a href="actions.html" class="navigation navigation-next " aria-label="Next page: Ovto::Actions">
384
397
  <i class="fa fa-angle-right"></i>
385
398
  </a>
386
399
 
@@ -391,7 +404,7 @@ taro_books = Book.of_author(books, <span class="hljs-string">&quot;taro&quot;</s
391
404
  <script>
392
405
  var gitbook = gitbook || [];
393
406
  gitbook.push(function() {
394
- gitbook.page.hasChanged({"page":{"title":"State","level":"1.3.2","depth":2,"next":{"title":"Actions","level":"1.3.3","depth":2,"path":"api/actions.md","ref":"api/actions.md","articles":[]},"previous":{"title":"App","level":"1.3.1","depth":2,"path":"api/app.md","ref":"api/app.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":"api/state.md","mtime":"2018-05-11T06:21:35.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-06-01T12:07:18.151Z"},"basePath":"..","book":{"language":""}});
407
+ gitbook.page.hasChanged({"page":{"title":"Ovto::State","level":"1.3.2","depth":2,"next":{"title":"Ovto::Actions","level":"1.3.3","depth":2,"path":"api/actions.md","ref":"api/actions.md","articles":[]},"previous":{"title":"Ovto::App","level":"1.3.1","depth":2,"path":"api/app.md","ref":"api/app.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":"api/state.md","mtime":"2018-05-11T06:21:35.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2018-11-07T09:01:58.704Z"},"basePath":"..","book":{"language":""}});
395
408
  });
396
409
  </script>
397
410
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.9.12
9
+ &mdash; Documentation by YARD 0.9.16
10
10
 
11
11
  </title>
12
12
 
@@ -95,14 +95,79 @@
95
95
 
96
96
 
97
97
 
98
+
99
+ <h2>
100
+ Instance Method Summary
101
+ <small><a href="#" class="summary_toggle">collapse</a></small>
102
+ </h2>
98
103
 
104
+ <ul class="summary">
105
+
106
+ <li class="public ">
107
+ <span class="summary_signature">
108
+
109
+ <a href="top-level-namespace.html#console-instance_method" title="#console (instance method)">#<strong>console</strong> &#x21d2; Object </a>
110
+
111
+
112
+
113
+ </span>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ <span class="summary_desc"><div class='inline'></div></span>
124
+
125
+ </li>
126
+
127
+
128
+ </ul>
129
+
130
+
131
+
132
+
133
+ <div id="instance_method_details" class="method_details_list">
134
+ <h2>Instance Method Details</h2>
135
+
136
+
137
+ <div class="method_details first">
138
+ <h3 class="signature first" id="console-instance_method">
139
+
140
+ #<strong>console</strong> &#x21d2; <tt>Object</tt>
141
+
142
+
143
+
144
+
145
+
146
+ </h3><table class="source_code">
147
+ <tr>
148
+ <td>
149
+ <pre class="lines">
150
+
151
+
152
+ 2</pre>
153
+ </td>
154
+ <td>
155
+ <pre class="code"><span class="info file"># File 'lib/ovto.rb', line 2</span>
156
+
157
+ <span class='kw'>def</span> <span class='id identifier rubyid_console'>console</span><span class='semicolon'>;</span> <span class='gvar'>$console</span><span class='semicolon'>;</span> <span class='kw'>end</span></pre>
158
+ </td>
159
+ </tr>
160
+ </table>
161
+ </div>
162
+
163
+ </div>
99
164
 
100
165
  </div>
101
166
 
102
167
  <div id="footer">
103
- Generated on Fri Jun 1 21:07:20 2018 by
168
+ Generated on Wed Nov 7 18:02:01 2018 by
104
169
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
- 0.9.12 (ruby-2.4.2).
170
+ 0.9.16 (ruby-2.5.3).
106
171
  </div>
107
172
 
108
173
  </div>