From 05039fb0899272efd6b2acab27b960d2adbfcc48 Mon Sep 17 00:00:00 2001 From: Josh Powell Date: Mon, 28 May 2018 13:11:03 -0400 Subject: [PATCH] Bump Faraday to < 0.16.0; recover spec --- oauth2.gemspec | 2 +- spec/oauth2/client_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oauth2.gemspec b/oauth2.gemspec index 96bbbce2..ef441a4b 100644 --- a/oauth2.gemspec +++ b/oauth2.gemspec @@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'oauth2/version' Gem::Specification.new do |spec| - spec.add_dependency 'faraday', ['>= 0.8', '< 0.15.0'] + spec.add_dependency 'faraday', ['>= 0.8', '< 0.16.0'] spec.add_dependency 'jwt', ['>= 1.0', '< 3.0'] spec.add_dependency 'multi_json', '~> 1.3' spec.add_dependency 'multi_xml', '~> 0.5' diff --git a/spec/oauth2/client_spec.rb b/spec/oauth2/client_spec.rb index 5ca6259e..3afda0c4 100644 --- a/spec/oauth2/client_spec.rb +++ b/spec/oauth2/client_spec.rb @@ -248,7 +248,7 @@ subject.request(:get, '/success') end - expect(output).to include 'INFO -- : get https://api.example.com/success', 'INFO -- : get https://api.example.com/success' + expect(output).to include 'INFO -- request: GET https://api.example.com/success' end end