fix CLIENT_ID_VAR reference in DefaultCredentials (#154)

* fix CLIENT_ID_VAR reference in DefaultCredentials
This commit is contained in:
Graham Paye 2018-08-06 15:46:03 -07:00 committed by GitHub
parent 42b1b6eb53
commit 9b49da35b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
## 0.6.4 (2018/08/03)
* Resolve issue where DefaultCredentials constant was undefined.
## 0.6.3 (2018/08/02)
* Resolve issue where token_store was being written to twice

View File

@ -53,7 +53,7 @@ module Google
clz.make_creds(json_key_io: StringIO.new(MultiJson.dump(json_key)),
scope: scope)
else
warn_if_cloud_sdk_credentials ENV[CLIENT_ID_VAR]
warn_if_cloud_sdk_credentials ENV[CredentialsLoader::CLIENT_ID_VAR]
clz = read_creds
clz.make_creds(scope: scope)
end

View File

@ -31,6 +31,6 @@ module Google
# Module Auth provides classes that provide Google-specific authorization
# used to access Google APIs.
module Auth
VERSION = '0.6.3'.freeze
VERSION = '0.6.4'.freeze
end
end