utopia-project 0.14.0 → 0.15.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/utopia/project/document.rb +1 -1
- data/lib/utopia/project/version.rb +1 -1
- data/pages/_header.xnode +1 -1
- data/pages/index.xnode +1 -1
- data/public/.nojekyll +0 -0
- data/public/_components/jquery-syntax/base/jquery.syntax.brush.xml.css +17 -0
- data/public/_components/jquery-syntax/jquery.syntax.core.js +2 -2
- data/public/_static/links.js +1 -1
- data/public/_static/site.css +24 -2
- metadata +24 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b291760470f3fac6826c055b7541f19dae489777f8e936dcb5426e236eb458a8
|
4
|
+
data.tar.gz: '09d320eadae6e0feed0ad04da6f2b6ce0d1be30b7c2571cca96215e27d881a37'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 447a3b0cd6dd9323a75e8198265c9cb559a52693d5bb18d774d25071b39e23df5f540daa8194b5a730ce8375b948287adea0cd1b79b196a397fd5e88f79b002b
|
7
|
+
data.tar.gz: abead9c8e587061805d96ed5f2549ce87f0aacbe5b25d0c62b4389f4a5830015155ca298e769942375fe487102d508e4e3a2cb3537b3bf5dd219c163c146c2b2
|
data/pages/_header.xnode
CHANGED
data/pages/index.xnode
CHANGED
data/public/.nojekyll
ADDED
File without changes
|
@@ -16,3 +16,20 @@
|
|
16
16
|
color: #666;
|
17
17
|
background-color: #ddd;
|
18
18
|
border-radius: 0.5em; }
|
19
|
+
|
20
|
+
@media (prefers-color-scheme: dark) {
|
21
|
+
.syntax-theme-base .xml .cdata-content {
|
22
|
+
color: #a46; }
|
23
|
+
.syntax-theme-base .xml .xml-tag, .syntax-theme-base .xml .cdata {
|
24
|
+
color: #c59de7; }
|
25
|
+
.syntax-theme-base .xml .tag-name, .syntax-theme-base .xml .cdata-tag {
|
26
|
+
color: #9ae; }
|
27
|
+
.syntax-theme-base .xml .namespace {
|
28
|
+
color: #c59de7; }
|
29
|
+
.syntax-theme-base .xml .attribute {
|
30
|
+
color: #c59de7; }
|
31
|
+
.syntax-theme-base .xml .instruction {
|
32
|
+
color: #c59de7; }
|
33
|
+
.syntax-theme-base .xml .entity, .syntax-theme-base .xml .percent-escape {
|
34
|
+
color: #999;
|
35
|
+
background-color: #333; } }
|
@@ -9,8 +9,8 @@ Syntax.lib.camelCaseType={pattern:/\b_*[A-Z][\w]*\b/g,klass:"type"};Syntax.lib.c
|
|
9
9
|
Syntax.lib.doubleQuotedString={pattern:/"([^\\"\n]|\\.)*"/g,klass:"string"};Syntax.lib.singleQuotedString={pattern:/'([^\\'\n]|\\.)*'/g,klass:"string"};Syntax.lib.multiLineDoubleQuotedString={pattern:/"([^\\"]|\\.)*"/g,klass:"string"};Syntax.lib.multiLineSingleQuotedString={pattern:/'([^\\']|\\.)*'/g,klass:"string"};Syntax.lib.stringEscape={pattern:/\\./g,klass:"escape",only:["string"]};
|
10
10
|
Syntax.Match=function(b,a,c,d){this.offset=b;this.endOffset=b+a;this.length=a;this.expression=c;this.value=d;this.children=[];this.next=this.parent=null};Syntax.Match.prototype.shift=function(b,a){this.adjust(b,null,a);for(var c=0;c<this.children.length;c++)this.children[c].shift(b,a)};Syntax.Match.prototype.adjust=function(b,a,c){this.offset+=b;this.endOffset+=b;a&&(this.length=a,this.endOffset=this.offset+a);c&&(this.value=c.substr(this.offset,this.length))};
|
11
11
|
Syntax.Match.sort=function(b,a){return b.offset-a.offset||a.length-b.length};Syntax.Match.prototype.contains=function(b){return b.offset>=this.offset&&b.endOffset<=this.endOffset};Syntax.Match.defaultReduceCallback=function(b,a){"string"===typeof b&&(b=document.createTextNode(b));a.appendChild(b)};
|
12
|
-
Syntax.Match.prototype.reduce=function(b,a){var c=this.offset
|
13
|
-
this.offset,g-c);b(c,d);b(f.reduce(b,a),d);c=f.endOffset}c===this.offset?b(this.value,d):c<this.endOffset?b(this.value.substr(c-this.offset,this.endOffset-c),d):c>this.endOffset&&console.log("Syntax Warning: Start position "+c+" exceeds end of value "+this.endOffset);a&&(d=a(d,this));return d};
|
12
|
+
Syntax.Match.prototype.reduce=function(b,a){var c=this.offset;var d=this.expression&&this.expression.element?this.expression.element.cloneNode(!1):document.createElement("span");b=b||Syntax.Match.defaultReduceCallback;this.expression&&this.expression.klass&&(0<d.className.length&&(d.className+=" "),d.className+=this.expression.klass);this.className&&(d.className+=" ",d.className+=this.className);for(var e=0;e<this.children.length;e+=1){var f=this.children[e],g=f.offset;f.offset<this.offset&&console.log("Syntax Warning: Offset of child",
|
13
|
+
f,"is before offset of parent",this);c=this.value.substr(c-this.offset,g-c);b(c,d);b(f.reduce(b,a),d);c=f.endOffset}c===this.offset?b(this.value,d):c<this.endOffset?b(this.value.substr(c-this.offset,this.endOffset-c),d):c>this.endOffset&&console.log("Syntax Warning: Start position "+c+" exceeds end of value "+this.endOffset);a&&(d=a(d,this));return d};
|
14
14
|
Syntax.Match.prototype.canContain=function(b){return b.expression.force?!0:this.complete?!1:b.expression.only?!0:"undefined"===typeof this.expression.allow||jQuery.isArray(this.expression.disallow)&&-1!==jQuery.inArray(b.expression.klass,this.expression.disallow)?!1:"*"===this.expression.allow||jQuery.isArray(this.expression.allow)&&-1!==jQuery.inArray(b.expression.klass,this.expression.allow)?!0:!1};
|
15
15
|
Syntax.Match.prototype.canHaveChild=function(b){if(b=b.expression.only){for(var a=this;null!==a;){if(-1!==jQuery.inArray(a.expression.klass,b))return!0;if((a=a.parent)&&a.complete)break}return!1}return!0};Syntax.Match.prototype._splice=function(b,a){return this.canHaveChild(a)?(this.children.splice(b,0,a),a.parent=this,a.expression.owner||(a.expression.owner=this.expression.owner),this):null};
|
16
16
|
Syntax.Match.prototype.insert=function(b,a){if(!this.contains(b))return null;if(a){a=this;for(var c=0;c<a.children.length;)a.children[c].contains(b)?(a=a.children[c],c=0):c+=1;return a._insertWhole(b)}return this._insert(b)};
|
data/public/_static/links.js
CHANGED
@@ -6,11 +6,11 @@ jQuery(function() {
|
|
6
6
|
document.createTextNode("¶")
|
7
7
|
);
|
8
8
|
|
9
|
-
anchor.title = element.innerText;
|
10
9
|
anchor.href = "#" + element.id;
|
11
10
|
anchor.className = "self";
|
12
11
|
|
13
12
|
let heading = element.firstChild;
|
13
|
+
anchor.title = heading.innerText;
|
14
14
|
|
15
15
|
heading.appendChild(
|
16
16
|
document.createTextNode(' ')
|
data/public/_static/site.css
CHANGED
@@ -6,6 +6,8 @@ html {
|
|
6
6
|
/* Fix odd text-size in `display: flex` elements on Safari iOS */
|
7
7
|
text-size-adjust: 100%;
|
8
8
|
-webkit-text-size-adjust: 100%;
|
9
|
+
|
10
|
+
line-height: 1.5;
|
9
11
|
}
|
10
12
|
|
11
13
|
@media (min-width: 40em) {
|
@@ -48,7 +50,7 @@ html {
|
|
48
50
|
--main-color: #111;
|
49
51
|
--main-background-color: #fff;
|
50
52
|
|
51
|
-
--header-color: #
|
53
|
+
--header-color: #dfebff;
|
52
54
|
--underlay-color: #ddd;
|
53
55
|
|
54
56
|
--accent-color: #1a73e8;
|
@@ -131,7 +133,10 @@ footer {
|
|
131
133
|
|
132
134
|
h1, h2, h3, h4, h5, h6, p, pre, ul, dl, ol {
|
133
135
|
margin: 1rem;
|
134
|
-
|
136
|
+
}
|
137
|
+
|
138
|
+
pre {
|
139
|
+
margin: 2rem 1rem;
|
135
140
|
}
|
136
141
|
|
137
142
|
h1 span {
|
@@ -237,3 +242,20 @@ figure.youtube-wrapper iframe {
|
|
237
242
|
height: 100%;
|
238
243
|
border: 0;
|
239
244
|
}
|
245
|
+
|
246
|
+
table {
|
247
|
+
width: 100%;
|
248
|
+
margin: 1rem;
|
249
|
+
|
250
|
+
border-collapse: collapse;
|
251
|
+
width: calc(100% - 2rem);
|
252
|
+
}
|
253
|
+
|
254
|
+
table thead {
|
255
|
+
background-color: var(--header-color);
|
256
|
+
border-bottom: 0.2rem solid var(--accent-color);
|
257
|
+
}
|
258
|
+
|
259
|
+
table tr:hover {
|
260
|
+
background-color: var(--header-color);
|
261
|
+
}
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: utopia-project
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: decode
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0.13'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0.13'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: falcon
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0
|
33
|
+
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: markly
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
47
|
+
version: '0.5'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
54
|
+
version: '0.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rackula
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: thread-local
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,19 +81,19 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: utopia
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '2.14'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '2.14'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: async-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: bundler
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rack-test
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
@@ -164,23 +164,8 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: bake-bundler
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
167
|
description:
|
182
168
|
email:
|
183
|
-
- samuel.williams@oriontransfer.co.nz
|
184
169
|
executables: []
|
185
170
|
extensions: []
|
186
171
|
extra_rdoc_files: []
|
@@ -212,6 +197,7 @@ files:
|
|
212
197
|
- pages/source/controller.rb
|
213
198
|
- pages/source/index.xnode
|
214
199
|
- pages/source/show.xnode
|
200
|
+
- public/.nojekyll
|
215
201
|
- public/_components/jquery-litebox/jquery.litebox.css
|
216
202
|
- public/_components/jquery-litebox/jquery.litebox.gallery.css
|
217
203
|
- public/_components/jquery-litebox/jquery.litebox.js
|
@@ -295,15 +281,15 @@ homepage: https://socketry.github.io/utopia-project/
|
|
295
281
|
licenses:
|
296
282
|
- MIT
|
297
283
|
metadata:
|
298
|
-
source_code_uri: https://github.com/socketry/utopia-project/
|
299
284
|
funding_uri: https://github.com/sponsors/ioquatix/
|
285
|
+
source_code_uri: https://github.com/socketry/utopia-project/
|
300
286
|
post_install_message:
|
301
287
|
rdoc_options: []
|
302
288
|
require_paths:
|
303
289
|
- lib
|
304
290
|
required_ruby_version: !ruby/object:Gem::Requirement
|
305
291
|
requirements:
|
306
|
-
- - "
|
292
|
+
- - ">="
|
307
293
|
- !ruby/object:Gem::Version
|
308
294
|
version: '2.5'
|
309
295
|
required_rubygems_version: !ruby/object:Gem::Requirement
|