Merge pull request #73 from sgomes/master

Small fixes to client secrets
This commit is contained in:
Steve Bazyl 2013-08-08 11:47:58 -07:00
commit 89830508b2
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ require 'google/api_client/media'
require 'google/api_client/service_account'
require 'google/api_client/batch'
require 'google/api_client/gzip'
require 'google/api_client/client_secrets'
require 'google/api_client/railtie' if defined?(Rails::Railtie)
module Google

View File

@ -146,7 +146,7 @@ module Google
end
def to_authorization
gem 'signet', '~> 0.4.0'
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