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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fulmar/shell.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9beb9b166c466a701a241d610f0b913999d6030b
4
- data.tar.gz: da3c8374fc76fbd3aa7a68d7af8adbc00604ed23
3
+ metadata.gz: c1acac594cb0b7d7044327dbefc7e4cbfcc36b27
4
+ data.tar.gz: 5ba8e3ec38a21216c8a99446594a2ce2e1a8b723
5
5
  SHA512:
6
- metadata.gz: c31e732144cc432c4dd6a9a5ab37af123ded2024dc53fbc4469358b4467b35ffb7ee64c74cd4d1f1965f630d80b5ad4111cf7acf86e234f6e7162d6fa638fb2d
7
- data.tar.gz: 6b64b3e79d2481f300d5879b21728dc1a85004d5b5d1d2817301b3de51dd29594d48a50124a9b7ef160bb2dd2d91802f93fee2a3314d0c4bce445d4a46aca30a
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.2'
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.2
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-05-31 00:00:00.000000000 Z
11
+ date: 2016-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler