capistrano-s3_archive 0.4.3 → 0.4.4
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 +5 -7
- data/vagrant_example/config/deploy.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: 5fa901b0956e718fcf9c7955f1181608b2df84ce
|
4
|
+
data.tar.gz: 3214671ef8f41b30b08ec9521f730cf402233961
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af203a0d11eb4fea0a3109ce85a5180b9a2ca77b8886c6c82d050914db009ab5c25d921688d5f1edbb5faad378bab241e8d33cd224604198c778bc0d396f190a
|
7
|
+
data.tar.gz: 1fedff55f983f5158fb19daf1e33d954e515f31dc72adc3ef99caf146dae3da768b1c7e5d9037f7ed5ab665043e3ac79579ed9fdd11bbf06f61846e6cf67931e
|
@@ -167,13 +167,11 @@ module Capistrano
|
|
167
167
|
|
168
168
|
unless fetch(:rsync_cache).nil?
|
169
169
|
cache = rsync_cache
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
execute copy
|
176
|
-
end
|
170
|
+
link_option = if fetch(:hardlink) && test("[ `readlink #{current_path}` != #{release_path} ]")
|
171
|
+
"--link-dest `readlink #{current_path}`"
|
172
|
+
end
|
173
|
+
copy = %(#{fetch(:rsync_copy)} #{link_option} "#{cache}/" "#{release_path}/")
|
174
|
+
context.execute copy
|
177
175
|
end
|
178
176
|
end
|
179
177
|
|
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.4
|
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-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|