stack_master 1.3.0 → 1.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/stack_master/aws_driver/s3.rb +2 -0
- data/lib/stack_master/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95e15942f9d3602d9e7c5ba3f48004b285bccb30fab4bca829739582a435b6f9
|
4
|
+
data.tar.gz: 6982d4d3c00e00cdea0ac5237024739a2672bbe576fb3e265a0bbfc163d5308a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd77263d4ea01921c1b1f82c75b2f86fd066f537897628d18c71204ab26e403dda32f69366e4a45d4688769753ed0ba1514a5492137c9a1e274d9a0d1c12af9d
|
7
|
+
data.tar.gz: 684a1c3870be5dfd9312dd2ce85a92039aab6cdc8add0f1f788003ae9402f7ea7355f61282eb33233e518f1d79df08251c2f9479435524a6586ec51432c0cf5f
|
@@ -51,6 +51,8 @@ module StackMaster
|
|
51
51
|
def url(bucket:, prefix:, region:, template:)
|
52
52
|
if region == 'us-east-1'
|
53
53
|
["https://s3.amazonaws.com", bucket, prefix, template].compact.join('/')
|
54
|
+
elsif region.start_with? "cn-"
|
55
|
+
["https://s3.#{region}.amazonaws.com.cn", bucket, prefix, template].compact.join('/')
|
54
56
|
else
|
55
57
|
["https://s3-#{region}.amazonaws.com", bucket, prefix, template].compact.join('/')
|
56
58
|
end
|
data/lib/stack_master/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stack_master
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Hodgkiss
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-03-
|
12
|
+
date: 2018-03-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|