fog-aws 3.33.0 → 3.33.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e082ebe8e5a7cc585e85b6d2415306da6a2c0fec952ea3a62754dddfa82087d3
4
- data.tar.gz: ac57b359e23b43ac11189ae93ee9f7eee31ac16b16d69ecc00f885b41f357105
3
+ metadata.gz: ef6d261effc88541b56e982050d0003a3ed126e5380a3928f3a622eea66633b9
4
+ data.tar.gz: 0ba63812241e5c5694e62271c22bf9e654db0ae96f8b481ddd18c3d6731aa295
5
5
  SHA512:
6
- metadata.gz: b4e819ca80fc191bfd1a28888924a121f96e94e90315f2f62cc5b3c7702b810b9358ab6812c67c3d1dcf184ef673717030f3218a32f7c0e49a78c0cb4e89ebc8
7
- data.tar.gz: 2959e61875371b8e0e06575855fa571669b477390c02c77515a1cba7c9f351b5ddd84865116d890b7a1be76ab91c5abf806aac5687345f167e1da2d9a396700f
6
+ metadata.gz: 0dab6002b97b2a17003ea277b62572ea04583f8dd109c77ef4dc8db17cec0d5b97e69fe475bba60791f08ee4ffb0bd14283880d3989f3a70bde4f6b5581ff52b
7
+ data.tar.gz: cc0419e84ba54e19b5e4909f94e2133816e40ffd3fac80ec96257c1046071a331b777e11a184d5a88abe84dc1a348f3f9aecc9527f90b047d346e3e631a072be
data/CHANGELOG.md CHANGED
@@ -1,65 +1,69 @@
1
1
  # Changelog
2
2
 
3
- ## v3.33.0 (2025-08-27)
3
+ ## [v3.33.2](https://github.com/fog/fog-aws/tree/v3.33.2) (2026-04-20)
4
4
 
5
- Closed issues:
5
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.33.0...v3.33.1)
6
6
 
7
- - Add support for ListObjectsV2 [\#741](https://github.com/fog/fog-aws/issues/741)
8
-
9
-
10
- Merged pull requests:
7
+ **Merged pull requests:**
11
8
 
12
- - Update base64 requirement from ~\> 0.2.0 to \>= 0.2, \< 0.4 [\#743](https://github.com/fog/fog-aws/pull/743) ([dependabot[bot]](https://github.com/apps/dependabot))
13
- - Fix #741 Added list objects v2 api support [\#744](https://github.com/fog/fog-aws/pull/744)
14
- - Update rubyzip requirement from ~\> 2.4.1 to ~\> 3.0.0 [\#746](https://github.com/fog/fog-aws/pull/746) ([dependabot[bot]](https://github.com/apps/dependabot))
15
- - storage headers should be rejected in a case-insensitive way [\#747](https://github.com/fog/fog-aws/pull/747)
9
+ - bug(aws/storage): include non-standard port in Host header for signature v4 [\#755](https://github.com/fog/fog-aws/pull/755) ([stanhu](https://github.com/stanhu))
10
+ - Bump actions/checkout from 5 to 6 [\#753](https://github.com/fog/fog-aws/pull/753) ([dependabot](https://github.com/apps/dependabot))
16
11
 
17
- ## [v3.32.0](https://github.com/fog/fog-aws/tree/v3.32.0) (2025-05-27)
12
+ ## [v3.33.1](https://github.com/fog/fog-aws/tree/v3.33.1) (2025-11-03)
18
13
 
19
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.31.0...v3.32.0)
14
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.33.0...v3.33.1)
20
15
 
21
16
  **Closed issues:**
22
17
 
23
- - Add ability to specify s3 restore object tier in post\_object\_restore [\#740](https://github.com/fog/fog-aws/issues/740)
18
+ - aws\_credentials\_refresh\_threshold\_seconds gets wiped when credentials are refreshed [\#751](https://github.com/fog/fog-aws/issues/751)
19
+ - Frozen string errors in ruby 3.4 [\#745](https://github.com/fog/fog-aws/issues/745)
24
20
 
25
21
  **Merged pull requests:**
26
22
 
27
- - Add ability to specify s3 restore object tier in post\_object\_restore [\#742](https://github.com/fog/fog-aws/pull/742) ([Ankk98](https://github.com/Ankk98))
23
+ - bug\(aws/storage\): avoid overwriting refresh threshold with nil [\#752](https://github.com/fog/fog-aws/pull/752) ([geemus](https://github.com/geemus))
24
+ - Bump github/codeql-action from 3 to 4 [\#749](https://github.com/fog/fog-aws/pull/749) ([dependabot[bot]](https://github.com/apps/dependabot))
25
+ - Bump actions/checkout from 4 to 5 [\#748](https://github.com/fog/fog-aws/pull/748) ([dependabot[bot]](https://github.com/apps/dependabot))
28
26
 
29
- ## [v3.31.0](https://github.com/fog/fog-aws/tree/v3.31.0) (2025-04-21)
27
+ ## [v3.33.0](https://github.com/fog/fog-aws/tree/v3.33.0) (2025-08-07)
30
28
 
31
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.30.0...v3.31.0)
29
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.32.0...v3.33.0)
32
30
 
33
31
  **Closed issues:**
34
32
 
35
- - Compute.describe\_instance\_status\(\) fails [\#734](https://github.com/fog/fog-aws/issues/734)
33
+ - Add support for ListObjectsV2 [\#741](https://github.com/fog/fog-aws/issues/741)
34
+ - NoMethodError (undefined method `copy\_object' for "close":String\) [\#702](https://github.com/fog/fog-aws/issues/702)
36
35
 
37
36
  **Merged pull requests:**
38
37
 
39
- - Fix Compute.describe\_instance\_status parser [\#735](https://github.com/fog/fog-aws/pull/735) ([kitherill](https://github.com/kitherill))
40
- - Update rubyzip requirement from ~\> 2.3.0 to ~\> 2.4.1 [\#733](https://github.com/fog/fog-aws/pull/733) ([dependabot[bot]](https://github.com/apps/dependabot))
38
+ - storage headers should be rejected in a case-insensitive way [\#747](https://github.com/fog/fog-aws/pull/747) ([geemus](https://github.com/geemus))
39
+ - Update rubyzip requirement from ~\> 2.4.1 to ~\> 3.0.0 [\#746](https://github.com/fog/fog-aws/pull/746) ([dependabot[bot]](https://github.com/apps/dependabot))
40
+ - Fix \#741 Added list objects v2 api support [\#744](https://github.com/fog/fog-aws/pull/744) ([Ankk98](https://github.com/Ankk98))
41
+ - Update base64 requirement from ~\> 0.2.0 to \>= 0.2, \< 0.4 [\#743](https://github.com/fog/fog-aws/pull/743) ([dependabot[bot]](https://github.com/apps/dependabot))
41
42
 
42
- ## [v3.30.0](https://github.com/fog/fog-aws/tree/v3.30.0) (2024-12-17)
43
+ ## [v3.32.0](https://github.com/fog/fog-aws/tree/v3.32.0) (2025-05-27)
43
44
 
44
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.29.0...v3.30.0)
45
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.31.0...v3.32.0)
45
46
 
46
47
  **Closed issues:**
47
48
 
48
- - Support S3 FIPS endpoints, disable S3 Transfer Acceleration in GovCloud or FIPS mode [\#729](https://github.com/fog/fog-aws/issues/729)
49
+ - Add ability to specify s3 restore object tier in post\_object\_restore [\#740](https://github.com/fog/fog-aws/issues/740)
49
50
 
50
51
  **Merged pull requests:**
51
52
 
52
- - Bump fog/.github from 1.4.0 to 1.5.0 [\#732](https://github.com/fog/fog-aws/pull/732) ([dependabot[bot]](https://github.com/apps/dependabot))
53
- - kms additions [\#731](https://github.com/fog/fog-aws/pull/731) ([geemus](https://github.com/geemus))
54
- - Support FIPS endpoints, disable S3 Transfer Acceleration in GovCloud [\#730](https://github.com/fog/fog-aws/pull/730) ([matt-domsch-sp](https://github.com/matt-domsch-sp))
53
+ - Add ability to specify s3 restore object tier in post\_object\_restore [\#742](https://github.com/fog/fog-aws/pull/742) ([Ankk98](https://github.com/Ankk98))
55
54
 
56
- ## [v3.29.0](https://github.com/fog/fog-aws/tree/v3.29.0) (2024-10-25)
55
+ ## [v3.31.0](https://github.com/fog/fog-aws/tree/v3.31.0) (2025-04-21)
57
56
 
58
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.28.0...v3.29.0)
57
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.30.0...v3.31.0)
58
+
59
+ **Closed issues:**
60
+
61
+ - Compute.describe\_instance\_status\(\) fails [\#734](https://github.com/fog/fog-aws/issues/734)
59
62
 
60
63
  **Merged pull requests:**
61
64
 
62
- - fallback to excon 1.0+ error retry error settings [\#728](https://github.com/fog/fog-aws/pull/728) ([geemus](https://github.com/geemus))
65
+ - Fix Compute.describe\_instance\_status parser [\#735](https://github.com/fog/fog-aws/pull/735) ([kitherill](https://github.com/kitherill))
66
+ - Update rubyzip requirement from ~\> 2.3.0 to ~\> 2.4.1 [\#733](https://github.com/fog/fog-aws/pull/733) ([dependabot[bot]](https://github.com/apps/dependabot))
63
67
 
64
68
 
65
69
 
data/fog-aws.gemspec CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.required_ruby_version = '>= 2.0.0'
24
24
 
25
+ spec.add_development_dependency 'benchmark'
25
26
  spec.add_development_dependency 'bundler'
26
27
  spec.add_development_dependency 'github_changelog_generator', '~> 1.16'
27
28
  spec.add_development_dependency 'rake', '>= 12.3.3'
@@ -608,7 +608,9 @@ module Fog
608
608
 
609
609
 
610
610
  def setup_credentials(options)
611
- @aws_credentials_refresh_threshold_seconds = options[:aws_credentials_refresh_threshold_seconds]
611
+ if options[:aws_credentials_refresh_threshold_seconds]
612
+ @aws_credentials_refresh_threshold_seconds = options[:aws_credentials_refresh_threshold_seconds]
613
+ end
612
614
 
613
615
  @aws_access_key_id = options[:aws_access_key_id]
614
616
  @aws_secret_access_key = options[:aws_secret_access_key]
@@ -616,7 +618,7 @@ module Fog
616
618
  @aws_credentials_expire_at = options[:aws_credentials_expire_at]
617
619
 
618
620
  if @signature_version == 4
619
- @signer = Fog::AWS::SignatureV4.new( @aws_access_key_id, @aws_secret_access_key, @region, 's3')
621
+ @signer = Fog::AWS::SignatureV4.new(@aws_access_key_id, @aws_secret_access_key, @region, 's3')
620
622
  elsif @signature_version == 2
621
623
  @hmac = Fog::HMAC.new('sha1', @aws_secret_access_key)
622
624
  end
@@ -656,8 +658,9 @@ module Fog
656
658
  params = request_params(params)
657
659
  scheme = params.delete(:scheme)
658
660
  host = params.delete(:host)
659
- port = params.delete(:port) || DEFAULT_SCHEME_PORT[scheme]
660
- params[:headers]['Host'] = host
661
+ port = params.delete(:port)
662
+ params[:headers]['Host'] = port ? "#{host}:#{port}" : host
663
+ port ||= DEFAULT_SCHEME_PORT[scheme]
661
664
 
662
665
 
663
666
  if @signature_version == 4
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = '3.33.0'.freeze
3
+ VERSION = '3.33.2'.freeze
4
4
  end
5
5
  end
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.33.0
4
+ version: 3.33.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: benchmark
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -1485,7 +1499,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1485
1499
  - !ruby/object:Gem::Version
1486
1500
  version: '0'
1487
1501
  requirements: []
1488
- rubygems_version: 3.7.1
1502
+ rubygems_version: 4.0.3
1489
1503
  specification_version: 4
1490
1504
  summary: Module for the 'fog' gem to support Amazon Web Services.
1491
1505
  test_files: []