lib/wordmove/hosts/local_host.rb in wordmove-0.0.7 vs lib/wordmove/hosts/local_host.rb in wordmove-0.0.8
- old
+ new
@@ -8,13 +8,9 @@
attr_reader :ssh_extras
def initialize(options = {})
@options = Hashie::Mash.new(options)
@logger = @options[:logger]
- @ssh_extras = {}
- [ :port, :password ].each do |p|
- @ssh_extras.merge!( { p => @options.ssh[p] } ) if @options.ssh and @options.ssh[p]
- end
end
def run(*args)
command = shell_command(*args)
logger.verbose "Executing locally #{command}"