fulmar-shell 1.6.2 → 1.6.3
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c1acac594cb0b7d7044327dbefc7e4cbfcc36b27
|
4
|
+
data.tar.gz: 5ba8e3ec38a21216c8a99446594a2ce2e1a8b723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da6abbe2ce52514309bfda7d1a851b8089ab4731fc8c72d2e9ad1ebadf5f7b39eaa4238ccc9dde1017874398aa9a88860c857ceb8a6629af8cd24c116d6a19a7
|
7
|
+
data.tar.gz: 35ea5d125329b23f5d57646b5f747b5a268f51e0aee36239c35feb2da9f87d898e5c452875ab757dc9853768716209280b10ebd8305583873934b6ca69a3f9ca
|
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.3'
|
9
9
|
|
10
10
|
attr_accessor :debug, :last_output, :last_error, :quiet, :strict
|
11
11
|
attr_reader :path
|
@@ -16,7 +16,7 @@ module Fulmar
|
|
16
16
|
}
|
17
17
|
|
18
18
|
def initialize(path = '.', host = 'localhost')
|
19
|
-
@host = host
|
19
|
+
@host = host.nil? ? 'no_hostname_set' : host
|
20
20
|
@path = (path.nil? || path.empty?) ? '.' : path
|
21
21
|
@path = File.expand_path(@path) if local?
|
22
22
|
@last_output = []
|
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.3
|
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-
|
11
|
+
date: 2016-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|