mumuki-gobstones-runner 1.6.0 → 1.6.1

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: 9496d7c5a67e0f21e32ad029f1ea57d3e247d2a355fca98d9dedb8ce02e323ac
4
- data.tar.gz: 0d42d8bf920dd649f54ac2705012f3ab4a23ffc1b07249fd1ad99efa8a07dce2
3
+ metadata.gz: d334d129610bab422ddf5f11b5dce55b87450d22917c70cc80562076e086f241
4
+ data.tar.gz: 00d0fa88e016ea4a5afdf8e6108a911276252b4cc07fd39017326588e6d8376e
5
5
  SHA512:
6
- metadata.gz: 8800718454321a1533216d96bc66df34ffed2e751385a9e387f867608a902a33ec67ca1630918e3df03b9e08182df621c48b0f9b3a4adcd3893166b420ef9371
7
- data.tar.gz: 87a9e6c0001cf61fd910c59eca4dffb40858eb716f774aa21ef282dc71839fd7764879e6dcf6e9bc7141b95be6cc066fbd4f9a03368948099d0817a67d8239a3
6
+ metadata.gz: 790216f2e5a0a823eed7ea99996b953ed4a230938657c0445ba07d393a7de6f24b02a6abff3aa459e797326a5ba160c906c78daa788a61b7140e734f2e53b80a
7
+ data.tar.gz: 32640cdaab617eedd40111b8a38bd96dd5c7ce2437e184018068d2c811b9e90412ce3adf3a70402fd56a1dbd1b92ce7941e7b70e7cb37eb876cda85a79e736f4
@@ -43,4 +43,5 @@ class Mumukit::Server::App < Sinatra::Base
43
43
  get_local_asset 'editor/editor.js', 'lib/render/editor/editor.js', 'application/javascript'
44
44
  get_local_asset 'editor/editor.css', 'lib/render/editor/editor.css', 'text/css'
45
45
  get_local_asset 'editor/editor.html', 'lib/render/editor/editor.html', 'text/html'
46
+ get_local_asset 'boom.png', 'lib/public/boom.png', 'image/png'
46
47
  end
@@ -38,7 +38,7 @@
38
38
  <p class="title"><%=I18n.t it.title %></p>
39
39
  <p>
40
40
  <% if it.board.boom %>
41
- <img src=<%= "#{Mumukit.runner_url}/boom.png" %> />
41
+ <img src=<%= "#{Mumukit.runner_url}/assets/boom.png" %> />
42
42
  <% else %>
43
43
  <gs-board>
44
44
  <%= it.board.gbb %>
@@ -229,6 +229,7 @@
229
229
  const teacherCode = editor.getTeacherCode() || "";
230
230
  const finalBoard = this._getTargetBoard();
231
231
  const solution = { content: xml };
232
+ const executionSpeed = 2;
232
233
 
233
234
  this._cleanState();
234
235
  this._cleanErrors(finalBoard);
@@ -260,7 +261,7 @@
260
261
  const { region } = error.on;
261
262
  if (region) this._showError(region, error);
262
263
  }
263
- });
264
+ }, executionSpeed);
264
265
  },
265
266
 
266
267
  _onStop: function(event) {
@@ -1,3 +1,3 @@
1
1
  module GobstonesVersionHook
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
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: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Alfonso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-01 00:00:00.000000000 Z
11
+ date: 2018-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit