aws-sdk-s3 1.146.0 → 1.146.1
Sign up to get free protection for your applications and to get access to all the features.
- 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/multipart_file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +2 -1
- 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: bbfba787c46b0e8ec4dc57e11a20f0d16d38925d08577e77f5537abdd64789b1
|
4
|
+
data.tar.gz: c77ad5e5aae75f9a2407054547768a22ded163a45914de729ceb3a675e876ec8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1356cafb64aaf42508333251d59c9c2130ac30be57b6a7cb78554a1df241921c5f037d03879b023582292adaade4e2de9b807192f828eb59f7c25e52dd49208
|
7
|
+
data.tar.gz: 209a46f38d9169197d85990df7403321cb9f18945567f8826fb01c9e8d8e955041d40d44d710eb773f1d102bfff5cbad3f0eb609131923de185521eadec844ce
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.146.
|
1
|
+
1.146.1
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -18792,7 +18792,7 @@ module Aws::S3
|
|
18792
18792
|
params: params,
|
18793
18793
|
config: config)
|
18794
18794
|
context[:gem_name] = 'aws-sdk-s3'
|
18795
|
-
context[:gem_version] = '1.146.
|
18795
|
+
context[:gem_version] = '1.146.1'
|
18796
18796
|
Seahorse::Client::Request.new(handlers, context)
|
18797
18797
|
end
|
18798
18798
|
|
@@ -147,7 +147,7 @@ module Aws
|
|
147
147
|
if (callback = options[:progress_callback])
|
148
148
|
progress = MultipartProgress.new(pending, callback)
|
149
149
|
end
|
150
|
-
@thread_count.times do
|
150
|
+
options.fetch(:thread_count, @thread_count).times do
|
151
151
|
thread = Thread.new do
|
152
152
|
begin
|
153
153
|
while part = pending.shift
|
@@ -43,6 +43,7 @@ module Aws
|
|
43
43
|
|
44
44
|
# @option options [required,String] :bucket
|
45
45
|
# @option options [required,String] :key
|
46
|
+
# @option options [Integer] :thread_count (THREAD_COUNT)
|
46
47
|
# @return [Seahorse::Client::Response] - the CompleteMultipartUploadResponse
|
47
48
|
def upload(options = {}, &block)
|
48
49
|
Aws::Plugins::UserAgent.feature('s3-transfer') do
|
@@ -152,7 +153,7 @@ module Aws
|
|
152
153
|
def upload_in_threads(read_pipe, completed, options, thread_errors)
|
153
154
|
mutex = Mutex.new
|
154
155
|
part_number = 0
|
155
|
-
@thread_count.times.map do
|
156
|
+
options.fetch(:thread_count, @thread_count).times.map do
|
156
157
|
thread = Thread.new do
|
157
158
|
begin
|
158
159
|
loop do
|
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.146.
|
4
|
+
version: 1.146.1
|
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-03-
|
11
|
+
date: 2024-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|