aws-sdk-ecr 1.93.0 → 1.94.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecr/client.rb +1 -1
- data/lib/aws-sdk-ecr/endpoint_provider.rb +0 -15
- data/lib/aws-sdk-ecr.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: ccd6a0cbd8c79a35023782f288479302c7a476d313bace7ab24c5d9042c89fae
|
4
|
+
data.tar.gz: 50474dbbbfa22c8f0716d1794f70bdab28a0b40529dfcdde6a58a905439d7a65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 317e3c3092b011140d3b8d640622ed85b8657b7635bd8e1f54bc98b19005a40f6eb2c9ba98978fc4e87f982a942755850184f03f0f18603e064ae04638b7121f
|
7
|
+
data.tar.gz: e807c8afb37b5a24ff258433973fe69fd360526b82e1a36dea628291897cd42964f3ebb37b26317621efc8111cca6ebd493639644653f81b0a215d890ed0b395
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.94.0
|
data/lib/aws-sdk-ecr/client.rb
CHANGED
@@ -27,12 +27,6 @@ module Aws::ECR
|
|
27
27
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
28
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
29
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
-
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.api.aws", headers: {}, properties: {})
|
32
|
-
end
|
33
|
-
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
34
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecr-fips.#{region}.api.aws", headers: {}, properties: {})
|
35
|
-
end
|
36
30
|
return Aws::Endpoints::Endpoint.new(url: "https://api.ecr-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
37
31
|
end
|
38
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
@@ -51,15 +45,6 @@ module Aws::ECR
|
|
51
45
|
end
|
52
46
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
53
47
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
54
|
-
if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
55
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.aws", headers: {}, properties: {})
|
56
|
-
end
|
57
|
-
if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
58
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
59
|
-
end
|
60
|
-
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
61
|
-
return Aws::Endpoints::Endpoint.new(url: "https://ecr.#{region}.api.aws", headers: {}, properties: {})
|
62
|
-
end
|
63
48
|
return Aws::Endpoints::Endpoint.new(url: "https://api.ecr.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
64
49
|
end
|
65
50
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
data/lib/aws-sdk-ecr.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ecr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.94.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|