fog-aws 3.20.0 → 3.21.0
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 +12 -0
- data/lib/fog/aws/storage.rb +10 -1
- data/lib/fog/aws/version.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: a70dcf9f73be47287b3b3b0180e9b8b43fd1743e67a6b56d8c44cc17e5e7e1f2
|
|
4
|
+
data.tar.gz: 0aa01c7969f747964e13d3404c4d35b91e7b12c77a0071c70dd21b144508014c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 513c9d361abc77fba5540afccc11026788e6d1ee6df6f9134d8360d431db41dd50a395c476bdfba5c32d1ca2b35b4c81151aa1a82b0e8405976b49b7ac023582
|
|
7
|
+
data.tar.gz: 5cb4615882c96c20aeda02f9e68bbd10f2e1f9fc5fdfb9e3a916573f74cc45ca1df57fd9dc7c5b2231b2d258a4221ae5a75301341eb5013eb04f53936e6184fc
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v3.21.0](https://github.com/fog/fog-aws/tree/v3.21.0) (2023-09-29)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.20.0...v3.21.0)
|
|
6
|
+
|
|
7
|
+
**Closed issues:**
|
|
8
|
+
|
|
9
|
+
- Fog::AWS::Storage default retry behaviour guarantees 6s delay for 4xx class responses [\#690](https://github.com/fog/fog-aws/issues/690)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Fog::AWS::Storage don't retry client errors [\#691]((https://github.com/fog/fog-aws/pull/691) ([rahim](https://github.com/rahim))
|
|
14
|
+
|
|
3
15
|
## [v3.20.0](https://github.com/fog/fog-aws/tree/v3.20.0) (2023-09-27)
|
|
4
16
|
|
|
5
17
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.19.0...v3.20.0)
|
data/lib/fog/aws/storage.rb
CHANGED
|
@@ -14,6 +14,14 @@ module Fog
|
|
|
14
14
|
'https' => 443
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
+
DEFAULT_CONNECTION_OPTIONS = {
|
|
18
|
+
retry_limit: 5,
|
|
19
|
+
retry_interval: 1,
|
|
20
|
+
retry_errors: [
|
|
21
|
+
Excon::Error::Timeout, Excon::Error::Socket, Excon::Error::Server
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
|
|
17
25
|
MIN_MULTIPART_CHUNK_SIZE = 5242880
|
|
18
26
|
MAX_SINGLE_PUT_SIZE = 5368709120
|
|
19
27
|
|
|
@@ -546,7 +554,8 @@ module Fog
|
|
|
546
554
|
@use_iam_profile = options[:use_iam_profile]
|
|
547
555
|
@instrumentor = options[:instrumentor]
|
|
548
556
|
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.storage'
|
|
549
|
-
@connection_options
|
|
557
|
+
@connection_options =
|
|
558
|
+
DEFAULT_CONNECTION_OPTIONS.merge(options[:connection_options] || {})
|
|
550
559
|
@persistent = options.fetch(:persistent, false)
|
|
551
560
|
@acceleration = options.fetch(:acceleration, false)
|
|
552
561
|
@signature_version = options.fetch(:aws_signature_version, 4)
|
data/lib/fog/aws/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fog-aws
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.21.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josh Lane
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-09-
|
|
12
|
+
date: 2023-09-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|