From b314e0df2b1cd1f8434fb423bf7e88e518d83518 Mon Sep 17 00:00:00 2001 From: Daniel Azuma Date: Mon, 29 Jul 2019 10:40:52 -0700 Subject: [PATCH] Ensure ClientSecrets uses googleauth extensions (#814) --- lib/google/api_client/client_secrets.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/google/api_client/client_secrets.rb b/lib/google/api_client/client_secrets.rb index 568356ebf..445a91bc3 100644 --- a/lib/google/api_client/client_secrets.rb +++ b/lib/google/api_client/client_secrets.rb @@ -13,6 +13,7 @@ # limitations under the License. require 'json' +require 'googleauth' module Google @@ -147,8 +148,6 @@ module Google end def to_authorization - gem 'signet', '>= 0.4.0' - require 'signet/oauth_2/client' # NOTE: Do not rely on this default value, as it may change new_authorization = Signet::OAuth2::Client.new new_authorization.client_id = self.client_id