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

Make socksify and rack gem dependencies optional #225

Merged

Conversation

ioquatix
Copy link
Contributor

@ioquatix ioquatix commented Oct 5, 2021

Fixes #224. Fixes #205.

@ioquatix ioquatix force-pushed the update-and-rework-gem-dependencies branch 2 times, most recently from 9e25a26 to 650b037 Compare October 5, 2021 07:05
Copy link
Contributor

@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.

Thanks!

.github/workflows/development.yml Outdated Show resolved Hide resolved
lib/httpi/adapter/rack.rb Outdated Show resolved Hide resolved
@ioquatix ioquatix force-pushed the update-and-rework-gem-dependencies branch from 83f391e to 2ed09a9 Compare October 5, 2021 11:14
@olleolleolle
Copy link
Contributor

I am frantically pushing APPROVE AND RUN

@ioquatix ioquatix force-pushed the update-and-rework-gem-dependencies branch 5 times, most recently from 8f41b40 to e9057fd Compare October 5, 2021 12:08
README.md Outdated Show resolved Hide resolved
@@ -294,7 +292,7 @@
end

HTTPI::Adapter::ADAPTERS.each do |adapter, opts|
unless (adapter == :em_http && RUBY_VERSION =~ /1\.8/) || (adapter == :curb && RUBY_PLATFORM =~ /java/)
unless (adapter == :em_http || adapter == :curb) && RUBY_PLATFORM =~ /java/
Copy link
Contributor

Choose a reason for hiding this comment

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

As mentioned, a platform-to-adapters-supported-on-that-platform could be interesting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah this was a quick hack to get it passing since it's already 1AM lol.

Copy link
Contributor

Choose a reason for hiding this comment

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

All in due time, that's a note for future PRs.

Choose a reason for hiding this comment

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

Yes

Choose a reason for hiding this comment

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

Yes

@olleolleolle
Copy link
Contributor

So, I think this is at the place where we need to look at things we can extract from it, and offer to the default branch.

A way forward with this big a change is a new major version, which allows to shed old version support etc.

@olleolleolle olleolleolle linked an issue Oct 5, 2021 that may be closed by this pull request
@olleolleolle
Copy link
Contributor

In addition to the earlier things fixed, the CI issue is also fixed by this.

@olleolleolle olleolleolle mentioned this pull request Oct 5, 2021
3 tasks
@ioquatix ioquatix force-pushed the update-and-rework-gem-dependencies branch from a797a27 to e777d2f Compare October 5, 2021 12:50
@olleolleolle olleolleolle changed the title Remove socksify and rack gem dependencies. Update puma and rake. Make socksify and rack gem dependencies optional Oct 5, 2021
@olleolleolle olleolleolle merged commit ac93ad6 into savonrb:master Oct 5, 2021
olleolleolle added a commit that referenced this pull request Oct 5, 2021
@ioquatix ioquatix deleted the update-and-rework-gem-dependencies branch October 5, 2021 13:13
@pcai
Copy link
Member

pcai commented Oct 5, 2021

Thank you for your work on this.

@olleolleolle
Copy link
Contributor

This has now been released as 3.0.0. https://github.com/savonrb/httpi/releases/tag/v3.0.0

@ioquatix
Copy link
Contributor Author

Thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Can we remove socksify as a dependency? CI stopped on Travis Licence issue with Socksify gem
4 participants