-
-
Notifications
You must be signed in to change notification settings - Fork 511
Update faraday version in gemspec #794
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
Conversation
|
|
|
There are a few differences as well, which can be seen in tests (it wants |
olleolleolle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A note.
|
Ah, I guess possibly https://github.com/vcr/vcr/blob/master/script/ci.sh#L89 needs to change? |
|
|
|
lostisland/faraday#750 changed the way that the handlers are stored. The default adapter is no longer stored in the list of handlers so the test that was previously failing is bogus, because it no longer warns, and these needed to be updated in order to no longer test that the adapter was in the list. These updated specs will only work on faraday 1.0.0 and above. Thanks @jrafanie for the 👀 |
|
@krainboltgreene could I get you to take a look at this, please? |
| it 'prints a warning if the faraday connection stack contains a middleware after the HTTP adapter' do | ||
| conn = Faraday.new(:url => 'http://sushi.com') do |builder| | ||
| builder.use Faraday::Adapter::NetHttp | ||
| builder.use Faraday::Response::Logger |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✂️ Nice! Yeah, agreed. This test is no longer valid with faraday 1.0.0 as the warning doesn't happen because the adapter is managed differently now.
| require "codeclimate-test-reporter" | ||
| CodeClimate::TestReporter.start | ||
| require 'simplecov' | ||
| SimpleCov.start |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm late to this PR, was it failing on master because of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
@d-m-u Ready to merge? |
|
@krainboltgreene should be good to go, yeah! Thanks!! |
|
|
|
looks like v6.0.0 tag has it @d-m-u: https://github.com/vcr/vcr/blob/v6.0.0/CHANGELOG.md |
Faraday got updated and the manageiq folks were hoping maybe that you all might be amenable to letting people update so we can support ruby 2.7.
Thanks!