aws-sdk-s3 1.111.0 → 1.111.1

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
  SHA256:
3
- metadata.gz: 836c0975a25016a81431db0aaf836b2e00850b9d9637048af315a4b52f47faea
4
- data.tar.gz: b3bdc347d52a4c1a5b55de0f4b4e7b135c1ee126b925830da064ae0f16f8daed
3
+ metadata.gz: 38f76aeff028d48361d6a37f648b6035f02251a9cf48fddeba1ae687bd518a10
4
+ data.tar.gz: ef1db30e3ea4005a508022155596cfd0a2f99e0878845013830b3fca977235f5
5
5
  SHA512:
6
- metadata.gz: 4783f312dfbb9c4a354155da813f5c93318129074b9eb261c0141d36b620d826586f361184ca2d2dfefb96d3bf81c3b6d280a6471968c016154ef35609dc6d0d
7
- data.tar.gz: e29211393f2975bf4582cc4b577acde18e03195b919b34101f88bcfea32045c77b0073f20dfa89e2479acf4202dc286a0e189a6424a4c57b7219253eb932a08f
6
+ metadata.gz: 3620be3214f229605b2cc10ab633d3b73875b3b1b2b6fa379255301f892cc48a128ee4d8c8141cce33d997aa041efb4117ed7c54fa3067a94eaf81e94f8a19b5
7
+ data.tar.gz: b72e254e2555044f4ff6a6a031852d0c6688f4f1a116a0f5922035781a55b431c415b160a58c78d242db8b11f300ff04e17f9f18b65c912a36e5d4ebba9aad77
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.111.1 (2022-01-06)
5
+ ------------------
6
+
7
+ * Issue - Don't fail small files in `upload_file` when `:thread_count` is set. (#2628)
8
+
4
9
  1.111.0 (2022-01-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.111.0
1
+ 1.111.1
@@ -14216,7 +14216,7 @@ module Aws::S3
14216
14216
  params: params,
14217
14217
  config: config)
14218
14218
  context[:gem_name] = 'aws-sdk-s3'
14219
- context[:gem_version] = '1.111.0'
14219
+ context[:gem_version] = '1.111.1'
14220
14220
  Seahorse::Client::Request.new(handlers, context)
14221
14221
  end
14222
14222
 
@@ -32,11 +32,16 @@ module Aws
32
32
  # @option options [Proc] :progress_callback
33
33
  # A Proc that will be called when each chunk of the upload is sent.
34
34
  # It will be invoked with [bytes_read], [total_sizes]
35
+ # @option options [Integer] :thread_count
36
+ # The thread count to use for multipart uploads. Ignored for
37
+ # objects smaller than the multipart threshold.
35
38
  # @return [void]
36
39
  def upload(source, options = {})
37
40
  if File.size(source) >= multipart_threshold
38
41
  MultipartFileUploader.new(@options).upload(source, options)
39
42
  else
43
+ # remove multipart parameters not supported by put_object
44
+ options.delete(:thread_count)
40
45
  put_object(source, options)
41
46
  end
42
47
  end
data/lib/aws-sdk-s3.rb CHANGED
@@ -69,6 +69,6 @@ require_relative 'aws-sdk-s3/event_streams'
69
69
  # @!group service
70
70
  module Aws::S3
71
71
 
72
- GEM_VERSION = '1.111.0'
72
+ GEM_VERSION = '1.111.1'
73
73
 
74
74
  end
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.111.0
4
+ version: 1.111.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: 2022-01-04 00:00:00.000000000 Z
11
+ date: 2022-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms