aws-sdk-s3 1.59.0 → 1.59.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +1 -1
- data/lib/aws-sdk-s3/presigner.rb +6 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81106488f8ac9816cb2cfc01b0fe059b1d4184f9
|
4
|
+
data.tar.gz: 830159b8b5f321003449a6f3e1256d4de59dd8cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fef7fd900d1f8a0a432e11548e3383d0eb103a0a117230d1711404a0b3127f4f88784886d5b6e3b859df1053a1a1ad00bb7c867d3e2b0e0316d06971a3be0ee
|
7
|
+
data.tar.gz: 63b3f71eaabad0f7b1ae7ab08d278048f28bb82804754a3969b4d5b10ee3066ca4ef840f4d2310c3bfab58793d5867f8fa8d19bdb5baef4570333e0cec37e3db
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -11693,7 +11693,7 @@ module Aws::S3
|
|
11693
11693
|
params: params,
|
11694
11694
|
config: config)
|
11695
11695
|
context[:gem_name] = 'aws-sdk-s3'
|
11696
|
-
context[:gem_version] = '1.59.
|
11696
|
+
context[:gem_version] = '1.59.1'
|
11697
11697
|
Seahorse::Client::Request.new(handlers, context)
|
11698
11698
|
end
|
11699
11699
|
|
data/lib/aws-sdk-s3/presigner.rb
CHANGED
@@ -103,9 +103,13 @@ module Aws
|
|
103
103
|
def expires_in(params)
|
104
104
|
if (expires_in = params.delete(:expires_in))
|
105
105
|
if expires_in > ONE_WEEK
|
106
|
-
|
107
|
-
|
106
|
+
raise ArgumentError,
|
107
|
+
"expires_in value of #{expires_in} exceeds one-week maximum"
|
108
|
+
elsif expires_in <= 0
|
109
|
+
raise ArgumentError,
|
110
|
+
"expires_in value of #{expires_in} cannot be 0 or less"
|
108
111
|
end
|
112
|
+
|
109
113
|
expires_in
|
110
114
|
else
|
111
115
|
FIFTEEN_MINUTES
|
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.59.
|
4
|
+
version: 1.59.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: 2019-12-
|
11
|
+
date: 2019-12-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|