aws-sdk-s3 1.149.0 → 1.150.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +4 -3
- data/lib/aws-sdk-s3/object_multipart_copier.rb +10 -8
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41399520da04f62c1599a7b75b76f20c7870f86d864e85e5d9c2d03a54c249e6
|
4
|
+
data.tar.gz: 3ca62b88c0db37447b083618ca31ba41c9311cf079b89a1713c100fed8236da2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cb666a3f9dbddee3fa0026806badc816d666a8a76bd870439b7acce710c463aa9deef8b592665df6a7691c060ea5d80ca65c8c784342e6085f1da398a7491d8
|
7
|
+
data.tar.gz: 75831cc1a6cafa8c7fc9f48fe1bb8c59a6ddaf8d7f469498840e1040e9e20416960c3f76c7e44002408736550d3af6888663e120f777920d2062e30b4d1cff2e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.150.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.149.1 (2024-05-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Fix bug where destination bucket default encryption was inadvertently overridden by source object encryption.
|
13
|
+
|
4
14
|
1.149.0 (2024-04-30)
|
5
15
|
------------------
|
6
16
|
|
@@ -167,7 +177,7 @@ Unreleased Changes
|
|
167
177
|
1.123.2 (2023-06-12)
|
168
178
|
------------------
|
169
179
|
|
170
|
-
* Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
|
180
|
+
* Issue - Fix issue when decrypting noncurrent versions of objects when using client side encryption (#2866).
|
171
181
|
|
172
182
|
1.123.1 (2023-06-02)
|
173
183
|
------------------
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.150.0
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -403,8 +403,9 @@ module Aws::S3
|
|
403
403
|
#
|
404
404
|
# @option options [String] :sdk_ua_app_id
|
405
405
|
# A unique and opaque application ID that is appended to the
|
406
|
-
# User-Agent header as app
|
407
|
-
# maximum length of 50.
|
406
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
407
|
+
# maximum length of 50. This variable is sourced from environment
|
408
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
408
409
|
#
|
409
410
|
# @option options [String] :secret_access_key
|
410
411
|
#
|
@@ -18827,7 +18828,7 @@ module Aws::S3
|
|
18827
18828
|
params: params,
|
18828
18829
|
config: config)
|
18829
18830
|
context[:gem_name] = 'aws-sdk-s3'
|
18830
|
-
context[:gem_version] = '1.
|
18831
|
+
context[:gem_version] = '1.150.0'
|
18831
18832
|
Seahorse::Client::Request.new(handlers, context)
|
18832
18833
|
end
|
18833
18834
|
|
@@ -138,9 +138,7 @@ module Aws
|
|
138
138
|
end
|
139
139
|
|
140
140
|
def source_metadata(options)
|
141
|
-
if options[:content_length]
|
142
|
-
return { content_length: options.delete(:content_length) }
|
143
|
-
end
|
141
|
+
return options.slice(:content_length) if options[:content_length]
|
144
142
|
|
145
143
|
client = options[:copy_source_client] || @client
|
146
144
|
|
@@ -150,11 +148,15 @@ module Aws
|
|
150
148
|
bucket, key = options[:copy_source].match(/([^\/]+?)\/(.+)/)[1,2]
|
151
149
|
end
|
152
150
|
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
151
|
+
head_opts = { bucket: bucket, key: CGI.unescape(key) }.tap { |opts|
|
152
|
+
opts[:version_id] = version_id if version_id
|
153
|
+
opts[:part_number] = options[:part_number] if options[:part_number]
|
154
|
+
}
|
155
|
+
|
156
|
+
client.head_object(head_opts).to_h.tap { |head|
|
157
|
+
head.delete(:server_side_encryption)
|
158
|
+
head.delete(:ssekms_key_id)
|
159
|
+
}
|
158
160
|
end
|
159
161
|
|
160
162
|
def default_part_size(source_size)
|
data/lib/aws-sdk-s3.rb
CHANGED
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.150.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: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|