Small fixes to client secrets:
- Load automatically with a "require 'google/api_client'" - Allow for signet >= 0.4.0
This commit is contained in:
1 parent
a49e638475
commit
d1fe3c2277
2 files changed
+2
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user