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 +4 -4
- data/lib/aws-sdk-resources/services/s3/object_copier.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efd670823612f4ba2890f705754d6479ad96f1f0
|
4
|
+
data.tar.gz: 00cd6e10275fe92a95b918a21566c4114e14925c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
84
|
-
|
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.
|
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.
|
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.
|
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:
|