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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a80f3544c2f5a4920fcc6bfb3ff09a524549f028cba7a6736b0e761560599d73
4
- data.tar.gz: 2bee13731638f892921863c688c88e59fd4213e906c73afc1cc2434b3b36b4f7
3
+ metadata.gz: 95e15942f9d3602d9e7c5ba3f48004b285bccb30fab4bca829739582a435b6f9
4
+ data.tar.gz: 6982d4d3c00e00cdea0ac5237024739a2672bbe576fb3e265a0bbfc163d5308a
5
5
  SHA512:
6
- metadata.gz: b8b64ef00d94df9456194077d70386143a9722ffd52b04177c38eacd76805bd377a1116f5c29e70d346b730a758c57628404f4ad416210a4d224fc2590e72719
7
- data.tar.gz: fb8a380e0ac314af64e62e5395ec43a8550e1590080aa698ff150cc4ee6c90b508e521a1a9086e8837e4c3f000cf0d1a9d01e2e582c4a8d365077e8e38fa8b0d
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
@@ -1,3 +1,3 @@
1
1
  module StackMaster
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
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.0
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-01 00:00:00.000000000 Z
12
+ date: 2018-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler