mumukit-bridge 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/bridge/runner.rb +13 -0
- data/lib/mumukit/bridge/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 04758abd4f9c285f632d3bbcc2bb8c834133e70e
|
4
|
+
data.tar.gz: a25b40250ef9b7b9db72f00379d0028cb0f88f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f2b0e2c8f5be4ec7dfa1eadda90c4fc9e4f9f420f56678835401a3725460bc44094aa1032a86fee61940f7b7fdf8bd698fcda45afa2bde20001636414931fc
|
7
|
+
data.tar.gz: 6130f3b67995a6927579bab0a8dbad065b9ec22eea44cc2f0215db00ae6ee580d57ca642cde3b22f6f9a21e969bfbde93e7895eabae6e77eba80a5561c9aaa82
|
@@ -33,6 +33,19 @@ module Mumukit
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
+
def run_try!(request)
|
37
|
+
with_sever_response request, 'try' do |it|
|
38
|
+
{
|
39
|
+
status: it['exit'].to_sym,
|
40
|
+
result: it['out'],
|
41
|
+
query_result: it['queryResult'].try do |it |
|
42
|
+
{ status: it['status'].to_sym,
|
43
|
+
result: it['result'] }
|
44
|
+
end
|
45
|
+
}
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
36
49
|
def info
|
37
50
|
JSON.parse RestClient.get(
|
38
51
|
"#{test_runner_url}/info",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-bridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
115
115
|
version: '0'
|
116
116
|
requirements: []
|
117
117
|
rubyforge_project:
|
118
|
-
rubygems_version: 2.
|
118
|
+
rubygems_version: 2.6.14
|
119
119
|
signing_key:
|
120
120
|
specification_version: 4
|
121
121
|
summary: Library for connecting to a Mumuki test runner
|