-
Notifications
You must be signed in to change notification settings - Fork 436
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
Ensure support for various versions of Faraday #583
base: master
Are you sure you want to change the base?
Conversation
.travis.yml
Outdated
fast_finish: true | ||
allow_failures: | ||
- rvm: ruby-head | ||
- rvm: jruby-head | ||
- rvm: ree | ||
- rvm: 1.9 |
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.
Appraisal is generating these gemfiles but they're using short hash syntax instead of arrows meaning ruby < 2 fails. I've got Travis running the usual Gemfile
and marked these appraisal gemfiles as allowed failures to get around this. Its not nice, but it works.
This means the latest versions are always used so you dont need to worry about updating them.
Maybe this will force it
The failures here are:
Not sure what to do about this. Doesn't seem related to my changes. |
Hello, Faraday v0.14.0 was released on Jan 19th. Do you still plan on updating this pr? |
@gguerini I wasn't sure how much point there was? I never heard back from anyone about the other issues failing the build. |
With upcoming changes to the Faraday adapter (#582), it's important to ensure it works for multiple versions of Faraday. I've been using Appraisal a bit for other gems I'm working on and it's really help out - catching a few unexpected issues.
I saw >= faraday 0.9.0 in the gemfile so I've included all versions since then. I've had to move the faraday dependency out of the Gemfile and into the gemspec to avoid it being specified twice with two different versions, as that'll trip up bundler. Let me know if that is a concern.
When v0.14.0 is out I'll come back and add that, as that's the one which drops the bundled typhoeus adapter.