mumuki-javascript-runner 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/javascript_runner.rb +1 -0
- data/lib/test_hook.rb +8 -2
- data/lib/version.rb +3 -0
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: faf55127c684fb7f6fb851ae8116cfecd7aac8c5
|
4
|
+
data.tar.gz: a4d2b4dcc3b6bb9daebd8d7111688fafd3fb4b1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b33d523c211cb4115d342f6ae0557e5cf482344eafb19dd33bbe31c4c978e0a943460fc90280f9644a7a92cbf200b7451f45ecdb12cd5b95049c37cb435c2b3
|
7
|
+
data.tar.gz: 57e7ca9ccd3aa6912817b1a1ead91da4b64428f298dc9a07352e410fa743d44eaadb69cae016f0df0ad4339ba71c1e9833d3c8dbe22d8177deebb9c3a9191a73
|
data/lib/javascript_runner.rb
CHANGED
data/lib/test_hook.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class JavascriptTestHook < Mumukit::Templates::FileHook
|
2
2
|
isolated true
|
3
|
-
structured true
|
3
|
+
structured true, separator: '!!!JAVASCRIPT-MUMUKI-OUTPUT!!!'
|
4
4
|
|
5
5
|
def compile_file_content(request)
|
6
6
|
<<javascript
|
@@ -10,7 +10,13 @@ var assert = require('assert');
|
|
10
10
|
|
11
11
|
#{request.extra}
|
12
12
|
#{request.content}
|
13
|
-
|
13
|
+
describe('', function() {
|
14
|
+
after(function() {
|
15
|
+
console.log("!!!JAVASCRIPT-MUMUKI-OUTPUT!!!");
|
16
|
+
});
|
17
|
+
#{request.test}
|
18
|
+
})
|
19
|
+
|
14
20
|
javascript
|
15
21
|
end
|
16
22
|
|
data/lib/version.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-javascript-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.12'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
26
|
+
version: '2.12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -106,6 +106,7 @@ files:
|
|
106
106
|
- lib/metadata_hook.rb
|
107
107
|
- lib/query_hook.rb
|
108
108
|
- lib/test_hook.rb
|
109
|
+
- lib/version.rb
|
109
110
|
homepage: http://github.com/mumuki/mumuki-javascript-server
|
110
111
|
licenses:
|
111
112
|
- MIT
|
@@ -126,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
127
|
version: '0'
|
127
128
|
requirements: []
|
128
129
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.6.
|
130
|
+
rubygems_version: 2.6.14
|
130
131
|
signing_key:
|
131
132
|
specification_version: 4
|
132
133
|
summary: Javascript Runner for Mumuki
|