capistrano-s3_archive 0.5.0 → 0.5.1

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
  SHA1:
3
- metadata.gz: f4841cbbd83f35e5827733a6640b5c43de4783d3
4
- data.tar.gz: 9950f891d4c208c92a5a5158c159f818613218cd
3
+ metadata.gz: 80c7f0bb70cdaf632da2cbbc37b7880783b151a6
4
+ data.tar.gz: 65a8d5ca543d7e5ad83f3cd631a97c24ad244134
5
5
  SHA512:
6
- metadata.gz: 10beb3c0f542359c4f95668d68059bf386fc5c3f306051e2ad3404f59f13a7cdc3fca2564e88c186b83a2fe8ea9891e4fa5f005fb58213c2dd012826339ecde8
7
- data.tar.gz: 5baec8a0189e2243a984318914fdbe47ddd31a0222a69b50abed295253a3cbce90ee0a9e8fd8cf23fadc99d1f9e6855b0e9d2b6f88e22bfbd902cfeebdae4c6c
6
+ metadata.gz: 7691ac639904b6ae3c3bb4a9121717097c5ae4ba5e23fc5e254b8e8feccf36488600025c4c6d9aed1fe771b6bb0bcb8b1b4df495040940d38289cc3ab382ae48
7
+ data.tar.gz: d045a7cc5015fe2e0a73eddbfae4d0b9afb7c0dc8687e5dc1cb117db72c27f43f180d7f5599a55899edcd374591a3a95c9fbb86bfd3b4850550eabddf2e26510
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.required_ruby_version = '>= 2.0.0'
22
- spec.add_dependency 'capistrano', '~> 3.0'
22
+ spec.add_dependency 'capistrano', '~> 3.6.0'
23
23
  spec.add_dependency 'aws-sdk-core', '~> 2.0'
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.9"
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module S3Archive
3
- VERSION = "0.5.0"
3
+ VERSION = "0.5.1"
4
4
  end
5
5
  end
@@ -58,7 +58,7 @@ module Capistrano
58
58
  when :master, :latest, nil
59
59
  latest_object_key
60
60
  else
61
- [object_prefix, fetch(:branch)].join('/')
61
+ [object_prefix, fetch(:branch)]
62
62
  end
63
63
  end
64
64
 
@@ -73,7 +73,7 @@ module Capistrano
73
73
 
74
74
  def parse_s3_uri(uri)
75
75
  pathes = uri.split('://')[1].split('/')
76
- [pathes.first, pathes.drop(1).join('/')]
76
+ [pathes.first, pathes.drop(1).push('').join('/')]
77
77
  end
78
78
 
79
79
  ### Default strategy
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.5.0
4
+ version: 0.5.1
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-09-09 00:00:00.000000000 Z
11
+ date: 2017-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: 3.6.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: 3.6.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: aws-sdk-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -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.5.1
112
+ rubygems_version: 2.6.8
113
113
  signing_key:
114
114
  specification_version: 4
115
115
  summary: Capistrano deployment from an archive on Amazon S3.