mumuki-laboratory 5.0.4 → 5.0.5

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: 671ee60830823f0301eef8aafaa45ec040415c9adfd11667007b67c9aaed3ba6
4
- data.tar.gz: e8d0260ff96651de3b565e992b7d7058aace3492e31cbaa6ed92e7672fc9f0d7
3
+ metadata.gz: 19fb9f79bdc471efd862821d51c15315f55ecaaf85fab05c420e6d8c062b5189
4
+ data.tar.gz: 2427bdb385155bcb03fb775a2067106497609126f29914bbb4c1ccc3be7842b2
5
5
  SHA512:
6
- metadata.gz: 07b307bfe44cb97a65707b35a6d8b02d2ecdd02305eecee516d3fa25251f40fb7047133b0c71efe84840930830b4f00bc5772b403011896bb250f0ee84930748
7
- data.tar.gz: 00588c70c4a8d2a90a9399bfbfc6c796ede51582fb7cd6002cd85c4e156f266bb701e1732e429068b38acb28c68391ca2936b0d0bdfe30ae3105da8c78aa64c9
6
+ metadata.gz: f4827bd7cf3356c26358f32444df93b1172ba6d229c589ce4373b4b11c33600fafaf5bfd2d8c602da915e846aa1b3e924de64c2b98a3af8e13f7a12d920ba2da
7
+ data.tar.gz: e79a6bbccef0fb7fe9d1d2dc44a8d339a0e857557887bbdbf9774e05707623b4b5596a3dc84a24adebf8060b9986340f3c2e08f99ee1d6ef1503736797d3f171
@@ -7,13 +7,15 @@ var mumuki = mumuki || {};
7
7
 
8
8
  Laboratory.prototype = {
9
9
  runTests: function (solution) {
10
- return $.ajax({
10
+ var token = new mumuki.CsrfToken();
11
+ var request = token.newRequest({
11
12
  type: 'POST',
12
13
  url: window.location + '/solutions',
13
14
  data: {
14
15
  solution: solution
15
16
  }
16
- })
17
+ });
18
+ return $.ajax(request)
17
19
  }
18
20
  };
19
21
 
@@ -1,5 +1,5 @@
1
1
  module Mumuki
2
2
  module Laboratory
3
- VERSION = '5.0.4'
3
+ VERSION = '5.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mumuki-laboratory
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.4
4
+ version: 5.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franco Bulgarelli