fog-aws 3.25.0 → 3.27.0

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: 3cb08aaff9345f1d92ac8657cfb9e988a40ea6df9b4d2798b58451998aab7228
4
- data.tar.gz: fa2f8726d7c12f65f236078ee76bb9547f1716ee971184b47411a0e8ef9fae06
3
+ metadata.gz: 273dd632772ac3f10f6edf04e4c7c92c3f568ccadd00bac17193e911c1924768
4
+ data.tar.gz: 3d6136144890c0be995d55945b871db356933ba10a04021410820d6c3ee22207
5
5
  SHA512:
6
- metadata.gz: 805fcafc8ba99443196293eb75bf730a8463f4fe1e43e6f4db8a4143ee7c4dc8fc53f1484e16e9492714b16be25a7e10ab8142c0ffdf78154e61219a836839e9
7
- data.tar.gz: 6dd4145aa498bf06f0003e71c3bfd537d64776665ba5b1a4375340971b3a82aee14ed6d81509a028722fed02f4bbae3cacbe05ef9b523c4c5716d8d8883ef71e
6
+ metadata.gz: 9ff9d98293302c8fce70cf5b669d12a8b46d02ec564838813a49514574ebd173a1e1e0ec29c82d22dfd31f5d6c6bbe5e1ddeb56ca189dc01f2137c7b5916af88
7
+ data.tar.gz: 7b5322cd88344b5a2b13ca364300901d9796a244e9a798de693366fcde9123440366130404694f5f2337ad9cb2e9f8ac3150b3d59874a0a8486afb6703a96e4f
data/CHANGELOG.md CHANGED
@@ -1,48 +1,37 @@
1
1
  # Changelog
2
2
 
3
- ## [v3.25.0](https://github.com/fog/fog-aws/tree/v3.25.0) (2024-08-29)
4
-
5
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.24.0...v3.25.0)
3
+ ## [v3.27.0](https://github.com/fog/fog-aws/tree/v3.27.0) (2024-09-16)
6
4
 
7
- **Closed issues:**
8
-
9
- - gsub exception from normalize\_headers with carrierwave [\#720](https://github.com/fog/fog-aws/issues/720)
10
- - Add AWS EKS Pod Identity support [\#718](https://github.com/fog/fog-aws/issues/718)
5
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.26.0...v3.27.0)
11
6
 
12
7
  **Merged pull requests:**
13
8
 
14
- - only try to gsub etag on files if there is one closes \#720 [\#722](https://github.com/fog/fog-aws/pull/722) ([geemus](https://github.com/geemus))
15
- - Added support for EKS Pod Identity. [\#721](https://github.com/fog/fog-aws/pull/721) ([y-sugawara-acs](https://github.com/y-sugawara-acs))
16
- - Disable S3 Signature v4 Streaming by default [\#719](https://github.com/fog/fog-aws/pull/719) ([stanhu](https://github.com/stanhu))
17
- - Drop warning if region is not us-east-1 in mock [\#717](https://github.com/fog/fog-aws/pull/717) ([stanhu](https://github.com/stanhu))
18
- - add base64 require and dependency [\#716](https://github.com/fog/fog-aws/pull/716) ([geemus](https://github.com/geemus))
19
-
20
- ## [v3.24.0](https://github.com/fog/fog-aws/tree/v3.24.0) (2024-07-08)
21
-
22
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.23.0...v3.24.0)
9
+ - avoid merging connection value from headers when saving files [\#725](https://github.com/fog/fog-aws/pull/725) ([geemus](https://github.com/geemus))
23
10
 
24
- **Closed issues:**
11
+ ## [v3.26.0](https://github.com/fog/fog-aws/tree/v3.26.0) (2024-09-10)
25
12
 
26
- - Fog.mock! not working with Storage provider [\#713](https://github.com/fog/fog-aws/issues/713)
13
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.25.0...v3.26.0)
27
14
 
28
15
  **Merged pull requests:**
29
16
 
30
- - Prefer AWS\_REGION over AWS\_DEFAULT\_REGION in credential fetching [\#715](https://github.com/fog/fog-aws/pull/715) ([stanhu](https://github.com/stanhu))
31
- - Provide a 'Changelog' link on rubygems.org/gems/fog-aws [\#714](https://github.com/fog/fog-aws/pull/714) ([mark-young-atg](https://github.com/mark-young-atg))
17
+ - Support AWS\_ENDPOINT\_URL\_STS environment variable [\#724](https://github.com/fog/fog-aws/pull/724) ([stanhu](https://github.com/stanhu))
32
18
 
33
- ## [v3.23.0](https://github.com/fog/fog-aws/tree/v3.23.0) (2024-06-18)
19
+ ## [v3.25.0](https://github.com/fog/fog-aws/tree/v3.25.0) (2024-08-29)
34
20
 
35
- [Full Changelog](https://github.com/fog/fog-aws/compare/v3.22.0...v3.23.0)
21
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.24.0...v3.25.0)
36
22
 
37
23
  **Closed issues:**
38
24
 
39
- - Read credentials from Rails config file [\#705](https://github.com/fog/fog-aws/issues/705)
25
+ - gsub exception from normalize\_headers with carrierwave [\#720](https://github.com/fog/fog-aws/issues/720)
26
+ - Add AWS EKS Pod Identity support [\#718](https://github.com/fog/fog-aws/issues/718)
40
27
 
41
28
  **Merged pull requests:**
42
29
 
43
- - add il-central-1 region [\#712](https://github.com/fog/fog-aws/pull/712) ([geemus](https://github.com/geemus))
44
- - Fix frozen string literal issue for ruby 3.4.0 [\#709](https://github.com/fog/fog-aws/pull/709) ([chaadow](https://github.com/chaadow))
45
- - Fix typos [\#707](https://github.com/fog/fog-aws/pull/707) ([kianmeng](https://github.com/kianmeng))
30
+ - only try to gsub etag on files if there is one closes \#720 [\#722](https://github.com/fog/fog-aws/pull/722) ([geemus](https://github.com/geemus))
31
+ - Added support for EKS Pod Identity. [\#721](https://github.com/fog/fog-aws/pull/721) ([y-sugawara-acs](https://github.com/y-sugawara-acs))
32
+ - Disable S3 Signature v4 Streaming by default [\#719](https://github.com/fog/fog-aws/pull/719) ([stanhu](https://github.com/stanhu))
33
+ - Drop warning if region is not us-east-1 in mock [\#717](https://github.com/fog/fog-aws/pull/717) ([stanhu](https://github.com/stanhu))
34
+ - add base64 require and dependency [\#716](https://github.com/fog/fog-aws/pull/716) ([geemus](https://github.com/geemus))
46
35
 
47
36
 
48
37
 
@@ -56,7 +56,9 @@ module Fog
56
56
  }
57
57
 
58
58
  sts_endpoint =
59
- if ENV["AWS_STS_REGIONAL_ENDPOINTS"] == "regional" && region
59
+ if ENV["AWS_ENDPOINT_URL_STS"]
60
+ ENV["AWS_ENDPOINT_URL_STS"]
61
+ elsif ENV["AWS_STS_REGIONAL_ENDPOINTS"] == "regional" && region
60
62
  "https://sts.#{region}.amazonaws.com"
61
63
  else
62
64
  "https://sts.amazonaws.com"
@@ -281,7 +281,7 @@ module Fog
281
281
  merge_attributes(data.body)
282
282
  else
283
283
  data = service.put_object(directory.key, key, body, options)
284
- merge_attributes(data.headers.reject {|key, value| ['Content-Length', 'Content-Type'].include?(key)})
284
+ merge_attributes(data.headers.reject {|key, value| ['Connection', 'Content-Length', 'Content-Type'].include?(key)})
285
285
  end
286
286
  self.etag = self.etag.gsub('"','') if self.etag
287
287
  self.content_length = Fog::Storage.get_body_size(body)
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "3.25.0"
3
+ VERSION = "3.27.0"
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.25.0
4
+ version: 3.27.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: 2024-08-29 00:00:00.000000000 Z
12
+ date: 2024-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -1473,7 +1473,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1473
1473
  - !ruby/object:Gem::Version
1474
1474
  version: '0'
1475
1475
  requirements: []
1476
- rubygems_version: 3.4.10
1476
+ rubygems_version: 3.5.18
1477
1477
  signing_key:
1478
1478
  specification_version: 4
1479
1479
  summary: Module for the 'fog' gem to support Amazon Web Services.