aws-sdk-s3 1.199.0 → 1.199.1
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/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/customizations/object.rb +7 -1
- data/lib/aws-sdk-s3/transfer_manager.rb +7 -1
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efe40f953e63f4a396ff665d16447df9efd68b748c5a3e84df1eb3e5f409c86
|
4
|
+
data.tar.gz: e1960dc386627ee1fafd1d49c8f28af41e79a99c301bc6d45886ecebe7dfe65c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90ab3030dae414f3a8dc714a38f2d460d44c44142371e5d4505a645f141e25b23386014d5c1f0c0a5378b013dbcf9c600aececa9f43abae78a40baa27a539770
|
7
|
+
data.tar.gz: 13e4abf112361ada24e89c75bdfcbc2484eefedc7364ab6eeb0b4a00b3f8744588d4ccca123081515f36470e1770a09bb97e9d922aaeb6799e97dfbfdced50be
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.199.1 (2025-09-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Update `TransferManager#download_file` and `Object#download_file` documentation regarding temporary file usage and failure handling for different destination types.
|
8
|
+
|
4
9
|
1.199.0 (2025-09-08)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.199.
|
1
|
+
1.199.1
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -21735,7 +21735,7 @@ module Aws::S3
|
|
21735
21735
|
tracer: tracer
|
21736
21736
|
)
|
21737
21737
|
context[:gem_name] = 'aws-sdk-s3'
|
21738
|
-
context[:gem_version] = '1.199.
|
21738
|
+
context[:gem_version] = '1.199.1'
|
21739
21739
|
Seahorse::Client::Request.new(handlers, context)
|
21740
21740
|
end
|
21741
21741
|
|
@@ -491,7 +491,13 @@ module Aws
|
|
491
491
|
# @param [String, Pathname, File, Tempfile] destination
|
492
492
|
# Where to download the file to. This can either be a String or Pathname to the file, an open File object,
|
493
493
|
# or an open Tempfile object. If you pass an open File or Tempfile object, then you are responsible for
|
494
|
-
# closing it after the download completes.
|
494
|
+
# closing it after the download completes. Download behavior varies by destination type:
|
495
|
+
#
|
496
|
+
# * **String/Pathname paths**: Downloads to a temporary file first, then atomically moves to the final
|
497
|
+
# destination. This prevents corruption of any existing file if the download fails.
|
498
|
+
# * **File/Tempfile objects**: Downloads directly to the file object without using temporary files.
|
499
|
+
# You are responsible for managing the file object's state and closing it after the download completes.
|
500
|
+
# If the download fails, the file object may contain partial data.
|
495
501
|
#
|
496
502
|
# @param [Hash] options
|
497
503
|
# Additional options for {Client#get_object} and #{Client#head_object} may be provided.
|
@@ -48,7 +48,13 @@ module Aws
|
|
48
48
|
# @param [String, Pathname, File, Tempfile] destination
|
49
49
|
# Where to download the file to. This can either be a String or Pathname to the file, an open File object,
|
50
50
|
# or an open Tempfile object. If you pass an open File or Tempfile object, then you are responsible for
|
51
|
-
# closing it after the download completes.
|
51
|
+
# closing it after the download completes. Download behavior varies by destination type:
|
52
|
+
#
|
53
|
+
# * **String/Pathname paths**: Downloads to a temporary file first, then atomically moves to the final
|
54
|
+
# destination. This prevents corruption of any existing file if the download fails.
|
55
|
+
# * **File/Tempfile objects**: Downloads directly to the file object without using temporary files.
|
56
|
+
# You are responsible for managing the file object's state and closing it after the download completes.
|
57
|
+
# If the download fails, the file object may contain partial data.
|
52
58
|
#
|
53
59
|
# @param [String] bucket
|
54
60
|
# The name of the S3 bucket to upload to.
|
data/lib/aws-sdk-s3.rb
CHANGED