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

Replace the Net::HTTP adapter by a separate gem #1195

Conversation

JanDintel
Copy link

Description

The Net::HTTP adapter is extracted into its own gem. The idea behind this change is to create an ecosystem of different packages that you can use with Faraday, so that Faraday doesn’t have to ship with the packages itself.

For now all the Net::HTTP tests are still in place to verify that everything is working correctly.

Link to related issues if any. (As Fixes #XXX)

Todos

List any remaining work that needs to be done, i.e:

  • Tests
  • Documentation

Additional Notes

Optional section

@JanDintel JanDintel force-pushed the replace-net-http-with-extracted-net-http-gem branch from 937c86b to 27af045 Compare October 23, 2020 19:19
@olleolleolle
Copy link
Member

Guessing the implicit begin rescue end trio isn't available in the failing ruby version?

@JanDintel JanDintel force-pushed the replace-net-http-with-extracted-net-http-gem branch from 27af045 to e61c942 Compare October 29, 2020 18:14
@JanDintel
Copy link
Author

JanDintel commented Oct 29, 2020

@olleolleolle it was indeed the implicit begin rescue end, everything is green now.

@olleolleolle and @iMacTia is this what you had in mind regarding the componentization of the adapters?

@JanDintel JanDintel force-pushed the replace-net-http-with-extracted-net-http-gem branch from e61c942 to 2f85419 Compare October 29, 2020 19:24
The Net::HTTP adapter is extracted into its own gem. The idea behind this change is to create an ecosystem of different packages that you can use with Faraday, so that Faraday doesn’t have to ship with the packages itself.

For now all the Net::HTTP tests are still in place to verify that everything is working correctly.
@JanDintel JanDintel force-pushed the replace-net-http-with-extracted-net-http-gem branch from 2f85419 to d33840b Compare October 29, 2020 19:28
@iMacTia
Copy link
Member

iMacTia commented Nov 6, 2020

Hi @JanDintel, apologies for the late reply!
YES, this is indeed what we were thinking about 😃.
The only thing we need to make sure of is that after this change existing code will still be working as expected.
I saw you didn't remove any net_http adapter tests, so I guess those are all still passing fine?

@JanDintel
Copy link
Author

Replaced by #1222

@JanDintel JanDintel closed this Dec 25, 2020
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.

None yet

3 participants