-
-
Notifications
You must be signed in to change notification settings - Fork 497
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 version in gemspec #794
Conversation
|
There are a few differences as well, which can be seen in tests (it wants |
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.
0165273
to
1c1b3ba
Compare
Ah, I guess possibly https://github.com/vcr/vcr/blob/master/script/ci.sh#L89 needs to change? |
1c1b3ba
to
0e0d855
Compare
|
0e0d855
to
a497735
Compare
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 👀 |
17e89bf
to
82707b8
Compare
@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.
Yes. It was deprecated in https://github.com/codeclimate/ruby-test-reporter/blob/master/CHANGELOG.md#changes-1
7323d84
to
e5e4a68
Compare
e5e4a68
to
0e9e498
Compare
@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!