1
0
Fork 0
mirror of https://github.com/rest-client/rest-client.git synced 2022-11-09 13:49:40 -05:00

Use plain HTTP httpbin.org for all Jruby versions.

This commit is contained in:
Andy Brody 2017-04-09 18:56:00 -04:00
parent 49526387e7
commit 4903660934

View file

@ -13,7 +13,8 @@ describe RestClient::Request do
def default_httpbin_url
# add a hack to work around java/jruby bug
# java.lang.RuntimeException: Could not generate DH keypair with backtrace
if ['jruby-19mode', 'jruby-9.0.5.0'].include?(ENV['TRAVIS_RUBY_VERSION'])
# Also (2017-04-09) Travis Jruby versions have a broken CA keystore
if ENV['TRAVIS_RUBY_VERSION'] =~ /\Ajruby-/
'http://httpbin.org/'
else
'https://httpbin.org/'