mumuki-bash-runner 1.1.4 → 1.1.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: d8ad3d364d09c87130ce33e5bdf32ea1e94687ead6e097e0d887b30b89e3315b
4
- data.tar.gz: f6a5f35a6c0af33fe9065012ff1c916bcf3453e89e82bec4f04bfa9b9eccd4f5
3
+ metadata.gz: 75cb8099bffe2489bdacec2334253559b9815ca9cf3d57b7f35f8d9221ccf217
4
+ data.tar.gz: f043ee0a534b70ae789732e56909442cc9e9949fd97d16f8c90d27f6d72f5e9d
5
5
  SHA512:
6
- metadata.gz: c95a526416ebed40132ad6abd9b94f4d6861b98ebe5a6b9a46c8b37104b51cb4d4540f82552ae2f22d5fd53581e3faba325ada94f6e0c815ae1ca65778bdc45d
7
- data.tar.gz: 461b33a9ed7099aee7c1502b57f5c65bf97d4e0a4f92439f36712c3b57b23237cde0e6503f982c1b2d891e252e9e5addd104bf6b49b3c0e950ff4c837cb2e193
6
+ metadata.gz: ff7f1de0d892429986ec55731c5c1ce24c27acc99ab62afab20d4ce382c8a8d9b2f0c71da02e4f50774cfb473780f60e72fdb26f44ec55211cdc9858444f8c05
7
+ data.tar.gz: a412a38e106cba145d73b9e1c307416f2b095b5c206196d4071dcf88221e9dacd2c66d98a8a8a39c9b1b00d9552963a4c34abb33db4768e7de7fe74b3897bd09
@@ -57,6 +57,8 @@ bash
57
57
  end
58
58
 
59
59
  def to_query_result(query_output)
60
+ return {result: "<nothing>", status: :failed} if query_output.nil?
61
+
60
62
  result, _, status = query_output.rpartition("\n")
61
63
  status = status == '0' ? :passed : :failed
62
64
  {result: result, status: status}
@@ -1,3 +1,3 @@
1
1
  module BashVersionHook
2
- VERSION = '1.1.4'
2
+ VERSION = '1.1.5'
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.1.4
4
+ version: 1.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - mumuki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2019-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit
@@ -123,8 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubyforge_project:
127
- rubygems_version: 2.7.4
126
+ rubygems_version: 3.0.2
128
127
  signing_key:
129
128
  specification_version: 4
130
129
  summary: bash Runner for Mumuki