aws-sdk-s3 1.1.0 → 1.2.0
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/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/object.rb +2 -2
- data/lib/aws-sdk-s3/object_summary.rb +2 -2
- data/lib/aws-sdk-s3/object_version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6836d70999aaba4c87f091ab2e157316da7b6966
|
4
|
+
data.tar.gz: e290db1cc40d1cd9fe68b6209d4a79f84521add8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50024603d4f00c97f7f0e6040cb67524f0326de8d297ac669f1ab23942b2b62687eb8b2093902f1901d204ae2a3276905addf95964f56b3f6ca86262b4c812a4
|
7
|
+
data.tar.gz: 1fa5d78cca024096d76b3073fe1a371cb603e1e2a31554254250fec4461cc17705c2174b4deb532e7cfd4c2d7db67ebac27c615d5d6685a023cbadddc0037291
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -554,12 +554,12 @@ module Aws::S3
|
|
554
554
|
# for the part specified. Useful for downloading just a part of an
|
555
555
|
# object.
|
556
556
|
# @return [Types::GetObjectOutput]
|
557
|
-
def get(options = {})
|
557
|
+
def get(options = {}, &block)
|
558
558
|
options = options.merge(
|
559
559
|
bucket: @bucket_name,
|
560
560
|
key: @key
|
561
561
|
)
|
562
|
-
resp = @client.get_object(options)
|
562
|
+
resp = @client.get_object(options, &block)
|
563
563
|
resp.data
|
564
564
|
end
|
565
565
|
|
@@ -397,12 +397,12 @@ module Aws::S3
|
|
397
397
|
# for the part specified. Useful for downloading just a part of an
|
398
398
|
# object.
|
399
399
|
# @return [Types::GetObjectOutput]
|
400
|
-
def get(options = {})
|
400
|
+
def get(options = {}, &block)
|
401
401
|
options = options.merge(
|
402
402
|
bucket: @bucket_name,
|
403
403
|
key: @key
|
404
404
|
)
|
405
|
-
resp = @client.get_object(options)
|
405
|
+
resp = @client.get_object(options, &block)
|
406
406
|
resp.data
|
407
407
|
end
|
408
408
|
|
@@ -226,13 +226,13 @@ module Aws::S3
|
|
226
226
|
# for the part specified. Useful for downloading just a part of an
|
227
227
|
# object.
|
228
228
|
# @return [Types::GetObjectOutput]
|
229
|
-
def get(options = {})
|
229
|
+
def get(options = {}, &block)
|
230
230
|
options = options.merge(
|
231
231
|
bucket: @bucket_name,
|
232
232
|
key: @object_key,
|
233
233
|
version_id: @id
|
234
234
|
)
|
235
|
-
resp = @client.get_object(options)
|
235
|
+
resp = @client.get_object(options, &block)
|
236
236
|
resp.data
|
237
237
|
end
|
238
238
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|