mumuki-bash-runner 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/try_hook.rb +2 -7
- data/lib/version_hook.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c600b3f27aedc49732dccafa97a32ae10aa7296db177e80c86ea9407e6c66044
|
4
|
+
data.tar.gz: e1dd9bcfeb32292bc8cb5885f9800e13388ca2d8f4f223c4f157cdad61335147
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2081b4880f732b34e331185a40242bd67f4103351924c6b20d61ae3fb01caf7e3382d9f2384015709f681f11f5dcf9db1bdbe94052dc155b5db17bca0206cd38
|
7
|
+
data.tar.gz: 15b3c3c5168581b9f61d5a5cce0e5ff3b3b34f7dce3a4a936963b2d5528c1391235c18ecec03025da33bddc4642423eaddfe0da4a16ff57e4863f70b21f511fa
|
data/lib/try_hook.rb
CHANGED
@@ -39,7 +39,7 @@ bash
|
|
39
39
|
'!!!MUMUKI-GOAL-START!!!'
|
40
40
|
end
|
41
41
|
|
42
|
-
def
|
42
|
+
def to_structured_results(_file, result, status)
|
43
43
|
/#{extra_separator}
|
44
44
|
?(.*)
|
45
45
|
#{cookie_separator}
|
@@ -49,16 +49,11 @@ bash
|
|
49
49
|
#{goal_separator}
|
50
50
|
?(.*)
|
51
51
|
/m =~ result
|
52
|
-
|
53
|
-
results = {
|
52
|
+
{
|
54
53
|
query: to_query_result($3),
|
55
54
|
goal: $4,
|
56
55
|
status: status
|
57
56
|
}
|
58
|
-
|
59
|
-
check_results = check(results)
|
60
|
-
|
61
|
-
[check_results[2], check_results[1], results[:query]]
|
62
57
|
end
|
63
58
|
|
64
59
|
def to_query_result(query_output)
|
data/lib/version_hook.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-bash-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mumuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-16 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.17'
|
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.17'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.
|
127
|
+
rubygems_version: 2.7.2
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: bash Runner for Mumuki
|