mumuki-gobstones-runner 2.4.2 → 2.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets_server.rb +1 -0
- data/lib/metadata_hook.rb +2 -1
- data/lib/render/editor/editor.html +0 -24
- data/lib/render/layout/layout.html +25 -0
- data/lib/version_hook.rb +1 -1
- metadata +13 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cac300fd1a47b04646788843ddfecc79ff2884ded1f0fe5c487aa6be7a956847
|
4
|
+
data.tar.gz: '0483fa63493e187c1d7c11cc78f19d58a524bb11aa60180c6650e1c3b8848cf8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f504c3eac9f541416c2357ed1cd8da5adceb3ae4f24381cd3ecd473eae613d9742f8c5044c7e26c21230af9eab9b9a1ca46db761f91423d673142f62be604bd
|
7
|
+
data.tar.gz: ea1bd21dc36faedcfe18c49ec6d90e5953654b55d1c2433c4de8a55076660a1db33b0107701db85ef13ba6768c29ac7cd35f2f3fd9218b2bf50bae32cdbf9465
|
data/lib/assets_server.rb
CHANGED
@@ -22,6 +22,7 @@ class Mumukit::Server::App < Sinatra::Base
|
|
22
22
|
|
23
23
|
get_submit_asset 'editor/gobstones-code-runner.html', 'htmls/gobstones-code-runner.html', 'text/html'
|
24
24
|
|
25
|
+
get_local_asset 'layout/layout.html', 'lib/render/layout/layout.html', 'text/html'
|
25
26
|
get_local_asset 'editor/editor.js', 'lib/render/editor/editor.js', 'application/javascript'
|
26
27
|
get_local_asset 'editor/editor.css', 'lib/render/editor/editor.css', 'text/css'
|
27
28
|
get_local_asset 'editor/editor.html', 'lib/render/editor/editor.html', 'text/html'
|
data/lib/metadata_hook.rb
CHANGED
@@ -766,30 +766,6 @@
|
|
766
766
|
</script>
|
767
767
|
</dom-module>
|
768
768
|
|
769
|
-
<dom-module id="gs-attire">
|
770
|
-
<script>
|
771
|
-
Polymer({
|
772
|
-
is: 'gs-attire',
|
773
|
-
properties: {
|
774
|
-
attireUrl: Object,
|
775
|
-
observer: '_attireChanged'
|
776
|
-
},
|
777
|
-
|
778
|
-
attached: function () {
|
779
|
-
this._setAttire();
|
780
|
-
},
|
781
|
-
_attireChanged: function () {
|
782
|
-
this._setAttire();
|
783
|
-
},
|
784
|
-
_setAttire: function () {
|
785
|
-
$.getJSON(this.attireUrl, function (attire) {
|
786
|
-
GobstonesBoard && GobstonesBoard.setDefaultAttire(attire);
|
787
|
-
});
|
788
|
-
}
|
789
|
-
});
|
790
|
-
</script>
|
791
|
-
</dom-module>
|
792
|
-
|
793
769
|
<dom-module id="gs-toolbox">
|
794
770
|
<script>
|
795
771
|
Polymer({
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<dom-module id="gs-attire">
|
2
|
+
<script>
|
3
|
+
Polymer({
|
4
|
+
is: 'gs-attire',
|
5
|
+
properties: {
|
6
|
+
attireUrl: Object,
|
7
|
+
observer: '_attireChanged'
|
8
|
+
},
|
9
|
+
|
10
|
+
attached: function () {
|
11
|
+
this._setAttire();
|
12
|
+
},
|
13
|
+
_attireChanged: function () {
|
14
|
+
this._setAttire();
|
15
|
+
},
|
16
|
+
_setAttire: function () {
|
17
|
+
$.getJSON(this.attireUrl, function (attire) {
|
18
|
+
GobstonesBoard && GobstonesBoard.setDefaultAttire(attire);
|
19
|
+
});
|
20
|
+
}
|
21
|
+
});
|
22
|
+
</script>
|
23
|
+
</dom-module>
|
24
|
+
|
25
|
+
|
data/lib/version_hook.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-gobstones-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Alfonso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit
|
@@ -84,16 +84,22 @@ dependencies:
|
|
84
84
|
name: bundler
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '1.7'
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '3'
|
90
93
|
type: :development
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
93
96
|
requirements:
|
94
|
-
- - "
|
97
|
+
- - ">="
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: '1.7'
|
100
|
+
- - "<"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '3'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: rake
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -187,6 +193,7 @@ files:
|
|
187
193
|
- lib/render/editor/hammer.min.js
|
188
194
|
- lib/render/html_board.rb
|
189
195
|
- lib/render/html_renderer.rb
|
196
|
+
- lib/render/layout/layout.html
|
190
197
|
- lib/render/with_renderer.rb
|
191
198
|
- lib/test_hook.rb
|
192
199
|
- lib/version_hook.rb
|
@@ -209,7 +216,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
216
|
- !ruby/object:Gem::Version
|
210
217
|
version: '0'
|
211
218
|
requirements: []
|
212
|
-
|
219
|
+
rubyforge_project:
|
220
|
+
rubygems_version: 2.7.7
|
213
221
|
signing_key:
|
214
222
|
specification_version: 4
|
215
223
|
summary: Gobstones Runner for Mumuki
|