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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cbf5bb28664785bf9ea1a384556c236f946e8ef1
4
- data.tar.gz: b9ac023d966b26f19da89ec217846eb224a82849
3
+ metadata.gz: d2e488e7dda654a95d83fb9971c56510f17b22bc
4
+ data.tar.gz: ff10ca9768576a97e114b46413aa5bbb05fd49fe
5
5
  SHA512:
6
- metadata.gz: f8f6dbb133da988bd5714ee4c759912aa676bb5e7774f6b7305105461c533fbd827d76593a5ad3a5febb91fedf6a8a6f18a0d63e2bb53feee6743e44ca90bd05
7
- data.tar.gz: b10f8b817b1ba3a7a5db4f47b16b4d195d81ede139e3a8ea4bfdf3eb6a4ce62fdeb4aae70cfc1d0176350c5d824af9c8e1fbf35c25820f179567935756d53cd5
6
+ metadata.gz: 7fa6318c80d0d105c2edc95afa89cd8ee9aada7f28d99c3715f93a8c79e32fcbf51b49704947c2fa25dc83b82a6169d5e9f5f07b257e7459485bce1e5595c862
7
+ data.tar.gz: 7ecaff5a54de117dc61ae501e99c70c4b9330a6bcb958cf836e9a03e3659e955d1005faf760ffdb602fcdcf0f3070202f35d305391a86dc5abb735906549299f
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module S3Archive
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
5
5
  end
@@ -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.1
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-05-27 00:00:00.000000000 Z
11
+ date: 2016-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano