lib/fulmar/shell.rb in fulmar-shell-1.6.2 vs lib/fulmar/shell.rb in fulmar-shell-1.6.3

- old
+ new

@@ -3,21 +3,21 @@ # This shell is part of the fulmar deployment tools # it can be used stand-alone, though module Fulmar # Implements simple access to shell commands class Shell - VERSION = '1.6.2' + VERSION = '1.6.3' attr_accessor :debug, :last_output, :last_error, :quiet, :strict attr_reader :path DEFAULT_OPTIONS = { login: false, bundler: true # } def initialize(path = '.', host = 'localhost') - @host = host + @host = host.nil? ? 'no_hostname_set' : host @path = (path.nil? || path.empty?) ? '.' : path @path = File.expand_path(@path) if local? @last_output = [] @last_error = [] @debug = false