capistrano-rsync-bladrak 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/rsync.rb +6 -1
- data/lib/capistrano/rsync/version.rb +1 -1
- 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: cba7e3c9526a9113d23af3d0e948982a9874b187
|
4
|
+
data.tar.gz: b5131aea92c4df7f1e841f3d0ae327627adee9ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 078ed2cd8ab3084283067ec07b75c3ff05a263db66163193c602091d64d195583d048825dcadc916f7ea0a5ed164bcd84d1f0c061668a19ba49ecbf162f0adc6
|
7
|
+
data.tar.gz: f4e48f5c22a2f13c0b86b4778bfe2685ce85bb91e3d2f444166a718618f148032f3f30331667df0bee4496e18ddff30f2c870c3f1b8ac4c98e5e4c365f71f2eb
|
data/lib/capistrano/rsync.rb
CHANGED
@@ -84,11 +84,16 @@ desc "Stage and rsync to the server (or its cache)."
|
|
84
84
|
task :rsync => %w[rsync:stage_done] do
|
85
85
|
on release_roles(:all) do |role|
|
86
86
|
user = role.user + "@" if !role.user.nil?
|
87
|
+
rsync_options = fetch(:rsync_options)
|
88
|
+
|
89
|
+
if !role.port.nil?
|
90
|
+
rsync_options.unshift("-e 'ssh -p #{role.port}'")
|
91
|
+
end
|
87
92
|
|
88
93
|
run_locally do
|
89
94
|
within fetch(:rsync_stage) do
|
90
95
|
execute :rsync,
|
91
|
-
|
96
|
+
rsync_options,
|
92
97
|
fetch(:rsync_target_dir),
|
93
98
|
"#{user}#{role.hostname}:#{rsync_cache.call || release_path}"
|
94
99
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-rsync-bladrak
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hugo Briand, Andri Möll
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|