serverless_redirector 0.4 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverless_redirector/destination.rb +1 -1
- data/lib/serverless_redirector/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0728ae9619bf7bdb0690bd8ea83f504627cb910a'
|
4
|
+
data.tar.gz: 7bbe2b978a0a14dc54e644942a63a3515dd10466
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f776262c88b431aab735276749a8973466cad9826799cce9f1addc4746074fbda8a49e5d9f4b4780224213b181bcb02c512bb836f3b623740380632427283b9
|
7
|
+
data.tar.gz: 2a2bedb83eca54735730c53baec574149b2ef53ea7fd93a2f7508c1c161d1141d836bdc744262f6427c2ff0a71e45db4dabba8ceafcd0e587eebeeb87c3f3f97
|
@@ -103,7 +103,7 @@ module ServerlessRedirector
|
|
103
103
|
@bucket ||= begin
|
104
104
|
client = Aws::S3::Client.new
|
105
105
|
region = @options['region'] || begin
|
106
|
-
constraint =
|
106
|
+
constraint = client.get_bucket_location(
|
107
107
|
bucket: bucket_name,
|
108
108
|
).location_constraint
|
109
109
|
|