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 +4 -4
- data/lib/capistrano/tasks/withrsync.rake +1 -1
- data/lib/capistrano/withrsync/version.rb +1 -1
- data/lib/capistrano/withrsync.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1f63b8e34f6b36e17cc7f1aa3bb12f16f5911b8
|
4
|
+
data.tar.gz: a17e0538c3f58d3f6e3fa141490f338320d63544
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/capistrano/withrsync.rb
CHANGED
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.
|
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-
|
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.
|
104
|
+
rubygems_version: 2.5.1
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Capistrano with rsync
|