capistrano-s3_archive 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: 1210ac80b01f28cf4cd2c22deeabf5cf35f66e9c68b5867f2b1be67fddca7346
4
- data.tar.gz: 285abded5a2e47063f3517811cdd19b12bc181f80e1ffdd60eedd099e1f057be
3
+ metadata.gz: 98207150dd4b36e1db121d13d8e65600a56ab69fdc76ee00d3631a9c5b375006
4
+ data.tar.gz: 1244b8a8ddd17d92b57f7b8e5bdba416ebc6a78e03806c307f44b6bd958f2bec
5
5
  SHA512:
6
- metadata.gz: 6d6b6e0ac4c0a7d75e76fecb5c4735d76e49ab4523010e5ffb2162f33a95552073ced675544611cea57d39976900d194398ba2a1157807fa71a0bff3020c6b88
7
- data.tar.gz: 07056ae9a786875a197e2a0cd1a323a255d654e962e75b35d411735ddc8cd97c86115c50a91c36a13af888777bda058aaf9cb020e79ce2b559133ef2224d5182
6
+ metadata.gz: c0949eb72ab4e3d67e27ce1dc399c3cd0813652943fe371d4713f460a696d28af4256f2d3cc9a9df28987c0a14fb132a816ee08bb3db0ac331e9f7867d1243ff
7
+ data.tar.gz: f5ad8fbc697b9e5cdb3be45610c86b1cfb0dad8dc7faf7abd5f02f93ac3f4cfa3cf4d8951293dc990c165bde8f9bcdf892421ce390be3c0efe18007c13ba1a13
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module S3Archive
3
- VERSION = "1.0.2".freeze
3
+ VERSION = "1.0.3".freeze
4
4
  end
5
5
  end
@@ -51,7 +51,7 @@ module Capistrano
51
51
  return if downloaded_files.count <= keep
52
52
 
53
53
  remove_keys = (downloaded_files - downloaded_files.last(keep)).map { |f| File.basename(f, '.*') }.flat_map { |f| ["#{f}*", ".#{f}*"] }
54
- to_be_removes = Dir.glob(remove_keys, base: download_dir)
54
+ to_be_removes = Dir.glob(remove_keys, base: download_dir).map { |f| File.join(download_dir, f) }
55
55
 
56
56
  remove(to_be_removes, force: true, verbose: true)
57
57
  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: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuto Komazaki