serverless_redirector 0.3.1 → 0.3.2
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: b68640dae93181b84d8dcd6d0fc75fdf3e53e71a
|
4
|
+
data.tar.gz: 2a293a710d0fa9e8f93fd2d7500afafe9e7a6c82
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1ed0c350ab04cc10f9bfb92ab4d71055c175c4ed8fe885abc6cf6dbbf222a0f0e4205f524dd7e04a95e324eb8d3e9b3bd39e4eeec60ea42b08e6c7cc67c6446
|
7
|
+
data.tar.gz: 3800ff3a21dfb0d8946a40b40b508b8beebc66ea49de7866b60a78cf031128540fc130d66142338aa79d1e67388c6a509646139e6392f63cb883d3311e67e32b
|
@@ -63,7 +63,7 @@ module ServerlessRedirector
|
|
63
63
|
@bucket_name = uri.host
|
64
64
|
@prefix = uri.path.to_s.empty? ? nil : ::File.join(uri.path[1..-1], "")
|
65
65
|
@options = CGI.parse(uri.query || "").each_with_object({}) do |(key, values), out|
|
66
|
-
out[key] = values.
|
66
|
+
out[key] = values.last
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|