tus-server 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/tus/storage/s3.rb +2 -0
- data/tus-server.gemspec +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: 9a311eaa9b3d1a3081b3d0c2ade38825b8f392c9
|
4
|
+
data.tar.gz: 8bce1af5d6da40478f2f7fda210f38f43c65f679
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de7a065c14ed3b11b3ea50c67738d720bdca114af6c0ae6ef5692bad6bdb9389e761df105f037ada860518627d46448e3bbe76fef78ed7043b6f9af4031c46f1
|
7
|
+
data.tar.gz: 6fffa14a3bff247d01002e3a457521983d6d60e063235e500a5f7ad5965e685be3493e75d783affe3871a6d8fc47500253a1d7127117e60bc04a0fe45c299ad3
|
data/README.md
CHANGED
@@ -203,9 +203,9 @@ Tus::Server.opts[:storage].expire_files(expiration_date)
|
|
203
203
|
|
204
204
|
## Download
|
205
205
|
|
206
|
-
In addition to implementing the tus protocol, tus-ruby-server also comes with
|
207
|
-
|
208
|
-
the storage.
|
206
|
+
In addition to implementing the tus protocol, tus-ruby-server also comes with a
|
207
|
+
GET endpoint for downloading the uploaded file, which streams the file directly
|
208
|
+
from the storage.
|
209
209
|
|
210
210
|
The endpoint will automatically use the following `Upload-Metadata` values if
|
211
211
|
they're available:
|
@@ -291,7 +291,7 @@ So, depending on your requirements, you might want to avoid displaying the
|
|
291
291
|
uploaded file in the browser (making the user download the file directly from
|
292
292
|
the tus server), until it has been moved to a permanent storage. You might also
|
293
293
|
want to consider copying finished uploads to permanent storage directly from
|
294
|
-
the underlying tus storage, instead of downloading
|
294
|
+
the underlying tus storage, instead of downloading them through the app.
|
295
295
|
|
296
296
|
## Inspiration
|
297
297
|
|
data/lib/tus/storage/s3.rb
CHANGED
data/tus-server.gemspec
CHANGED