capistrano-s3_archive 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 270d0445f78fdccee13f4d069148a4c73fef1dd0
4
- data.tar.gz: 269e6176739259c329cd6c401ddc3326b6625317
3
+ metadata.gz: f0c2f58056bd8552f8dc6b3feff9af868df6c550
4
+ data.tar.gz: 98f46eeff9665e8dfdf01c369b1d6208a71116b5
5
5
  SHA512:
6
- metadata.gz: 150b7fea2b9bf4fe5c51a61d567252792c7435e7a0537a390c496bf9f4c6ea959286925e2b0f1a6942e35dba28b6b294dc84f19e976aa4626459e583e233ac81
7
- data.tar.gz: d8978b666b74a52d118f60323b427f282dde0332615b7c80c7b875d7e67c8a1a224da98144b99ef6d95e09aa5b2017da830343635b665c4fea89066430bc94df
6
+ metadata.gz: 01cccd3a44d787bb380adbd5311005f51c85d72da8c82c8bab102fde9750d7e909892e2ee154f048f33ac82be383af2b4701cebb15f03a91800f80dab0bd6b2b
7
+ data.tar.gz: 147565a03e19b8b2bc7ef447a6d59d3219afa7863d4640513859d16646e02bc94e29a4b854db629981f4dc28b546a6280907db15fa0ae12cf7853602890d6f91
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module S3Archive
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-s3_archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuto Komazaki