capistrano-s3_archive 0.4.1 → 0.4.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/s3_archive/version.rb +1 -1
- data/lib/capistrano/s3_archive.rb +2 -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: d2e488e7dda654a95d83fb9971c56510f17b22bc
|
4
|
+
data.tar.gz: ff10ca9768576a97e114b46413aa5bbb05fd49fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa6318c80d0d105c2edc95afa89cd8ee9aada7f28d99c3715f93a8c79e32fcbf51b49704947c2fa25dc83b82a6169d5e9f5f07b257e7459485bce1e5595c862
|
7
|
+
data.tar.gz: 7ecaff5a54de117dc61ae501e99c70c4b9330a6bcb958cf836e9a03e3659e955d1005faf760ffdb602fcdcf0f3070202f35d305391a86dc5abb735906549299f
|
@@ -6,6 +6,7 @@ require "capistrano/s3_archive/version"
|
|
6
6
|
require 'capistrano/scm'
|
7
7
|
|
8
8
|
set_if_empty :rsync_options, ['-az --delete']
|
9
|
+
set_if_empty :rsync_ssh_options, []
|
9
10
|
set_if_empty :rsync_copy, "rsync --archive --acls --xattrs"
|
10
11
|
set_if_empty :rsync_cache, "shared/deploy"
|
11
12
|
set_if_empty :local_cache, "tmp/deploy"
|
@@ -152,7 +153,7 @@ module Capistrano
|
|
152
153
|
rsync.concat fetch(:rsync_options)
|
153
154
|
rsync << fetch(:local_cache_dir) + '/'
|
154
155
|
unless context.class == SSHKit::Backend::Local
|
155
|
-
rsync << "-e 'ssh -i #{key} #{ssh_port_option}'"
|
156
|
+
rsync << "-e 'ssh -i #{key} #{ssh_port_option} #{fetch(:rsync_ssh_options).join(' ')}'"
|
156
157
|
rsync << "#{user}#{server.hostname}:#{rsync_cache || release_path}"
|
157
158
|
else
|
158
159
|
rsync << '--no-compress'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-s3_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takuto Komazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|