-
Notifications
You must be signed in to change notification settings - Fork 150
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
Implement HTTPI::Auth::SSL#ciphers configuration #180
Conversation
This request option allows to Before merging, I'd like to understand better.
Thanks to make available on all adapters Regards, Roger Leite |
I'm looking at Travis, I saw that net_http_persistent doesn't support ruby 2.0. We can do something at Gemfile to make Travis green again? https://travis-ci.org/savonrb/httpi/jobs/184017813 |
Yes, I can expose the |
Gemfile
Outdated
@@ -9,7 +9,7 @@ gem 'curb', '~> 0.8', :require => false, :platforms => :ruby | |||
gem 'em-http-request', :require => false, :platforms => [:ruby, :jruby] | |||
gem 'em-synchrony', :require => false, :platforms => [:ruby, :jruby] | |||
gem 'excon', '~> 0.21', :require => false, :platforms => [:ruby, :jruby] | |||
gem 'net-http-persistent', '~> 2.8', :require => false | |||
gem 'net-http-persistent', '~> 3.0', :require => false |
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.
Maybe something like:
if RUBY_VERSION == "2.0.0"
gem 'net-http-persistent', '~> 2.8', :require => false
else
gem 'net-http-persistent', '~> 3.0', :require => false
end
This would be awesome! When do you think you will be merging this? @faucct |
I guess I will have time this evening. |
Awesome! Thanks @faucct ! |
749bada
to
3b6d968
Compare
1 similar comment
3b6d968
to
865475c
Compare
3 similar comments
865475c
to
06b6e07
Compare
06b6e07
to
61f3f25
Compare
61f3f25
to
6d68d09
Compare
6d68d09
to
af7dbff
Compare
Why does the bundle grab the newest version though it is requires newer version of ruby? This is a mistery why all those constraints are needed. |
@faucct Is there anything I could do to help? |
Hello. You can determine what triggers those "jumps" of coverage. |
Hello @faucct, it shows that the coverage decreased for |
HI @faucct, regarding the constrains in |
The gem is already being tested against different Ruby versions as you can see inside |
Why was this never merged? Seems like a very useful feature. |
I don't remember, I closed this issue this year because of inactivity since 2017. |
Fixed in #214 |
http-net-persistent
only supports this configuration option since 3.0.0, earlier versions will fail with undefined method error, but only if you will use the option.It also has
HTTP::Net::Persistent#initialize
signature changed, so I have to support both: old and new.