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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94fc619f2b6796542a4db2237410814d10768d61385c97b4b02a287e89b07a5e
4
- data.tar.gz: f21d46f395b03d2d7fd5832fb0a7fab09652b9a1be4b091eff12437d5b3531e4
3
+ metadata.gz: cac300fd1a47b04646788843ddfecc79ff2884ded1f0fe5c487aa6be7a956847
4
+ data.tar.gz: '0483fa63493e187c1d7c11cc78f19d58a524bb11aa60180c6650e1c3b8848cf8'
5
5
  SHA512:
6
- metadata.gz: 2142f02ca022f3cdb3ab5dec188590d2183aa6d228c9317d36a7c14ed2216e21cbbb8000dfe87566693b9d8481e7635be908c208d32e262d0854c6563999863f
7
- data.tar.gz: f5edc2d22b0e2fcf4bd02a77c3a909ede29c6c9449aa7339ff0c17e6d84d49faf9f6c924e0b9f977e5e058e56b6ffc69a7a8fd4e9925f1302f37f421a20a1daf
6
+ metadata.gz: 4f504c3eac9f541416c2357ed1cd8da5adceb3ae4f24381cd3ecd473eae613d9742f8c5044c7e26c21230af9eab9b9a1ca46db761f91423d673142f62be604bd
7
+ data.tar.gz: ea1bd21dc36faedcfe18c49ec6d90e5953654b55d1c2433c4de8a55076660a1db33b0107701db85ef13ba6768c29ac7cd35f2f3fd9218b2bf50bae32cdbf9465
@@ -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'
@@ -12,7 +12,8 @@ class GobstonesMetadataHook < Mumukit::Hook
12
12
  layout_assets_urls: {
13
13
  html: [
14
14
  'assets/polymer.html',
15
- 'assets/gs-board.html'
15
+ 'assets/gs-board.html',
16
+ 'assets/layout/layout.html'
16
17
  ]
17
18
  },
18
19
  editor_assets_urls: {
@@ -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
+
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '2.4.2'
2
+ VERSION = '2.5.0'
3
3
  end
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.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-09-10 00:00:00.000000000 Z
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
- rubygems_version: 3.0.6
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