kitchen-transport-rsync 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen-transport-rsync/version.rb +1 -1
- data/lib/kitchen/transport/rsync.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60c46ca844f506d407a8e0213bb41f0d5f855a7b
|
4
|
+
data.tar.gz: 412d6f526a614ade7dc162725e7f1ab3ab4e528d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1cccc44bb0b8b8d43efc5f338a7f0fe64c4992c43dea5f9afc7d819ed3938cf2341de6fb6fa5d88f9db5e0305cae5dddd81073658d6d7a9450a2a88e7336d65
|
7
|
+
data.tar.gz: 5da75bf7227de78a1e398d8ebaba4b5e71b7eea3aa6456f27934934dbc111751de010943a9432df9f95fd1dbf536670195ae8f79bc8adf9fb7e1442869d2650d
|
@@ -39,7 +39,7 @@ module Kitchen
|
|
39
39
|
recursive = File.directory?(local)
|
40
40
|
execute("mkdir -p #{full_remote}") if recursive
|
41
41
|
time = Benchmark.realtime do
|
42
|
-
ssh_command = [login_command.command, login_command.arguments].flatten.join(' ')
|
42
|
+
ssh_command = [login_command.command, login_command.arguments[0..-2]].flatten.join(' ')
|
43
43
|
sync_command = "rsync -e '#{ssh_command}' -a#{@logger.debug? ? 'v' : ''}z #{local} #{@session.options[:user]}@#{@session.host}:#{remote}"
|
44
44
|
@logger.debug("[RSYNC] Running rsync command: #{sync_command}")
|
45
45
|
system(sync_command)
|
@@ -51,4 +51,4 @@ module Kitchen
|
|
51
51
|
|
52
52
|
end
|
53
53
|
end
|
54
|
-
end
|
54
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-transport-rsync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ilja Bobkevic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|