s3_streaming_multipart_uploader 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/s3_streaming_multipart_uploader.rb +0 -2
- 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: 90bb1af5b8563efe0ef48a2398039b2ea5aac0ab
|
4
|
+
data.tar.gz: e51e28cf6f2d4875bd5f8711de9bbb9b0578746a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1af734176fad7bce679e94abb63f3e0381f25c2d2ea171d002a7563e6a1a6b81f90ca985dab3be28b57cf52b22c0b4fa821ff7e5fb9671ac99abdefb6e21acda
|
7
|
+
data.tar.gz: 62823920b6ad214b2f42a0abb0fdecfedbe13e766c3dd44cd819747d3a5b39d22ddbb15ebab856d948bd59c2d28714a5f026996a5e63f931a0beb7bccc67de07
|
@@ -29,7 +29,6 @@ class S3StreamingMultipartUploader
|
|
29
29
|
parts = stream_parts(upload_id)
|
30
30
|
complete(upload_id, parts)
|
31
31
|
rescue Aws::Errors::ServiceError => e
|
32
|
-
p e
|
33
32
|
abort(upload_id)
|
34
33
|
end
|
35
34
|
end
|
@@ -40,7 +39,6 @@ class S3StreamingMultipartUploader
|
|
40
39
|
buffer = ""
|
41
40
|
begin
|
42
41
|
while (chunck = @enumerator.next) && buffer << chunck && buffer.size <= @min_part_size
|
43
|
-
p "READ #{chunck.size} #{buffer.size}"
|
44
42
|
end
|
45
43
|
rescue StopIteration
|
46
44
|
end
|