capistrano-withrsync 0.2.1 → 0.2.2

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: 2c09d258c9d63932124da700112e278f7e6efc0e
4
- data.tar.gz: 63d2bf9b21bb3d8f09e4b03e63f7c4d36fecf55e
3
+ metadata.gz: b1f63b8e34f6b36e17cc7f1aa3bb12f16f5911b8
4
+ data.tar.gz: a17e0538c3f58d3f6e3fa141490f338320d63544
5
5
  SHA512:
6
- metadata.gz: 08f5c15cf08f050eaffe19ca246d71f3b2ca4cbd30300a46b6d70c18ebdfd04930ad237149728998f30dfc23418618539cae04d7ce4d9fda29bde19f53bada56
7
- data.tar.gz: 957ebbbbf074a1c509aef8e3e418bff88cdee18578e70e10bf5926c759b25236654316c8d2f2868d644605ca973c3a2e77803aa6147ae06b75a7c5e860342b87
6
+ metadata.gz: 92d56e18ac4c0ecdadb4983403cdbf63fb87f9bc1ef69ce4742eee448fc41db796dac1d61ced716af9d387da8b9639d9a6f9cc1a1bdcc1dac1ce3a86e5ca061d
7
+ data.tar.gz: 8d3856bea902a339613854b8455f8999a8f766eb050c0aa0bfb17df22b1c17f00bc00bb8f55c3488163b9cfac185fc043c8f19fcfce49d8e9f219219201ecc7e
@@ -92,7 +92,7 @@ namespace :rsync do
92
92
  user = "#{role.user}@" if !role.user.nil?
93
93
  rsync_options = "#{fetch(:rsync_options).join(' ')}"
94
94
  rsync_from = "#{fetch(:rsync_src)}/"
95
- rsync_to = "#{user}#{role.hostname}:#{fetch(:rsync_dest_fullpath) || release_path}"
95
+ rsync_to = Shellwords.escape("#{user}#{role.hostname}:#{fetch(:rsync_dest_fullpath) || release_path}")
96
96
 
97
97
  unless rsync_to == last_rsync_to
98
98
  execute :rsync, rsync_options, rsync_from, rsync_to
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Withrsync
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
@@ -1,5 +1,6 @@
1
1
  require 'capistrano/withrsync/version'
2
2
  require 'capistrano/withrsync/rake/task'
3
+ require 'shellwords'
3
4
  load File.expand_path('../tasks/withrsync.rake', __FILE__)
4
5
 
5
6
  module Capistrano
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-withrsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  version: '0'
102
102
  requirements: []
103
103
  rubyforge_project:
104
- rubygems_version: 2.4.5
104
+ rubygems_version: 2.5.1
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Capistrano with rsync