fulmar-shell 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fulmar/shell.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1de1d5a93bb20ed795b5051079a3e2610d6193ab
|
4
|
+
data.tar.gz: 2bab88e82aabdcf349e24a274acc665f2cd1bb7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a36f7b51c5465b433c54e643e3d412ec2e77e553400b0bf62bbba863dd4bd2c931724d9f761f2c96a92cd7982cf24d52401dfdb117739baa33a079d92a31b1c9
|
7
|
+
data.tar.gz: 4043e6f31752f9a2d9469e089c3ceecefa182232f6a4f5bd7f1d85018c00e2626a006237717f44c43427904b5b1178b4bdd59f1607623c217c01a75e69491805
|
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.4'
|
9
9
|
|
10
10
|
attr_accessor :debug, :last_output, :last_error, :quiet, :strict
|
11
11
|
attr_reader :path
|
@@ -22,7 +22,7 @@ module Fulmar
|
|
22
22
|
@last_output = []
|
23
23
|
@last_error = []
|
24
24
|
@debug = false
|
25
|
-
@quiet =
|
25
|
+
@quiet = true
|
26
26
|
@strict = false
|
27
27
|
@clean_environment = [] # list of things to clean from environment variables
|
28
28
|
end
|
@@ -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
|
-
@
|
102
|
+
@last_output << line
|
103
103
|
puts line unless @quiet
|
104
104
|
end
|
105
105
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fulmar-shell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerrit Visscher
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|