google-cloud-env 1.3.2 → 1.3.3

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: 0ee42ea850521061d3f1a6c8de4205c5d546a84d5e7329c6537856087e809f89
4
- data.tar.gz: d7f27f16c341483065e6345d04138a3ae0789e650856d351e909dcef439c9e48
3
+ metadata.gz: 6cc1587d2fad1a7c47c154488e76f4441d4dbb2a4c9a56826f0a18d2027d3e5d
4
+ data.tar.gz: '0998d2e1d9568e680b87f6da44e892c3c2d800ee6e6f17e562f6855c9f5813b8'
5
5
  SHA512:
6
- metadata.gz: f1d4cf238414e5cc08e3ca994a35d15b2912b0358c7de4d33f23a61d7bfeeb93d661bb2ec68d6f8a8a3178e72285a571bf2a44ea0f98ed46f72764a6ae983110
7
- data.tar.gz: 755c1039f5af08315f5e3ce2df79942651d07a82ba059e06c29a45d19971c11c7dcf7182e4e0115b2974a14fbdb9c17f2a321bb1ca6d1bb4416fa73b261a8606
6
+ metadata.gz: f1d417ccdc7fc15e61cdc13a1493f406b0f2437738b5afd51eb00cc8b48e331a1e1145d9debb2246945a3dab38b808f478ad9499da313a901ab7358bc9c404f5
7
+ data.tar.gz: 40a8fb198fc780aa6057e4e56d420b12021f7c401a52765a591f7b761019f1f52ddcea9411659def21c9f704748f8cf69a8dadbded7d22e86cbddbf74d182cb2
@@ -1,5 +1,11 @@
1
1
  # Release History
2
2
 
3
+ ### 1.3.3 / 2020-07-10
4
+
5
+ #### Bug Fixes
6
+
7
+ * Project ID logic honors GOOGLE_CLOUD_PROJECT
8
+
3
9
  ### 1.3.2 / 2020-05-28
4
10
 
5
11
  #### Documentation
@@ -210,7 +210,10 @@ module Google
210
210
  # @return [String,nil]
211
211
  #
212
212
  def project_id
213
- env["GCLOUD_PROJECT"] || env["DEVSHELL_PROJECT_ID"] || lookup_metadata("project", "project-id")
213
+ env["GOOGLE_CLOUD_PROJECT"] ||
214
+ env["GCLOUD_PROJECT"] ||
215
+ env["DEVSHELL_PROJECT_ID"] ||
216
+ lookup_metadata("project", "project-id")
214
217
  end
215
218
 
216
219
  ##
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  class Env
19
- VERSION = "1.3.2".freeze
19
+ VERSION = "1.3.3".freeze
20
20
  end
21
21
  end
22
22
  end
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: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Azuma
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-28 00:00:00.000000000 Z
11
+ date: 2020-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -208,7 +208,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.0.6
211
+ rubygems_version: 3.1.3
212
212
  signing_key:
213
213
  specification_version: 4
214
214
  summary: Google Cloud Platform hosting environment information.