Upgrade Memoist (#165)
This commit is contained in:
parent
7e42656b1c
commit
3802390e70
|
@ -12,11 +12,11 @@ Gem::Specification.new do |s|
|
|||
s.homepage = 'https://github.com/google/google-auth-library-ruby'
|
||||
s.summary = 'Google Auth Library for Ruby'
|
||||
s.license = 'Apache-2.0'
|
||||
s.description = <<-eos
|
||||
s.description = <<-DESCRIPTION
|
||||
Allows simple authorization for accessing Google APIs.
|
||||
Provide support for Application Default Credentials, as described at
|
||||
https://developers.google.com/accounts/docs/application-default-credentials
|
||||
eos
|
||||
DESCRIPTION
|
||||
|
||||
s.files = `git ls-files`.split("\n")
|
||||
s.test_files = `git ls-files -- spec/*`.split("\n")
|
||||
|
@ -28,7 +28,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_dependency 'faraday', '~> 0.12'
|
||||
s.add_dependency 'jwt', '>= 1.4', '< 3.0'
|
||||
s.add_dependency 'memoist', '~> 0.12'
|
||||
s.add_dependency 'memoist', '~> 0.16'
|
||||
s.add_dependency 'multi_json', '~> 1.11'
|
||||
s.add_dependency 'os', '>= 0.9', '< 2.0'
|
||||
s.add_dependency 'signet', '~> 0.7'
|
||||
|
|
|
@ -35,16 +35,16 @@ module Google
|
|||
# Module Auth provides classes that provide Google-specific authorization
|
||||
# used to access Google APIs.
|
||||
module Auth
|
||||
NO_METADATA_SERVER_ERROR = <<END.freeze
|
||||
NO_METADATA_SERVER_ERROR = <<ERROR.freeze
|
||||
Error code 404 trying to get security access token
|
||||
from Compute Engine metadata for the default service account. This
|
||||
may be because the virtual machine instance does not have permission
|
||||
scopes specified.
|
||||
END
|
||||
UNEXPECTED_ERROR_SUFFIX = <<END.freeze
|
||||
ERROR
|
||||
UNEXPECTED_ERROR_SUFFIX = <<ERROR.freeze
|
||||
trying to get security access token from Compute Engine metadata for
|
||||
the default service account
|
||||
END
|
||||
ERROR
|
||||
|
||||
# Extends Signet::OAuth2::Client so that the auth token is obtained from
|
||||
# the GCE metadata server.
|
||||
|
|
Loading…
Reference in New Issue