ovto 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +15 -16
- data/Rakefile +2 -9
- data/book/SUMMARY.md +15 -11
- data/book/book.toml +10 -0
- data/docs/.nojekyll +1 -0
- data/docs/404.html +189 -0
- data/docs/FontAwesome/css/font-awesome.css +4 -0
- data/docs/FontAwesome/fonts/FontAwesome.ttf +0 -0
- data/docs/FontAwesome/fonts/fontawesome-webfont.eot +0 -0
- data/docs/FontAwesome/fonts/fontawesome-webfont.svg +2671 -0
- data/docs/{gitbook/fonts/fontawesome → FontAwesome/fonts}/fontawesome-webfont.ttf +0 -0
- data/docs/FontAwesome/fonts/fontawesome-webfont.woff +0 -0
- data/docs/FontAwesome/fonts/fontawesome-webfont.woff2 +0 -0
- data/docs/api/Array.html +4 -4
- data/docs/api/Hash.html +4 -4
- data/docs/api/MightyInspect.html +238 -0
- data/docs/api/Ovto/Actions.html +4 -4
- data/docs/api/Ovto/App.html +4 -4
- data/docs/api/Ovto/Component/MoreThanOneNode.html +5 -5
- data/docs/api/Ovto/Component.html +4 -4
- data/docs/api/Ovto/Middleware/Actions.html +4 -4
- data/docs/api/Ovto/Middleware/Base.html +5 -5
- data/docs/api/Ovto/Middleware/Component.html +5 -5
- data/docs/api/Ovto/Middleware.html +8 -8
- data/docs/api/Ovto/PureComponent/StateIsNotAvailable.html +4 -4
- data/docs/api/Ovto/PureComponent.html +4 -4
- data/docs/api/Ovto/Runtime.html +4 -4
- data/docs/api/Ovto/State/MissingValue.html +4 -4
- data/docs/api/Ovto/State/UnknownStateKey.html +4 -4
- data/docs/api/Ovto/State.html +12 -12
- data/docs/api/Ovto/WiredActionSet.html +4 -4
- data/docs/api/Ovto/WiredActions.html +4 -4
- data/docs/api/Ovto.html +8 -8
- data/docs/api/_index.html +5 -5
- data/docs/api/actions.html +215 -426
- data/docs/api/app.html +226 -432
- data/docs/api/component.html +268 -480
- data/docs/api/fetch.html +188 -393
- data/docs/api/file.README.html +4 -4
- data/docs/api/frames.html +1 -1
- data/docs/api/index.html +4 -4
- data/docs/api/middleware.html +249 -460
- data/docs/api/pure_component.html +186 -398
- data/docs/api/state.html +226 -438
- data/docs/api/top-level-namespace.html +4 -4
- data/docs/ayu-highlight.css +78 -0
- data/docs/book.js +688 -0
- data/docs/book.toml +10 -0
- data/docs/clipboard.min.js +7 -0
- data/docs/css/chrome.css +545 -0
- data/docs/css/general.css +203 -0
- data/docs/css/print.css +54 -0
- data/docs/css/variables.css +255 -0
- data/docs/elasticlunr.min.js +10 -0
- data/docs/favicon.png +0 -0
- data/docs/favicon.svg +22 -0
- data/docs/fonts/OPEN-SANS-LICENSE.txt +202 -0
- data/docs/fonts/SOURCE-CODE-PRO-LICENSE.txt +93 -0
- data/docs/fonts/fonts.css +100 -0
- data/docs/fonts/open-sans-v17-all-charsets-300.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-300italic.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-600.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-600italic.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-700.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-700italic.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-800.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-800italic.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-italic.woff2 +0 -0
- data/docs/fonts/open-sans-v17-all-charsets-regular.woff2 +0 -0
- data/docs/fonts/source-code-pro-v11-all-charsets-500.woff2 +0 -0
- data/docs/guides/debugging.html +184 -390
- data/docs/guides/development.html +171 -383
- data/docs/guides/install.html +206 -409
- data/docs/guides/tutorial.html +309 -525
- data/docs/highlight.css +82 -0
- data/docs/highlight.js +6 -0
- data/docs/index.html +390 -391
- data/docs/mark.min.js +7 -0
- data/docs/print.html +958 -0
- data/docs/searcher.js +483 -0
- data/docs/searchindex.js +1 -0
- data/docs/searchindex.json +1 -0
- data/docs/tomorrow-night.css +102 -0
- data/examples/sinatra/Gemfile.lock +25 -25
- data/examples/static/Gemfile.lock +8 -8
- data/lib/ovto/component.rb +2 -3
- data/lib/ovto/version.rb +1 -1
- metadata +47 -26
- 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 +0 -685
- 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 +0 -240
- data/docs/gitbook/gitbook-plugin-fontsettings/website.css +0 -291
- data/docs/gitbook/gitbook-plugin-highlight/ebook.css +0 -135
- data/docs/gitbook/gitbook-plugin-highlight/website.css +0 -434
- data/docs/gitbook/gitbook-plugin-lunr/lunr.min.js +0 -7
- data/docs/gitbook/gitbook-plugin-lunr/search-lunr.js +0 -59
- data/docs/gitbook/gitbook-plugin-search/lunr.min.js +0 -7
- data/docs/gitbook/gitbook-plugin-search/search-engine.js +0 -50
- data/docs/gitbook/gitbook-plugin-search/search.css +0 -35
- data/docs/gitbook/gitbook-plugin-search/search.js +0 -213
- data/docs/gitbook/gitbook-plugin-sharing/buttons.js +0 -90
- data/docs/gitbook/gitbook.js +0 -4
- 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 +0 -9
- data/docs/gitbook/theme.js +0 -4
- data/docs/search_index.json +0 -1
@@ -0,0 +1,102 @@
|
|
1
|
+
/* Tomorrow Night Theme */
|
2
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
3
|
+
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
4
|
+
/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
|
5
|
+
|
6
|
+
/* Tomorrow Comment */
|
7
|
+
.hljs-comment {
|
8
|
+
color: #969896;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Tomorrow Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-attribute,
|
14
|
+
.hljs-tag,
|
15
|
+
.hljs-regexp,
|
16
|
+
.ruby .hljs-constant,
|
17
|
+
.xml .hljs-tag .hljs-title,
|
18
|
+
.xml .hljs-pi,
|
19
|
+
.xml .hljs-doctype,
|
20
|
+
.html .hljs-doctype,
|
21
|
+
.css .hljs-id,
|
22
|
+
.css .hljs-class,
|
23
|
+
.css .hljs-pseudo {
|
24
|
+
color: #cc6666;
|
25
|
+
}
|
26
|
+
|
27
|
+
/* Tomorrow Orange */
|
28
|
+
.hljs-number,
|
29
|
+
.hljs-preprocessor,
|
30
|
+
.hljs-pragma,
|
31
|
+
.hljs-built_in,
|
32
|
+
.hljs-literal,
|
33
|
+
.hljs-params,
|
34
|
+
.hljs-constant {
|
35
|
+
color: #de935f;
|
36
|
+
}
|
37
|
+
|
38
|
+
/* Tomorrow Yellow */
|
39
|
+
.ruby .hljs-class .hljs-title,
|
40
|
+
.css .hljs-rule .hljs-attribute {
|
41
|
+
color: #f0c674;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Tomorrow Green */
|
45
|
+
.hljs-string,
|
46
|
+
.hljs-value,
|
47
|
+
.hljs-inheritance,
|
48
|
+
.hljs-header,
|
49
|
+
.hljs-name,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #b5bd68;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Tomorrow Aqua */
|
56
|
+
.hljs-title,
|
57
|
+
.css .hljs-hexcolor {
|
58
|
+
color: #8abeb7;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* Tomorrow Blue */
|
62
|
+
.hljs-function,
|
63
|
+
.python .hljs-decorator,
|
64
|
+
.python .hljs-title,
|
65
|
+
.ruby .hljs-function .hljs-title,
|
66
|
+
.ruby .hljs-title .hljs-keyword,
|
67
|
+
.perl .hljs-sub,
|
68
|
+
.javascript .hljs-title,
|
69
|
+
.coffeescript .hljs-title {
|
70
|
+
color: #81a2be;
|
71
|
+
}
|
72
|
+
|
73
|
+
/* Tomorrow Purple */
|
74
|
+
.hljs-keyword,
|
75
|
+
.javascript .hljs-function {
|
76
|
+
color: #b294bb;
|
77
|
+
}
|
78
|
+
|
79
|
+
.hljs {
|
80
|
+
display: block;
|
81
|
+
overflow-x: auto;
|
82
|
+
background: #1d1f21;
|
83
|
+
color: #c5c8c6;
|
84
|
+
}
|
85
|
+
|
86
|
+
.coffeescript .javascript,
|
87
|
+
.javascript .xml,
|
88
|
+
.tex .hljs-formula,
|
89
|
+
.xml .javascript,
|
90
|
+
.xml .vbscript,
|
91
|
+
.xml .css,
|
92
|
+
.xml .hljs-cdata {
|
93
|
+
opacity: 0.5;
|
94
|
+
}
|
95
|
+
|
96
|
+
.hljs-addition {
|
97
|
+
color: #718c00;
|
98
|
+
}
|
99
|
+
|
100
|
+
.hljs-deletion {
|
101
|
+
color: #c82829;
|
102
|
+
}
|
@@ -1,52 +1,52 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
ovto (0.6.
|
4
|
+
ovto (0.6.2)
|
5
5
|
opal (>= 0.11, < 2)
|
6
6
|
rack (~> 2.0)
|
7
|
-
thor (
|
7
|
+
thor (>= 0.20)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ast (2.4.2)
|
13
|
-
concurrent-ruby (1.
|
13
|
+
concurrent-ruby (1.2.2)
|
14
14
|
multi_json (1.15.0)
|
15
|
-
mustermann (
|
15
|
+
mustermann (3.0.0)
|
16
16
|
ruby2_keywords (~> 0.0.1)
|
17
|
-
nio4r (2.5.
|
18
|
-
opal (1.
|
17
|
+
nio4r (2.5.9)
|
18
|
+
opal (1.7.3)
|
19
19
|
ast (>= 2.3.0)
|
20
|
-
parser (~> 3.0)
|
21
|
-
opal-sprockets (1.0.
|
20
|
+
parser (~> 3.0, >= 3.0.3.2)
|
21
|
+
opal-sprockets (1.0.3)
|
22
22
|
opal (>= 1.0, < 2.0)
|
23
23
|
sprockets (~> 4.0)
|
24
24
|
tilt (>= 1.4)
|
25
|
-
parser (3.
|
25
|
+
parser (3.2.2.0)
|
26
26
|
ast (~> 2.4.1)
|
27
|
-
puma (
|
27
|
+
puma (6.2.2)
|
28
28
|
nio4r (~> 2.0)
|
29
|
-
rack (2.2.
|
30
|
-
rack-protection (
|
29
|
+
rack (2.2.6.4)
|
30
|
+
rack-protection (3.0.6)
|
31
31
|
rack
|
32
32
|
rake (13.0.6)
|
33
33
|
ruby2_keywords (0.0.5)
|
34
|
-
sinatra (
|
35
|
-
mustermann (~>
|
36
|
-
rack (~> 2.2)
|
37
|
-
rack-protection (=
|
34
|
+
sinatra (3.0.6)
|
35
|
+
mustermann (~> 3.0)
|
36
|
+
rack (~> 2.2, >= 2.2.4)
|
37
|
+
rack-protection (= 3.0.6)
|
38
38
|
tilt (~> 2.0)
|
39
|
-
sinatra-contrib (
|
39
|
+
sinatra-contrib (3.0.6)
|
40
40
|
multi_json
|
41
|
-
mustermann (~>
|
42
|
-
rack-protection (=
|
43
|
-
sinatra (=
|
41
|
+
mustermann (~> 3.0)
|
42
|
+
rack-protection (= 3.0.6)
|
43
|
+
sinatra (= 3.0.6)
|
44
44
|
tilt (~> 2.0)
|
45
|
-
sprockets (4.0
|
45
|
+
sprockets (4.2.0)
|
46
46
|
concurrent-ruby (~> 1.0)
|
47
|
-
rack (
|
48
|
-
thor (
|
49
|
-
tilt (2.0
|
47
|
+
rack (>= 2.2.4, < 4)
|
48
|
+
thor (1.2.1)
|
49
|
+
tilt (2.1.0)
|
50
50
|
|
51
51
|
PLATFORMS
|
52
52
|
ruby
|
@@ -61,4 +61,4 @@ DEPENDENCIES
|
|
61
61
|
sinatra-contrib
|
62
62
|
|
63
63
|
BUNDLED WITH
|
64
|
-
2.
|
64
|
+
2.4.12
|
@@ -1,24 +1,24 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ../..
|
3
3
|
specs:
|
4
|
-
ovto (0.6.
|
4
|
+
ovto (0.6.2)
|
5
5
|
opal (>= 0.11, < 2)
|
6
6
|
rack (~> 2.0)
|
7
|
-
thor (
|
7
|
+
thor (>= 0.20)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ast (2.4.2)
|
13
13
|
ifchanged (1.0.1)
|
14
|
-
opal (1.
|
14
|
+
opal (1.7.3)
|
15
15
|
ast (>= 2.3.0)
|
16
|
-
parser (~> 3.0)
|
17
|
-
parser (3.
|
16
|
+
parser (~> 3.0, >= 3.0.3.2)
|
17
|
+
parser (3.2.2.0)
|
18
18
|
ast (~> 2.4.1)
|
19
|
-
rack (2.2.
|
19
|
+
rack (2.2.6.4)
|
20
20
|
rake (13.0.6)
|
21
|
-
thor (
|
21
|
+
thor (1.2.1)
|
22
22
|
|
23
23
|
PLATFORMS
|
24
24
|
ruby
|
@@ -29,4 +29,4 @@ DEPENDENCIES
|
|
29
29
|
rake
|
30
30
|
|
31
31
|
BUNDLED WITH
|
32
|
-
2.
|
32
|
+
2.4.12
|
data/lib/ovto/component.rb
CHANGED
@@ -278,15 +278,14 @@ module Ovto
|
|
278
278
|
`js_attributes.style = #{Component.hash_to_js_obj(style)}`
|
279
279
|
end
|
280
280
|
children ||= `null`
|
281
|
-
|
282
|
-
{
|
281
|
+
%x{
|
282
|
+
return {
|
283
283
|
nodeName: tag_name,
|
284
284
|
attributes: js_attributes,
|
285
285
|
children: children,
|
286
286
|
key: js_attributes.key
|
287
287
|
}
|
288
288
|
}
|
289
|
-
ret
|
290
289
|
end
|
291
290
|
end
|
292
291
|
end
|
data/lib/ovto/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yutaka HARA
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
@@ -83,14 +83,25 @@ files:
|
|
83
83
|
- book/api/middleware.md
|
84
84
|
- book/api/pure_component.md
|
85
85
|
- book/api/state.md
|
86
|
+
- book/book.toml
|
86
87
|
- book/guides/debugging.md
|
87
88
|
- book/guides/development.md
|
88
89
|
- book/guides/install.md
|
89
90
|
- book/guides/tutorial.md
|
90
91
|
- book/ovtologo.png
|
91
92
|
- book/screenshot.png
|
93
|
+
- docs/.nojekyll
|
94
|
+
- docs/404.html
|
95
|
+
- docs/FontAwesome/css/font-awesome.css
|
96
|
+
- docs/FontAwesome/fonts/FontAwesome.ttf
|
97
|
+
- docs/FontAwesome/fonts/fontawesome-webfont.eot
|
98
|
+
- docs/FontAwesome/fonts/fontawesome-webfont.svg
|
99
|
+
- docs/FontAwesome/fonts/fontawesome-webfont.ttf
|
100
|
+
- docs/FontAwesome/fonts/fontawesome-webfont.woff
|
101
|
+
- docs/FontAwesome/fonts/fontawesome-webfont.woff2
|
92
102
|
- docs/api/Array.html
|
93
103
|
- docs/api/Hash.html
|
104
|
+
- docs/api/MightyInspect.html
|
94
105
|
- docs/api/Ovto.html
|
95
106
|
- docs/api/Ovto/Actions.html
|
96
107
|
- docs/api/Ovto/App.html
|
@@ -129,36 +140,46 @@ files:
|
|
129
140
|
- docs/api/pure_component.html
|
130
141
|
- docs/api/state.html
|
131
142
|
- docs/api/top-level-namespace.html
|
132
|
-
- docs/
|
133
|
-
- docs/
|
134
|
-
- docs/
|
135
|
-
- docs/
|
136
|
-
- docs/
|
137
|
-
- docs/
|
138
|
-
- docs/
|
139
|
-
- docs/
|
140
|
-
- docs/
|
141
|
-
- docs/
|
142
|
-
- docs/
|
143
|
-
- docs/
|
144
|
-
- docs/
|
145
|
-
- docs/
|
146
|
-
- docs/
|
147
|
-
- docs/
|
148
|
-
- docs/
|
149
|
-
- docs/
|
150
|
-
- docs/
|
151
|
-
- docs/
|
152
|
-
- docs/
|
153
|
-
- docs/
|
143
|
+
- docs/ayu-highlight.css
|
144
|
+
- docs/book.js
|
145
|
+
- docs/book.toml
|
146
|
+
- docs/clipboard.min.js
|
147
|
+
- docs/css/chrome.css
|
148
|
+
- docs/css/general.css
|
149
|
+
- docs/css/print.css
|
150
|
+
- docs/css/variables.css
|
151
|
+
- docs/elasticlunr.min.js
|
152
|
+
- docs/favicon.png
|
153
|
+
- docs/favicon.svg
|
154
|
+
- docs/fonts/OPEN-SANS-LICENSE.txt
|
155
|
+
- docs/fonts/SOURCE-CODE-PRO-LICENSE.txt
|
156
|
+
- docs/fonts/fonts.css
|
157
|
+
- docs/fonts/open-sans-v17-all-charsets-300.woff2
|
158
|
+
- docs/fonts/open-sans-v17-all-charsets-300italic.woff2
|
159
|
+
- docs/fonts/open-sans-v17-all-charsets-600.woff2
|
160
|
+
- docs/fonts/open-sans-v17-all-charsets-600italic.woff2
|
161
|
+
- docs/fonts/open-sans-v17-all-charsets-700.woff2
|
162
|
+
- docs/fonts/open-sans-v17-all-charsets-700italic.woff2
|
163
|
+
- docs/fonts/open-sans-v17-all-charsets-800.woff2
|
164
|
+
- docs/fonts/open-sans-v17-all-charsets-800italic.woff2
|
165
|
+
- docs/fonts/open-sans-v17-all-charsets-italic.woff2
|
166
|
+
- docs/fonts/open-sans-v17-all-charsets-regular.woff2
|
167
|
+
- docs/fonts/source-code-pro-v11-all-charsets-500.woff2
|
154
168
|
- docs/guides/debugging.html
|
155
169
|
- docs/guides/development.html
|
156
170
|
- docs/guides/install.html
|
157
171
|
- docs/guides/tutorial.html
|
172
|
+
- docs/highlight.css
|
173
|
+
- docs/highlight.js
|
158
174
|
- docs/index.html
|
175
|
+
- docs/mark.min.js
|
159
176
|
- docs/ovtologo.png
|
177
|
+
- docs/print.html
|
160
178
|
- docs/screenshot.png
|
161
|
-
- docs/
|
179
|
+
- docs/searcher.js
|
180
|
+
- docs/searchindex.js
|
181
|
+
- docs/searchindex.json
|
182
|
+
- docs/tomorrow-night.css
|
162
183
|
- examples/sinatra/Gemfile
|
163
184
|
- examples/sinatra/Gemfile.lock
|
164
185
|
- examples/sinatra/README.md
|
@@ -213,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
234
|
- !ruby/object:Gem::Version
|
214
235
|
version: '0'
|
215
236
|
requirements: []
|
216
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.4.10
|
217
238
|
signing_key:
|
218
239
|
specification_version: 4
|
219
240
|
summary: Simple client-side framework for Opal
|
Binary file
|
Binary file
|