google-cloud-env 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/google/cloud/env/compute_metadata.rb +2 -1
- data/lib/google/cloud/env/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 874603cbcc635840a5fa275335b574f242b5abe3100217d561189cd8c30ab12d
|
4
|
+
data.tar.gz: f8756d74ac146f9a3148d5149e29fd1b718e1ab5be177aecd81cbac3507212d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ad688117a2b8cc86596be5d2e0ec5f592f5734927756112a0cd82116d52cc0be6c24b8e8594d9d3ea010977e88275c5916cea676b2d50016973b58a7fd52649
|
7
|
+
data.tar.gz: c347078193dd1cc9cab88f1222327f57d928cf246fad899dca010ad4481f4de7d15a3df924df1dcb42bb7860139d98952b222b53f91cde0c1985319f7d18b832
|
data/CHANGELOG.md
CHANGED
@@ -389,12 +389,12 @@ module Google
|
|
389
389
|
retry_count: :default,
|
390
390
|
retry_timeout: :default
|
391
391
|
query = canonicalize_query query
|
392
|
-
raise MetadataServerNotResponding unless gce_check
|
393
392
|
if @overrides
|
394
393
|
@mutex.synchronize do
|
395
394
|
return lookup_override path, query if @overrides
|
396
395
|
end
|
397
396
|
end
|
397
|
+
raise MetadataServerNotResponding unless gce_check
|
398
398
|
retry_count = self.retry_count if retry_count == :default
|
399
399
|
retry_count += 1 if retry_count
|
400
400
|
retry_timeout = self.retry_timeout if retry_timeout == :default
|
@@ -845,6 +845,7 @@ module Google
|
|
845
845
|
@existence = :no
|
846
846
|
raise MetadataServerNotResponding
|
847
847
|
end
|
848
|
+
@existence = :confirmed
|
848
849
|
result = @overrides.lookup path, query: query
|
849
850
|
result ||= Response.new 404, "Not found", FLAVOR_HEADER
|
850
851
|
result
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-env
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -59,10 +59,10 @@ homepage: https://github.com/googleapis/ruby-cloud-env
|
|
59
59
|
licenses:
|
60
60
|
- Apache-2.0
|
61
61
|
metadata:
|
62
|
-
changelog_uri: https://rubydoc.info/gems/google-cloud-env/2.1.
|
62
|
+
changelog_uri: https://rubydoc.info/gems/google-cloud-env/2.1.1/CHANGELOG.md
|
63
63
|
source_code_uri: https://github.com/googleapis/ruby-cloud-env
|
64
64
|
bug_tracker_uri: https://github.com/googleapis/ruby-cloud-env/issues
|
65
|
-
documentation_uri: https://rubydoc.info/gems/google-cloud-env/2.1.
|
65
|
+
documentation_uri: https://rubydoc.info/gems/google-cloud-env/2.1.1
|
66
66
|
post_install_message:
|
67
67
|
rdoc_options: []
|
68
68
|
require_paths:
|
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '0'
|
80
80
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
81
|
+
rubygems_version: 3.5.3
|
82
82
|
signing_key:
|
83
83
|
specification_version: 4
|
84
84
|
summary: Google Cloud Platform hosting environment information.
|