aws-sdk-resources 2.2.23 → 2.2.24

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: 6a01b622bd2d85e55ec7ccec0a9dc9af44bb0797
4
- data.tar.gz: 8205da57ea4f8a925bdb76f892bb88f6d581ab1c
3
+ metadata.gz: efd670823612f4ba2890f705754d6479ad96f1f0
4
+ data.tar.gz: 00cd6e10275fe92a95b918a21566c4114e14925c
5
5
  SHA512:
6
- metadata.gz: 5058fefb5688a6805e4d49adc6f50c5c66049ac872e07967495f908ef46cdf9c5fd2ebbcc57bf9eed350d191716ae3b42adb900ced9f19964febb65c3e108d91
7
- data.tar.gz: 2ff596c2648cf4520e94a893453d8f2c4b7c881649549551bd921e66405293d9efedcf65e90dd11378cebdd8633b3355d26d691af43b669d8f31a8994254db9a
6
+ metadata.gz: b37b40371447e94c31408c0ed75be122bb65e24bd080f144dfef62b1757c0f174708253ec4bc0a2807f69bf8111007369d4c5a0117f6fd627cfdafcd73bc474a
7
+ data.tar.gz: 6f9bfe3a1ddd735fec1b0510ac792af36d04d4d8ffb8c1506e2a04fc39e6283b1559ce2cc76eaf1fca2dbb9dce99cfe8d9281e10ddd3592bdb8692a6e927d9f0
@@ -80,9 +80,10 @@ module Aws
80
80
  end
81
81
 
82
82
  if options[:copy_source_region]
83
- options[:copy_source_client] ||= S3::Client.new(
84
- @object.client.config.to_h.merge(region: options.delete(:copy_source_region))
85
- )
83
+ config = @object.client.config
84
+ config = config.each_pair.inject({}) { |h, (k,v)| h[k] = v; h }
85
+ config[:region] = options.delete(:copy_source_region)
86
+ options[:copy_source_client] ||= S3::Client.new(config)
86
87
  end
87
88
 
88
89
  options[:copy_source_client] ||= @object.client
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resources
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.23
4
+ version: 2.2.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.23
19
+ version: 2.2.24
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 2.2.23
26
+ version: 2.2.24
27
27
  description: Provides resource oriented interfaces and other higher-level abstractions
28
28
  for many AWS services. This gem is part of the official AWS SDK for Ruby.
29
29
  email: