aws-sdk-s3 1.96.1 → 1.98.0

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: cf563dfa58cc9e38a37fc543994cf9722995f065e9fc7aa70e03721e5e298945
4
- data.tar.gz: ad5b910362d25d19f1f5496d4813afe0b5e7d9094be3c20f046e7a211c780a4b
3
+ metadata.gz: 830f339f4af46f2943da2a8e192bc0475ce6a7716151f330b825a948011a0832
4
+ data.tar.gz: b716331657e8d1294639f01b6489acb991ae65e37c388a90fc8138671caf1ac7
5
5
  SHA512:
6
- metadata.gz: 73b8d0b4e05d6c10baf705888948ad2ec818de471badcf46ff8a8d83ca0fbbcc440cd5fb32b2d453f79d30178f0e079ad3b115880adf92265bd508624bd81421
7
- data.tar.gz: cb09214749258686bc08c0ec50a2be0d919037e37cdbafa7a0ce017cdeb6d002df918945d95c6cc403eac3745c1b78aca49692325899acf8ed3fa035ee1ae1a8
6
+ metadata.gz: 10366799b29c338052196c57a301f112fd46b6a183bd2cbb9661a6ecff45cbce82b8db8beb44f750bb077c592161014098d14dc7fb9e94312d8774fbd5ca738a
7
+ data.tar.gz: e550d2655df0e6da37948a8e3ab7e548f9399aaa54a0c5d69d6f1b58a0a098df6fe70f366a2b09641e4ca26ed061d78ad90c75042858439e3b19e5611baa8d01
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2021-07-30)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.97.0 (2021-07-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.96.2 (2021-07-20)
15
+ ------------------
16
+
17
+ * Issue - Fix file downloading edge case for 1 byte multipart ranges (#2561).
18
+
4
19
  1.96.1 (2021-06-10)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.1
1
+ 1.98.0
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.96.1'
72
+ GEM_VERSION = '1.98.0'
73
73
 
74
74
  end
@@ -13919,7 +13919,7 @@ module Aws::S3
13919
13919
  params: params,
13920
13920
  config: config)
13921
13921
  context[:gem_name] = 'aws-sdk-s3'
13922
- context[:gem_version] = '1.96.1'
13922
+ context[:gem_version] = '1.98.0'
13923
13923
  Seahorse::Client::Request.new(handlers, context)
13924
13924
  end
13925
13925
 
@@ -165,8 +165,8 @@ module Aws
165
165
  # to initialize the cipher, and the decrypter truncates the
166
166
  # auth tag from the body when writing the final bytes.
167
167
  def authenticated_decrypter(context, cipher, envelope)
168
- if RUBY_VERSION.match(/1.9/)
169
- raise "authenticated decryption not supported by OpenSSL in Ruby version ~> 1.9"
168
+ if RUBY_VERSION.match(/^1.9/)
169
+ msg = 'authenticated decryption not supported by OpenSSL in Ruby version ~> 1.9'
170
170
  raise Aws::Errors::NonSupportedRubyVersionError, msg
171
171
  end
172
172
  http_resp = context.http_response
@@ -166,8 +166,8 @@ module Aws
166
166
  # to initialize the cipher, and the decrypter truncates the
167
167
  # auth tag from the body when writing the final bytes.
168
168
  def authenticated_decrypter(context, cipher, envelope)
169
- if RUBY_VERSION.match(/1.9/)
170
- raise "authenticated decryption not supported by OpenSSL in Ruby version ~> 1.9"
169
+ if RUBY_VERSION.match(/^1.9/)
170
+ msg = 'authenticated decryption not supported by OpenSSL in Ruby version ~> 1.9'
171
171
  raise Aws::Errors::NonSupportedRubyVersionError, msg
172
172
  end
173
173
  http_resp = context.http_response
@@ -9,7 +9,7 @@ module Aws
9
9
  class EncryptHandler < Seahorse::Client::Handler
10
10
 
11
11
  def call(context)
12
- if RUBY_VERSION.match(/1.9/)
12
+ if RUBY_VERSION.match(/^1.9/)
13
13
  raise "authenticated encryption not supported by OpenSSL in Ruby version ~> 1.9"
14
14
  raise Aws::Errors::NonSupportedRubyVersionError, msg
15
15
  end
@@ -94,7 +94,12 @@ module Aws
94
94
  if @chunk_size && @chunk_size > file_size
95
95
  raise ArgumentError, ":chunk_size shouldn't exceed total file size."
96
96
  else
97
- @chunk_size || [(file_size.to_f / MAX_PARTS).ceil, MIN_CHUNK_SIZE].max.to_i
97
+ chunk_size = @chunk_size || [
98
+ (file_size.to_f / MAX_PARTS).ceil,
99
+ MIN_CHUNK_SIZE
100
+ ].max.to_i
101
+ chunk_size -= 1 if file_size % chunk_size == 1
102
+ chunk_size
98
103
  end
99
104
  end
100
105
 
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.96.1
4
+ version: 1.98.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: 2021-06-10 00:00:00.000000000 Z
11
+ date: 2021-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.112.0
50
+ version: 3.119.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 3.112.0
60
+ version: 3.119.0
61
61
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
62
62
  This gem is part of the AWS SDK for Ruby.
63
63
  email: