google-cloud-env 1.6.0 → 2.1.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: c1d6be34c567d4881e2f9e841727cbde968ae37bfd41b5d27bcd3c7b21840d8c
4
- data.tar.gz: 7aa6c6c1805fb4f51e1b76685740c47a8017629447ab0d7f91f602761e0b7c89
3
+ metadata.gz: 86778304c7001d745acd20f90528b22a5e03c2c048f522cedd8e99ab1f50bf24
4
+ data.tar.gz: '05291246aa4fb33c473f2fa9bceefdc921460b4424174ef357707e07c2c832bc'
5
5
  SHA512:
6
- metadata.gz: 85b70ad063ca34727e9838b78933231c7181b8d82cd3c12fd69a199da4af7d24655700147277a9dea7cab575f5d90b1007337a2bfbde24f087e573f8bd77c57b
7
- data.tar.gz: dc25667e37ffd201c6000542e2f4fcba4f2f1466bd7f6167932322cb0fd40a9fbbfbb42033ed836f1db98f836b6cdd4e1ce345b362cf746b0ba86019e43d2631
6
+ metadata.gz: 3900d323cdddef329f2edc4b17f7098dda5edac5378bfb11fc1311b23dc0680eb83d8f18bef86ad95baeb46315c7466551e7a0c5badf31924d3f6862ff05b1f5
7
+ data.tar.gz: 5ba1b0660ab4ee0e04f34cec0cee72ef3fda2fe7aa52e14dfb159db4c0a89d9cc38cf215d2606b900c1f0c25f9fc77d942b377ab678179859ac23be23dadfc5e
data/CHANGELOG.md CHANGED
@@ -1,11 +1,41 @@
1
1
  # Release History
2
2
 
3
- ## [1.6.0](https://www.github.com/googleapis/ruby-cloud-env/compare/google-cloud-env/v1.5.0...google-cloud-env/v1.6.0) (2022-03-21)
3
+ ### 2.1.0 (2023-12-12)
4
4
 
5
+ #### Features
6
+
7
+ * Provide retrieval_monotonic_time on compute metadata response objects ([#62](https://github.com/googleapis/ruby-cloud-env/issues/62))
8
+
9
+ ### 2.0.1 (2023-12-01)
10
+
11
+ #### Bug Fixes
12
+
13
+ * Bad response status or flavor headers no longer signal positive metadata existence ([#61](https://github.com/googleapis/ruby-cloud-env/issues/61))
14
+ * Increase token expiry buffer to three and a half minutes ([#59](https://github.com/googleapis/ruby-cloud-env/issues/59))
15
+
16
+ ### 2.0.0 (2023-11-14)
17
+
18
+ This is a major overhaul of the mechanisms underlying this gem, to improve reliability and provide better mocking interfaces. Environment interrogation calls are unchanged, but the mocking override parameters from 1.x have been removed in favor of the new interfaces, hence the semver-major version bump.
19
+
20
+ This version has not yet added explicit calls for detecting newer runtimes such as Cloud Run and Cloud Functions. Those will come in the near future.
21
+
22
+ #### Features
23
+
24
+ * Update minimum Ruby version to 2.7
25
+ * Provide access objects for information sources (such as environment variables, file system, and metadata server)
26
+ * Each access object has an interface for providing mock data for testing
27
+ * Much more robust retry policy and detection mechanisms for the metadata server
28
+ * Provide ensure_metadata and lookup_metadata_response calls at the top level interface
29
+
30
+ ### 1.7.0 (2023-05-15)
31
+
32
+ #### Features
33
+
34
+ * Update minimum Ruby version to 2.6 ([#34](https://github.com/googleapis/ruby-cloud-env/issues/34))
5
35
 
6
- ### Features
36
+ ### 1.6.0 (2022-03-21)
7
37
 
8
- * **deps:** update actions/setup-node action to v3 ([#27](https://www.github.com/googleapis/ruby-cloud-env/issues/27)) ([ffb9430](https://www.github.com/googleapis/ruby-cloud-env/commit/ffb9430e67bc4504d8c4f69203a0f911a90bff5a))
38
+ * Support for Faraday 2
9
39
 
10
40
  ### 1.5.0 (2021-03-08)
11
41
 
data/README.md CHANGED
@@ -1,27 +1,26 @@
1
1
  # google-cloud-env
2
2
 
3
3
  This library provides information on the application hosting environment for
4
- apps running on Google Cloud Platform.
4
+ apps running on Google Cloud Platform. This includes information on the Google
5
+ compute product being used, the current project and credentials, and other
6
+ information surfaced via environment variables, the file system, and the
7
+ Metadata Server.
5
8
 
6
9
  - [google-cloud-env API documentation](https://googleapis.dev/ruby/google-cloud-env/latest)
7
10
 
8
11
  ## Supported Ruby Versions
9
12
 
10
- This library is supported on Ruby 2.5+.
11
-
12
- Google provides official support for Ruby versions that are actively supported
13
- by Ruby Corethat is, Ruby versions that are either in normal maintenance or in
14
- security maintenance, and not end of life. Currently, this means Ruby 2.5 and
15
- later. Older versions of Ruby _may_ still work, but are unsupported and not
16
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
17
- about the Ruby support schedule.
18
-
19
- ## Versioning
20
-
21
- This library follows [Semantic Versioning](http://semver.org/).
22
-
23
- It is currently in major version zero (0.y.z), which means that anything may
24
- change at any time and the public API should not be considered stable.
13
+ This library is supported on Ruby 2.7+.
14
+
15
+ In general, Google provides official support for CRuby versions that are
16
+ actively supported by the Ruby Core team -- that is, Ruby versions that are
17
+ either in normal maintenance or in security maintenance -- and for about one
18
+ year after end of life. Older versions of Ruby _may_ still work, but are
19
+ unsupported and not recommended. See
20
+ https://www.ruby-lang.org/en/downloads/branches/ for more details about the
21
+ Ruby-Core support schedule. See
22
+ https://cloud.google.com/ruby/getting-started/supported-ruby-versions for more
23
+ details about Google's Ruby support schedule.
25
24
 
26
25
  ## Contributing
27
26