capistrano-net_storage-s3 0.2.0 → 0.2.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -0
- data/lib/capistrano/net_storage/s3/broker/aws_cli.rb +5 -5
- data/lib/capistrano/net_storage/s3/version.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: 14610afab4d9f5c54d0952bad4f26306ab1eabe4
|
|
4
|
+
data.tar.gz: 09d631a5add4f5a5e79c1ed20713e35a2bb9c32f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e38f578854a6fe47190e05298c6ee9f66a3184710e591d0ccbfdf80e3cf6fa5caa32fb751a7c7ad3bfc90c86f80d68f7c9976f20da1d8c014e08b3e348bd6e7
|
|
7
|
+
data.tar.gz: a7bb8332a0322eb50e39717e49c94da05f4a892a2bc471f8311c7c041b567a4407ad06469c7cfbc2452588bbea9664918fb0d185ac4809d2f07c213ab6cac238
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
[](https://badge.fury.io/rb/capistrano-net_storage-s3)
|
|
2
|
+
[](https://travis-ci.org/DeNADev/capistrano-net_storage-s3)
|
|
1
3
|
# Capistrano::NetStorage::S3
|
|
2
4
|
|
|
3
5
|
**Capistrano::NetStorage::S3** is a transport plugin of
|
|
@@ -12,10 +12,10 @@ class Capistrano::NetStorage::S3::Broker::AwsCLI < Capistrano::NetStorage::S3::B
|
|
|
12
12
|
if capture_aws_s3('ls', config.archive_url)
|
|
13
13
|
set :net_storage_uploaded_archive, true
|
|
14
14
|
end
|
|
15
|
-
rescue SSHKit::
|
|
15
|
+
rescue SSHKit::StandardError
|
|
16
16
|
c = config
|
|
17
|
-
|
|
18
|
-
info "Archive is not found
|
|
17
|
+
run_locally do
|
|
18
|
+
info "Archive is not found as #{c.archive_url}"
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
|
|
@@ -45,7 +45,7 @@ class Capistrano::NetStorage::S3::Broker::AwsCLI < Capistrano::NetStorage::S3::B
|
|
|
45
45
|
|
|
46
46
|
def execute_aws_s3(cmd, *args)
|
|
47
47
|
c = config
|
|
48
|
-
|
|
48
|
+
run_locally do
|
|
49
49
|
with(c.aws_environments) do
|
|
50
50
|
execute :aws, 's3', cmd, *args
|
|
51
51
|
end
|
|
@@ -54,7 +54,7 @@ class Capistrano::NetStorage::S3::Broker::AwsCLI < Capistrano::NetStorage::S3::B
|
|
|
54
54
|
|
|
55
55
|
def capture_aws_s3(cmd, *args)
|
|
56
56
|
c = config
|
|
57
|
-
|
|
57
|
+
run_locally do
|
|
58
58
|
with(c.aws_environments) do
|
|
59
59
|
capture :aws, 's3', cmd, *args
|
|
60
60
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-net_storage-s3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- progrhyme
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano-net_storage
|