echo_uploads 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/echo_uploads/s3_store.rb +1 -2
- data/lib/echo_uploads/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: 7086c285ae5905f29a59ae8e2675a8820d49c875
|
4
|
+
data.tar.gz: 010c31e48dc2e3cb06b16cd5339c2ad51912aa4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43585ca7ae69e01347f98db5754fc9e224c6d67c79b8aa5fd64d929b0b9d85635b7051dfc3dd1b04bc94d1b7b7e2f25b5b6d845a48f83250f7e8dc55bebd6048
|
7
|
+
data.tar.gz: eaf7053b6f0e06be2558c55b09ec8287c030a7c461ce64329278125da374d60e6d118817c42a98702d0fc38f94b2db37ffb4934abdf2bbab5d486f9b24dcdb4f
|
@@ -17,8 +17,7 @@ module EchoUploads
|
|
17
17
|
|
18
18
|
def url(key, options = {})
|
19
19
|
options = {method: :get}.merge(options)
|
20
|
-
|
21
|
-
URI.parse url_str
|
20
|
+
bucket.object(path(key)).presigned_url options.delete(:method), options
|
22
21
|
end
|
23
22
|
|
24
23
|
def write(key, file, metadata)
|
data/lib/echo_uploads/version.rb
CHANGED