From 9b49da35b6824179667b01ac3b9198a4af5bad26 Mon Sep 17 00:00:00 2001 From: Graham Paye Date: Mon, 6 Aug 2018 15:46:03 -0700 Subject: [PATCH] fix CLIENT_ID_VAR reference in DefaultCredentials (#154) * fix CLIENT_ID_VAR reference in DefaultCredentials --- CHANGELOG.md | 4 ++++ lib/googleauth/default_credentials.rb | 2 +- lib/googleauth/version.rb | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 189843c..ed0bc56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/lib/googleauth/default_credentials.rb b/lib/googleauth/default_credentials.rb index 0926f8a..68b3e78 100644 --- a/lib/googleauth/default_credentials.rb +++ b/lib/googleauth/default_credentials.rb @@ -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 diff --git a/lib/googleauth/version.rb b/lib/googleauth/version.rb index 10cb52f..e75ea31 100644 --- a/lib/googleauth/version.rb +++ b/lib/googleauth/version.rb @@ -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