Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update faraday and faraday-middleware #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bitbucket_rest_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Gem::Specification.new do |gem|
gem.require_paths = %w[ lib ]

gem.add_dependency 'hashie'
gem.add_dependency 'faraday', '~> 0.9.0'
gem.add_dependency 'faraday', '~> 0.10.1'
gem.add_dependency 'multi_json', '>= 1.7.5', '< 2.0'
gem.add_dependency 'faraday_middleware', '~> 0.9.0'
gem.add_dependency 'faraday_middleware', '~> 0.11'
gem.add_dependency 'nokogiri', '>= 1.5.2'
gem.add_dependency 'simple_oauth'

Expand Down
10 changes: 5 additions & 5 deletions spec/bitbucket_rest_api/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
'Accept' => '*/*',
'Accept-Encoding' => 'gzip;q=1.0,deflate;q=0.6,identity;q=0.3',
'Authorization' => 'Bearer 12345',
'User-Agent' => 'Faraday v0.9.2'
'User-Agent' => 'Faraday v0.10.1'
})

fake_api.new.request(:get, '/1.0/endpoint', {}, {})
Expand All @@ -35,7 +35,7 @@
'Accept' => '*/*',
'Content-Type'=>'application/x-www-form-urlencoded',
'Authorization' => 'Bearer 12345',
'User-Agent' => 'Faraday v0.9.2'
'User-Agent' => 'Faraday v0.10.1'
})

fake_api.new.request(:put, '/1.0/endpoint', { 'data' => { 'key' => 'value'} }, {})
Expand All @@ -48,7 +48,7 @@
'Accept' => '*/*',
'Content-Type'=>'application/x-www-form-urlencoded',
'Authorization' => 'Bearer 12345',
'User-Agent' => 'Faraday v0.9.2'
'User-Agent' => 'Faraday v0.10.1'
})

fake_api.new.request(:patch, '/1.0/endpoint', { 'data' => { 'key' => 'value'} }, {})
Expand All @@ -59,7 +59,7 @@
with(:headers => {
'Accept' => '*/*',
'Authorization' => 'Bearer 12345',
'User-Agent' => 'Faraday v0.9.2'
'User-Agent' => 'Faraday v0.10.1'
})
fake_api.new.request(:delete, '/1.0/endpoint', {}, {})
end
Expand All @@ -71,7 +71,7 @@
'Accept' => '*/*',
'Content-Type'=>'application/x-www-form-urlencoded',
'Authorization' => 'Bearer 12345',
'User-Agent' => 'Faraday v0.9.2'
'User-Agent' => 'Faraday v0.10.1'
})

fake_api.new.request(:post, '/1.0/endpoint', { 'data' => { 'key' => 'value'} }, {})
Expand Down