fog-aws 3.20.0 → 3.21.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: 221fe36cc09816b1840dbc781cc81a696faa07aa5ca6adac93a0b8e76eb84824
4
- data.tar.gz: bcb81a5ef7e5a5930c458307f86c1823bb5a99bf0d84be037a1318a6f388e602
3
+ metadata.gz: 26d5cfb76c5ab11f910cc2b272663a824bbe1de7d5cad4ab02eb050e14dbef14
4
+ data.tar.gz: 9566ee652059b2baa7a9b39ef52ffc99328f544947f6d6fd2c6d686086526d29
5
5
  SHA512:
6
- metadata.gz: ea3237091137702c3af73ea9c67e770d5c1a1bea4d42fe6601099e4ac2b2638f2e37c18d041688923e20d494d184a7f941d4e0348e903de3cc3dcdb304d2a2e3
7
- data.tar.gz: 27c99afd3eca18b27cfa068d07f567a82f88f8b53836e4b18f4dbcd783099e225ed05ac6bfde7425a3f32e1dfc0850e19d0b896170f9b1384557768c54ffe6a8
6
+ metadata.gz: 2d453dedccf106a8d107e82f3bcb83c4bb338a402339a5f74671990b2c269dbda0fa5b38994f33b95e66f9fa870a3e62d2391d7cb88952b4bb7bcf1bae1e2077
7
+ data.tar.gz: 85a1a106e04a3a747825ddcdcbe5216d4ed581dc7225f27b457d471f935d1758c06b3589977a6f1ebfcfe5c159f1acef69264409f357d5b978d47af48813dde7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [v3.21.1](https://github.com/fog/fog-aws/tree/v3.21.1) (2024-03-12)
4
+
5
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.21.0...HEAD)
6
+
7
+ **Closed issues:**
8
+
9
+ - Missing AWS Region - ca-west-1 \(Calgary\) [\#701](https://github.com/fog/fog-aws/issues/701)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Add ca-west-1 region [\#703](https://github.com/fog/fog-aws/pull/703) ([jgrammen-agilitypr](https://github.com/jgrammen-agilitypr))
14
+ - Bump actions/dependency-review-action from 3 to 4 [\#699](https://github.com/fog/fog-aws/pull/699) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+ - Add Ruby 3.3 to CI matrix [\#698](https://github.com/fog/fog-aws/pull/698) ([m-nakamura145](https://github.com/m-nakamura145))
16
+ - Bump github/codeql-action from 2 to 3 [\#697](https://github.com/fog/fog-aws/pull/697) ([dependabot[bot]](https://github.com/apps/dependabot))
17
+ - Bump actions/stale from 8 to 9 [\#696](https://github.com/fog/fog-aws/pull/696) ([dependabot[bot]](https://github.com/apps/dependabot))
18
+ - Fix broken format in CHANGELOG [\#692](https://github.com/fog/fog-aws/pull/692) ([y-yagi](https://github.com/y-yagi))
19
+
20
+ ## [v3.21.0](https://github.com/fog/fog-aws/tree/v3.21.0) (2023-09-29)
21
+
22
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.20.0...v3.21.0)
23
+
24
+ **Closed issues:**
25
+
26
+ - Fog::AWS::Storage default retry behaviour guarantees 6s delay for 4xx class responses [\#690](https://github.com/fog/fog-aws/issues/690)
27
+
28
+ **Merged pull requests:**
29
+
30
+ - Fog::AWS::Storage don't retry client errors [\#691](https://github.com/fog/fog-aws/pull/691) ([rahim](https://github.com/rahim))
31
+
3
32
  ## [v3.20.0](https://github.com/fog/fog-aws/tree/v3.20.0) (2023-09-27)
4
33
 
5
34
  [Full Changelog](https://github.com/fog/fog-aws/compare/v3.19.0...v3.20.0)
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Fog::Aws
2
2
 
3
3
  ![Gem Version](https://badge.fury.io/rb/fog-aws.svg)
4
- [![Build Status](https://github.com/fog/fog-aws/actions/workflows/ruby.yml/badge.svg)](https://github.com/fog/fog-aws/actions/workflows/ruby.yml)
4
+ [![Build Status](https://github.com/fog/fog-aws/actions/workflows/ci.yml/badge.svg)](https://github.com/fog/fog-aws/actions/workflows/ci.yml)
5
5
  [![Test Coverage](https://codeclimate.com/github/fog/fog-aws/badges/coverage.svg)](https://codeclimate.com/github/fog/fog-aws)
6
6
  [![Code Climate](https://codeclimate.com/github/fog/fog-aws.svg)](https://codeclimate.com/github/fog/fog-aws)
7
7
 
@@ -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 = options[:connection_options] || { retry_limit: 5, retry_interval: 1 }
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)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "3.20.0"
3
+ VERSION = "3.21.1"
4
4
  end
5
5
  end
data/lib/fog/aws.rb CHANGED
@@ -225,7 +225,7 @@ module Fog
225
225
  'ap-northeast-1', 'ap-northeast-2', 'ap-northeast-3',
226
226
  'ap-south-1',
227
227
  'ap-southeast-1', 'ap-southeast-2', 'ap-southeast-3', 'ap-southeast-4',
228
- 'ca-central-1',
228
+ 'ca-central-1', 'ca-west-1',
229
229
  'cn-north-1',
230
230
  'cn-northwest-1',
231
231
  'eu-central-1',
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.20.0
4
+ version: 3.21.1
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-27 00:00:00.000000000 Z
12
+ date: 2024-03-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -1458,7 +1458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1458
1458
  - !ruby/object:Gem::Version
1459
1459
  version: '0'
1460
1460
  requirements: []
1461
- rubygems_version: 3.3.26
1461
+ rubygems_version: 3.4.22
1462
1462
  signing_key:
1463
1463
  specification_version: 4
1464
1464
  summary: Module for the 'fog' gem to support Amazon Web Services.