updates gem dependencies to the latest version

This commit is contained in:
Tim Emiola 2015-03-23 16:36:46 -07:00
parent 3a516305f1
commit 5f4cc99347
5 changed files with 14 additions and 14 deletions

View File

@ -27,7 +27,7 @@ Gem::Specification.new do |s|
s.add_dependency 'faraday', '~> 0.9' s.add_dependency 'faraday', '~> 0.9'
s.add_dependency 'logging', '~> 1.8' s.add_dependency 'logging', '~> 1.8'
s.add_dependency 'jwt', '~> 1.3.0' s.add_dependency 'jwt', '~> 1.4.1'
s.add_dependency 'memoist', '~> 0.11.0' s.add_dependency 'memoist', '~> 0.11.0'
s.add_dependency 'multi_json', '1.11.0' s.add_dependency 'multi_json', '1.11.0'
s.add_dependency 'signet', '~> 0.6.0' s.add_dependency 'signet', '~> 0.6.0'
@ -36,6 +36,6 @@ Gem::Specification.new do |s|
s.add_development_dependency 'simplecov', '~> 0.9.2' s.add_development_dependency 'simplecov', '~> 0.9.2'
s.add_development_dependency 'coveralls', '~> 0.7.11' s.add_development_dependency 'coveralls', '~> 0.7.11'
s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'rubocop', '~> 0.28.0' s.add_development_dependency 'rubocop', '~> 0.29.1'
s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rspec', '~> 3.0'
end end

View File

@ -51,9 +51,9 @@ describe Google::Auth::GCECredentials do
headers = env[:request_headers] headers = env[:request_headers]
expect(headers['Metadata-Flavor']).to eq('Google') expect(headers['Metadata-Flavor']).to eq('Google')
build_json_response( build_json_response(
'access_token' => access_token, 'access_token' => access_token,
'token_type' => 'Bearer', 'token_type' => 'Bearer',
'expires_in' => 3600) 'expires_in' => 3600)
end end
end end
end end

View File

@ -47,8 +47,8 @@ describe Google::Auth::ServiceAccountCredentials do
before(:example) do before(:example) do
@key = OpenSSL::PKey::RSA.new(2048) @key = OpenSSL::PKey::RSA.new(2048)
@client = ServiceAccountCredentials.new( @client = ServiceAccountCredentials.new(
StringIO.new(cred_json_text), StringIO.new(cred_json_text),
'https://www.googleapis.com/auth/userinfo.profile') 'https://www.googleapis.com/auth/userinfo.profile')
end end
def make_auth_stubs(opts = {}) def make_auth_stubs(opts = {})

View File

@ -41,11 +41,11 @@ describe Signet::OAuth2::Client do
before(:example) do before(:example) do
@key = OpenSSL::PKey::RSA.new(2048) @key = OpenSSL::PKey::RSA.new(2048)
@client = Signet::OAuth2::Client.new( @client = Signet::OAuth2::Client.new(
token_credential_uri: 'https://accounts.google.com/o/oauth2/token', token_credential_uri: 'https://accounts.google.com/o/oauth2/token',
scope: 'https://www.googleapis.com/auth/userinfo.profile', scope: 'https://www.googleapis.com/auth/userinfo.profile',
issuer: 'app@example.com', issuer: 'app@example.com',
audience: 'https://accounts.google.com/o/oauth2/token', audience: 'https://accounts.google.com/o/oauth2/token',
signing_key: @key signing_key: @key
) )
end end

View File

@ -47,8 +47,8 @@ describe Google::Auth::UserRefreshCredentials do
before(:example) do before(:example) do
@key = OpenSSL::PKey::RSA.new(2048) @key = OpenSSL::PKey::RSA.new(2048)
@client = UserRefreshCredentials.new( @client = UserRefreshCredentials.new(
StringIO.new(cred_json_text), StringIO.new(cred_json_text),
'https://www.googleapis.com/auth/userinfo.profile') 'https://www.googleapis.com/auth/userinfo.profile')
end end
def make_auth_stubs(opts = {}) def make_auth_stubs(opts = {})