capistrano-s3_archive 0.1.2 → 0.2.0
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a65462e28020e98554628d02a2bc8a109970fa4
|
4
|
+
data.tar.gz: 361c7fe4058246b23d276252063257622c30e2b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2066614fc32d715b597ddac1a00db38d74ab33bb8b6558669031600ceeb58a1e1d7f0ec0ea43e9c227be29c95ee4b7ebb67aae96edfda652f98047b2c5b5539d
|
7
|
+
data.tar.gz: f133689db1b32b029505f5fb0064c91d24fd9ae9a7d9a8acf197a95129ee1b65751b00c7782a8d6950137b7136f04dc3beba3ebdc06ac07febd71adfd7b1dc5d
|
@@ -100,11 +100,12 @@ module Capistrano
|
|
100
100
|
def release(server = context.host)
|
101
101
|
user = server.user + '@' unless server.user.nil?
|
102
102
|
key = server.keys.first || Array(server.ssh_options[:keys]).first
|
103
|
+
ssh_port_option = server.port.nil? ? '' : "-p #{server.port}"
|
103
104
|
|
104
105
|
rsync = ['rsync']
|
105
106
|
rsync.concat fetch(:rsync_options)
|
106
107
|
rsync << fetch(:local_cache_dir) + '/'
|
107
|
-
rsync << "-e 'ssh -i #{key}'"
|
108
|
+
rsync << "-e 'ssh -i #{key} #{ssh_port_option}'"
|
108
109
|
rsync << "#{user}#{server.hostname}:#{rsync_cache || release_path}"
|
109
110
|
|
110
111
|
run_locally do
|
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
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takuto Komazaki
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.4.5
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Capistrano deployment from an archive on Amazon S3.
|