fog-aws 3.18.0 → 3.19.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 +13 -0
- data/lib/fog/aws/requests/storage/get_service.rb +1 -1
- data/lib/fog/aws/requests/storage/sync_clock.rb +9 -1
- data/lib/fog/aws/storage.rb +1 -1
- data/lib/fog/aws/version.rb +1 -1
- data/lib/fog/aws.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9539d65c933bb4ff0795c48938267df25198cc349110c82053419a40ab4aca7
|
4
|
+
data.tar.gz: 47024abbd4ca04595e61dad936e5cd6bd1f68b073b6318087179748e58704a3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08daf2816a492f1043c35e2aa5c6716ebe4a37e73b868b59190b07e3e38d5137f89e097cb697bf53e43cef1ae407096e7eb69e0b2cb6922a2dba8dcde061e580'
|
7
|
+
data.tar.gz: 0d3599b1d0be902cd7f3ad245e79d017b46cfcdce16f294d76b13b8edc5523c40dc09238ba513dd2f9ab07278a4de516ebf6f2ece2ea0cdea7f1947c412aabac
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v3.19.0](https://github.com/fog/fog-aws/tree/v3.19.0) (2023-05-18)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.18.0...v3.19.0)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- gopalcoupa:add-me-central-1 [\#679]
|
10
|
+
- Fix S3 Transfer Acceleration [\#676]
|
11
|
+
- configure connection_options to improve s3 retry see https://github.com/fog/fog-aws/issues/674 [\#675]
|
12
|
+
- s3: remove hardcoded host [\#673]
|
13
|
+
- Bump actions/stale from 7 to 8 [\#671]
|
14
|
+
|
15
|
+
|
3
16
|
## [v3.18.0](https://github.com/fog/fog-aws/tree/v3.18.0) (2023-02-16)
|
4
17
|
|
5
18
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v3.17.0...v3.18.0)
|
@@ -6,12 +6,20 @@ module Fog
|
|
6
6
|
#
|
7
7
|
def sync_clock
|
8
8
|
response = begin
|
9
|
-
Excon.get(
|
9
|
+
Excon.get(sync_clock_url)
|
10
10
|
rescue Excon::Errors::HTTPStatusError => error
|
11
11
|
error.response
|
12
12
|
end
|
13
13
|
Fog::Time.now = Time.parse(response.headers['Date'])
|
14
14
|
end
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def sync_clock_url
|
19
|
+
host = @acceleration ? region_to_host(@region) : @host
|
20
|
+
|
21
|
+
"#{@scheme}://#{host}"
|
22
|
+
end
|
15
23
|
end # Real
|
16
24
|
|
17
25
|
class Mock # :nodoc:all
|
data/lib/fog/aws/storage.rb
CHANGED
@@ -546,7 +546,7 @@ module Fog
|
|
546
546
|
@use_iam_profile = options[:use_iam_profile]
|
547
547
|
@instrumentor = options[:instrumentor]
|
548
548
|
@instrumentor_name = options[:instrumentor_name] || 'fog.aws.storage'
|
549
|
-
@connection_options = options[:connection_options] || {}
|
549
|
+
@connection_options = options[:connection_options] || { retry_limit: 5, retry_interval: 1 }
|
550
550
|
@persistent = options.fetch(:persistent, false)
|
551
551
|
@acceleration = options.fetch(:acceleration, false)
|
552
552
|
@signature_version = options.fetch(:aws_signature_version, 4)
|
data/lib/fog/aws/version.rb
CHANGED
data/lib/fog/aws.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fog-aws
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Lane
|
8
8
|
- Wesley Beary
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-05-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -1443,7 +1443,7 @@ homepage: https://github.com/fog/fog-aws
|
|
1443
1443
|
licenses:
|
1444
1444
|
- MIT
|
1445
1445
|
metadata: {}
|
1446
|
-
post_install_message:
|
1446
|
+
post_install_message:
|
1447
1447
|
rdoc_options: []
|
1448
1448
|
require_paths:
|
1449
1449
|
- lib
|
@@ -1458,8 +1458,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1458
1458
|
- !ruby/object:Gem::Version
|
1459
1459
|
version: '0'
|
1460
1460
|
requirements: []
|
1461
|
-
rubygems_version: 3.4.
|
1462
|
-
signing_key:
|
1461
|
+
rubygems_version: 3.4.13
|
1462
|
+
signing_key:
|
1463
1463
|
specification_version: 4
|
1464
1464
|
summary: Module for the 'fog' gem to support Amazon Web Services.
|
1465
1465
|
test_files: []
|