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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 44fd52e58cce711a67fbebba7dcd3dd5bf87f065
4
- data.tar.gz: 8e2c50dc975e3ec20f97bf287f8d45c22aff4a87
2
+ SHA256:
3
+ metadata.gz: c600b3f27aedc49732dccafa97a32ae10aa7296db177e80c86ea9407e6c66044
4
+ data.tar.gz: e1dd9bcfeb32292bc8cb5885f9800e13388ca2d8f4f223c4f157cdad61335147
5
5
  SHA512:
6
- metadata.gz: aeb613f9c2ab011477767572305a4f0d38c50e2053c2a1c7d62d2ffd91d7fef5ae5638d9c3f6f7927e1895f1cdc88a04c0bbe5a35185dd338db4a0798aeadddb
7
- data.tar.gz: 2c5634b3fb09404652b0a0a74852bbef2a6ea2e87db54c6a5c068a4f6222831afb57fac95ec81fce957bd6dcfe5dcf5573df1bcc9e0ec97096d3966fbc74fce2
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 post_process_file(_file, result, status)
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
@@ -1,3 +1,3 @@
1
1
  module BashVersionHook
2
- VERSION = '1.0.0'
2
+ VERSION = '1.1.0'
3
3
  end
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.0.0
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-10-20 00:00:00.000000000 Z
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.16'
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.16'
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.5.1
127
+ rubygems_version: 2.7.2
128
128
  signing_key:
129
129
  specification_version: 4
130
130
  summary: bash Runner for Mumuki