fulmar-shell 1.6.4 → 1.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fulmar/shell.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7810fba54d3f23b84bd4bc1d15c118988e7291e0
|
4
|
+
data.tar.gz: 0d2af139e40a4fbbd3c1ac2dae3076c6d6bacf36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8394d66a6f60345b823293df3690d4baa292a894b8cd8e02cc0cde9786295c3c7b3cb988fbef9b4424eb6dc6536ffe18887837081440f926c446b830f476394
|
7
|
+
data.tar.gz: 4a4978989c7698155c40e4b3e66b66f40e2b7beaeeb5a23fb101270efca515a978d37a1847c24c153817e1f36f7100224bebaab4e53854432bfe743e8f7495a2
|
data/lib/fulmar/shell.rb
CHANGED
@@ -5,7 +5,7 @@ require 'open3'
|
|
5
5
|
module Fulmar
|
6
6
|
# Implements simple access to shell commands
|
7
7
|
class Shell
|
8
|
-
VERSION = '1.6.
|
8
|
+
VERSION = '1.6.5'
|
9
9
|
|
10
10
|
attr_accessor :debug, :last_output, :last_error, :quiet, :strict
|
11
11
|
attr_reader :path
|
@@ -99,7 +99,7 @@ module Fulmar
|
|
99
99
|
Open3.popen3(environment, command) do |_stdin, stdout, stderr, wait_thread|
|
100
100
|
Thread.new do
|
101
101
|
stdout.each do |line|
|
102
|
-
@last_output << line
|
102
|
+
@last_output << line.strip
|
103
103
|
puts line unless @quiet
|
104
104
|
end
|
105
105
|
end
|