wordmove-sshbump 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ module Wordmove
14
14
 
15
15
  def session
16
16
  logger.verbose "Connecting to #{options.ssh.host}..." unless @session.present?
17
- @session ||= Net::SSH.start(options.ssh.host, options.ssh.username, @ssh_options )
17
+ @session ||= Net::SSH.start(options.ssh.host, options.ssh.username, @ssh_extras )
18
18
  end
19
19
 
20
20
  def close
@@ -23,13 +23,13 @@ module Wordmove
23
23
 
24
24
  def upload_file(source_file, destination_file)
25
25
  logger.verbose "Copying remote #{source_file} to #{destination_file}..."
26
- Net::SCP.download!(options.ssh.host, options.ssh.username, source_file, destination_file, @ssh_options )
26
+ Net::SCP.download!(options.ssh.host, options.ssh.username, source_file, destination_file, @ssh_extras )
27
27
  end
28
28
 
29
29
  def download_file(source_file, destination_file)
30
30
  logger.verbose "Copying local #{source_file} to #{destination_file}..."
31
- puts "SSH options: #{@ssh_options.inspect}"
32
- Net::SCP.upload!(options.ssh.host, options.ssh.username, source_file, destination_file, @ssh_options )
31
+ puts "SSH options: #{@ssh_extras.inspect}"
32
+ Net::SCP.upload!(options.ssh.host, options.ssh.username, source_file, destination_file, @ssh_extras )
33
33
  end
34
34
 
35
35
  def download_dir(source_dir, destination_dir)
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordmove-sshbump
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stefano Verna