shells 0.1.8 → 0.1.9

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
  SHA1:
3
- metadata.gz: ea9f3b33a7f702b90a070a65ed2733dfff093b3e
4
- data.tar.gz: 17c72a0e4d99b53d509aa5f0065768f552a89b0d
3
+ metadata.gz: 8031959f7c4931954cc4b0e994baeb07baacc525
4
+ data.tar.gz: 8b0bd0a83e7b57479e6077980a3cfd52caa446d5
5
5
  SHA512:
6
- metadata.gz: f177e564d9b6af1ec3eb911faf4ae66895302aeaef5a8c42774cd8c878b920b9b30d5a468c23adddae2e3767b2e67c0c25ecb68e2732a3fc2ad4e7b097e997da
7
- data.tar.gz: 19e5ea9eaedf5f8e86bc4e882e011c37e9aaddaa26cefdf0c83e8a6559ab0fa353f166f0edee8856b0fbc15ffc8b30f80ec272b411bb70c74cd2330506f8280f
6
+ metadata.gz: 38b3a86b03c3cb8c0fd65d8b5ac2682a4da231049951413ae86515d7aa3f85749ee5a1bcf40e7063d1f5893e8a155df1b14b06e47b87fa0c5c7b6777bd9a5644
7
+ data.tar.gz: 8ac8cb433b8165d26ef51ae24c3a5be4537c1ae208e6a218379d53a9548ce9f25c8a2903b1b428dd7b7924dcfddf8bdde76e1563aac41511b7bea2a4df882f53
@@ -346,7 +346,7 @@ module Shells
346
346
  options = { timeout_error: true }.merge(options)
347
347
  options = self.options.merge(options.inject({}) { |m,(k,v)| m[k.to_sym] = v; m })
348
348
  options[:retrieve_exit_code] = self.options[:retrieve_exit_code] if options[:retrieve_exit_code] == :default
349
- options[:on_non_zero_exit_code] = self.options[:on_non_zero_exit_code] unless options[:on_non_zero_exit_code] == :default
349
+ options[:on_non_zero_exit_code] = self.options[:on_non_zero_exit_code] unless [:raise, :ignore].include?(options[:on_non_zero_exit_code])
350
350
  options[:silence_timeout] = self.options[:silence_timeout] if options[:silence_timeout] == :default
351
351
  options[:command_timeout] = self.options[:command_timeout] if options[:command_timeout] == :default
352
352
  ret = ''
@@ -1,5 +1,5 @@
1
1
  module Shells
2
2
  ##
3
3
  # The current version of the gem.
4
- VERSION = "0.1.8"
4
+ VERSION = "0.1.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shells
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker