uppy-s3_multipart 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/uppy/s3_multipart/app.rb +5 -0
- data/uppy-s3_multipart.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 701a2e46d55f76fb336473db225e298fad66daa9bd45fcef78aae4aedb928d3d
|
|
4
|
+
data.tar.gz: c157522695c642ba85aa702ffc68d24a5ae8df88eebf6a45033adfc704ddbc71
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf9903c90a654d59c1bc0f442a4e4510cf4fe309d6775a12870b93253742dfa84e3f8c5854f5c60cab87048324c959abfd11679d010899554ca0ed61f8f0ab0f
|
|
7
|
+
data.tar.gz: 4ffa1e3fdf4173754424e83d3e035b1cf6b71363198c6bfb29cf3507bd8599f16a724c6e9cee44f0942308cd345ca4973ff61eba9047e71516a7d849dc00c5b5
|
data/README.md
CHANGED
|
@@ -101,9 +101,9 @@ uploaded file data (this example assumes your temporary Shrine S3 storage has
|
|
|
101
101
|
`prefix: "cache"` set):
|
|
102
102
|
|
|
103
103
|
```js
|
|
104
|
-
uppy.on('upload-success', function (file,
|
|
104
|
+
uppy.on('upload-success', function (file, response) {
|
|
105
105
|
var uploadedFileData = JSON.stringify({
|
|
106
|
-
id: uploadURL.match(/\/cache\/([^\?]+)/)[1], // extract key without prefix
|
|
106
|
+
id: response.uploadURL.match(/\/cache\/([^\?]+)/)[1], // extract key without prefix
|
|
107
107
|
storage: 'cache',
|
|
108
108
|
metadata: {
|
|
109
109
|
size: file.size,
|
data/uppy-s3_multipart.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: uppy-s3_multipart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Janko Marohnić
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: roda
|
|
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
176
176
|
- !ruby/object:Gem::Version
|
|
177
177
|
version: '0'
|
|
178
178
|
requirements: []
|
|
179
|
-
rubygems_version: 3.0.
|
|
179
|
+
rubygems_version: 3.0.3
|
|
180
180
|
signing_key:
|
|
181
181
|
specification_version: 4
|
|
182
182
|
summary: Provides a Rack application that implements endpoints for the AwsS3Multipart
|