Skip to content

Enhance Faraday Support#72

Merged
iMacTia merged 3 commits intomasterfrom
enhance-faraday-support
Feb 21, 2022
Merged

Enhance Faraday Support#72
iMacTia merged 3 commits intomasterfrom
enhance-faraday-support

Conversation

@iMacTia
Copy link
Copy Markdown
Member

@iMacTia iMacTia commented Feb 20, 2022

Summary

  • Replace Travis with GitHub Actions
  • Expand CI matrix to test against Faraday v0, v1 and v2

cc @jrochkind

Why

Faraday v2 was recently released, and people have started having issues with upgrading due to the sometimes pretty deep dependency trees in their applications (see lostisland/faraday#1358 (comment)).
octokit is a fairly popular gem that relies on sawyer, which unfortunately has not been updated in a while!
This PR aims to provide rolling support to all major faraday versions, from 0.x through 1.x and even the fresh new 2.x 🎉
Once released, this will allow octokitand other gems to relax their faraday version lock and support the newest major release 🙌

Next steps

@technoweenie @pengwynn once this is approved and merged, we'd need a new release of sawyer in Rubygems.
I'm happy for you to do so, but I could also do it myself if you provide me with 2 things:

  • Onwership access to the gem in Rubygems
  • Which versions you'd like this to be released at (0.9.0 maybe?)

@iMacTia iMacTia self-assigned this Feb 20, 2022
* Expand CI matrix to test against Faraday v0, v1 and v2
@iMacTia iMacTia force-pushed the enhance-faraday-support branch from 2546a3b to 14a5f80 Compare February 20, 2022 15:04
The rbx-2 matrix branch has been failing since 0.8.2 (2019).
It doesn't make sense to keep testing it, instead we can try Truffleruby which is gaining some traction.
@iMacTia iMacTia marked this pull request as ready for review February 20, 2022 15:27
This was referenced Feb 20, 2022
Copy link
Copy Markdown
Member

@olleolleolle olleolleolle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An elegant and succinct improvement - the "check if conn.close is available".

Thanks for this!

@iMacTia iMacTia merged commit c5b09b9 into master Feb 21, 2022
@iMacTia iMacTia deleted the enhance-faraday-support branch February 21, 2022 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants