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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 068a508ca863ded3b6ccc3d0d6c7be72d48f61f8
4
- data.tar.gz: b8477103e9f9333a80f36f7a4e756b3c076ff20b
3
+ metadata.gz: 60c46ca844f506d407a8e0213bb41f0d5f855a7b
4
+ data.tar.gz: 412d6f526a614ade7dc162725e7f1ab3ab4e528d
5
5
  SHA512:
6
- metadata.gz: c40ab28305fedc0a318eb9127033a09f1f63a6a6403344499bb954b11e097567812b59146c8715b0a40867d53fa028de8323e95f8e781d3e39908aff8432f9d0
7
- data.tar.gz: 0aec56e4493c627386bd95969e298fba44d5504eea5177a146abdad0a6a75f459a814520e14885d9ca7034773369a1a3cac91e42b09621ec5d75248727bb7b57
6
+ metadata.gz: a1cccc44bb0b8b8d43efc5f338a7f0fe64c4992c43dea5f9afc7d819ed3938cf2341de6fb6fa5d88f9db5e0305cae5dddd81073658d6d7a9450a2a88e7336d65
7
+ data.tar.gz: 5da75bf7227de78a1e398d8ebaba4b5e71b7eea3aa6456f27934934dbc111751de010943a9432df9f95fd1dbf536670195ae8f79bc8adf9fb7e1442869d2650d
@@ -17,7 +17,7 @@
17
17
  module Kitchen
18
18
  module Transport
19
19
  module Rsync
20
- VERSION = '0.1.0'
20
+ VERSION = '0.1.1'
21
21
  end
22
22
  end
23
23
  end
@@ -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.0
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-07-08 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen