wordmove-sshbump 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,6 +59,7 @@ module Wordmove
59
59
 
60
60
  arguments = [ "-azLK" ]
61
61
 
62
+ password_file = nil
62
63
  if options.ssh
63
64
  if options.ssh.password
64
65
  password_file = Tempfile.new('rsync_password')
@@ -75,7 +76,7 @@ module Wordmove
75
76
  arguments.flatten! # do we need this?
76
77
  locally_run "rsync", *arguments
77
78
 
78
- password_file.unlink
79
+ password_file.unlink if password_file
79
80
  exclude_file.unlink
80
81
  end
81
82
 
@@ -1,3 +1,3 @@
1
1
  module Wordmove
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Stefano Verna