aws-sdk-s3 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 692c57b78b50b4a9b2013d2e5a80e2cb0ce1a7c0
4
- data.tar.gz: a80985068fb479ea33e59ae4eaece708e3b0ee40
3
+ metadata.gz: 6836d70999aaba4c87f091ab2e157316da7b6966
4
+ data.tar.gz: e290db1cc40d1cd9fe68b6209d4a79f84521add8
5
5
  SHA512:
6
- metadata.gz: e059c09120bf36df457653ea9e7b6fdc0ec27fe186c4c8c07f063543d2b682cc073921bf1d3c837ae2c4fbd14939e618b1f96f4bd83b89d9c8aa30d15de893b3
7
- data.tar.gz: 5bc6153cdfe5c6142ef6182bb66af8d1d9fdfe48b5377664f9d429b40888ec0e4c5ce494f093476085dda56d44a1c5f5da64fe9062dd3420a47d0b5fe963277d
6
+ metadata.gz: 50024603d4f00c97f7f0e6040cb67524f0326de8d297ac669f1ab23942b2b62687eb8b2093902f1901d204ae2a3276905addf95964f56b3f6ca86262b4c812a4
7
+ data.tar.gz: 1fa5d78cca024096d76b3073fe1a371cb603e1e2a31554254250fec4461cc17705c2174b4deb532e7cfd4c2d7db67ebac27c615d5d6685a023cbadddc0037291
@@ -61,6 +61,6 @@ require_relative 'aws-sdk-s3/customizations'
61
61
  # @service
62
62
  module Aws::S3
63
63
 
64
- GEM_VERSION = '1.1.0'
64
+ GEM_VERSION = '1.2.0'
65
65
 
66
66
  end
@@ -5868,7 +5868,7 @@ module Aws::S3
5868
5868
  params: params,
5869
5869
  config: config)
5870
5870
  context[:gem_name] = 'aws-sdk-s3'
5871
- context[:gem_version] = '1.1.0'
5871
+ context[:gem_version] = '1.2.0'
5872
5872
  Seahorse::Client::Request.new(handlers, context)
5873
5873
  end
5874
5874
 
@@ -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.1.0
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-01 00:00:00.000000000 Z
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