capistrano-s3_archive 0.3.0 → 0.3.1
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 +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0c2f58056bd8552f8dc6b3feff9af868df6c550
|
4
|
+
data.tar.gz: 98f46eeff9665e8dfdf01c369b1d6208a71116b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01cccd3a44d787bb380adbd5311005f51c85d72da8c82c8bab102fde9750d7e909892e2ee154f048f33ac82be383af2b4701cebb15f03a91800f80dab0bd6b2b
|
7
|
+
data.tar.gz: 147565a03e19b8b2bc7ef447a6d59d3219afa7863d4640513859d16646e02bc94e29a4b854db629981f4dc28b546a6280907db15fa0ae12cf7853602890d6f91
|
@@ -82,8 +82,8 @@ module Capistrano
|
|
82
82
|
tmp_file = "#{archive_file}.part"
|
83
83
|
fail "#{tmp_file} is found. Another process is running?" if File.exist?(tmp_file)
|
84
84
|
if not File.exist?(archive_file)
|
85
|
+
mkdir_p(File.dirname(archive_file))
|
85
86
|
File.open(tmp_file, 'w') do |f|
|
86
|
-
mkdir_p(File.dirname(archive_file))
|
87
87
|
content = get_object.body.read
|
88
88
|
f.write(content)
|
89
89
|
end
|