mumuki-gobstones-runner 2.3.1 → 2.4.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: 8bc4b18dd54af6689bd494200f05be7987c537025773a3c2b99dd95830888442
4
- data.tar.gz: 44b3c91a9c6187bcf03f46e0da25c19e3c6065201d9f90985f5da209ee13e319
3
+ metadata.gz: 5e5f0bbddc0e0ffa0891a05a2e7febd090fcf62aa0b2ca475519a11701d0ca24
4
+ data.tar.gz: b42308f0752f337488b8def7625dacc89ddecbc44ca57cfb556f75f3101cc721
5
5
  SHA512:
6
- metadata.gz: 27da2a4d30c136bad102c20e044d53fa6124f82696b06a5d318f92d2ea0f0dc8be2bf00caaedbb6385e03e1d3b1a3e67f5ffb1094ee08074dd3c3ca300c9898a
7
- data.tar.gz: 3a5592b074f7d6d5c30a5e75174aba80487d003f87adc5fbfc095ce3d40821efeb8ab9cdbbb16236248e23406939d92281bface92f68253862cca9880347e060
6
+ metadata.gz: ee7ce11f786fb507a58b6e58ca919fc10b79c53bb2c7548c30897eb08f814d7bf9eed16051287505d6c8ce6b0a40f33b58b530365841c124281a46dbbc6289db
7
+ data.tar.gz: 6c478ee0a4df82fbcf43ede1abc16468dc41597d6a71836071ac33f95762ab863e55853dee41d7f54c117a09df02ff5e1602ac852c26889aacdd5ddd31db0fa1
data/lib/metadata_hook.rb CHANGED
@@ -24,7 +24,8 @@ class GobstonesMetadataHook < Mumukit::Hook
24
24
  ],
25
25
  css: [
26
26
  'assets/editor/editor.css'
27
- ]
27
+ ],
28
+ shows_loading_content: true
28
29
  },
29
30
  test_framework: {
30
31
  name: 'metatest',
@@ -187,6 +187,9 @@
187
187
 
188
188
  this._subscribeToWorkspace(blockly, updateFields);
189
189
  });
190
+ if(mumuki.assetsLoadedFor && !$('gs-toolbox').length) {
191
+ mumuki.assetsLoadedFor('editor');
192
+ }
190
193
  });
191
194
  };
192
195
 
@@ -530,7 +533,7 @@
530
533
 
531
534
  const targetStateIndex = this.multipleScenarios.currentScenarioIndex;
532
535
  this.targetState = this.initialState[targetStateIndex];
533
-
536
+
534
537
  const promise = new mumuki.bridge.Laboratory()
535
538
  .runTests(solution)
536
539
  .then((results) => {
@@ -800,6 +803,7 @@
800
803
  $.get(this.toolboxUrl, function (toolboxXml) {
801
804
  blockly.toolbox = { defaultToolbox: toolboxXml };
802
805
  editor.setTeacherActions(blockly);
806
+ mumuki.assetsLoadedFor && mumuki.assetsLoadedFor('editor');
803
807
  });
804
808
  }
805
809
  });
@@ -956,12 +960,12 @@
956
960
  flex-grow: 1;
957
961
  padding: 1px;
958
962
  }
959
-
963
+
960
964
  .gs-keyboard-keys-container {
961
965
  display: flex;
962
966
  flex-wrap: wrap;
963
967
  }
964
-
968
+
965
969
  </style>
966
970
 
967
971
  <template>
data/lib/version_hook.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '2.3.1'
2
+ VERSION = '2.4.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.3.1
4
+ version: 2.4.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-05-23 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
209
  - !ruby/object:Gem::Version
210
210
  version: '0'
211
211
  requirements: []
212
- rubygems_version: 3.0.3
212
+ rubygems_version: 3.0.4
213
213
  signing_key:
214
214
  specification_version: 4
215
215
  summary: Gobstones Runner for Mumuki