From ff2a31d9f0b228c2ad1cc4b4fda0005876a5a4ba Mon Sep 17 00:00:00 2001 From: Andy Brody Date: Sat, 18 Feb 2017 22:47:19 -0500 Subject: [PATCH] Use plain HTTP httpbin.org for jruby 9.0.5.0. --- spec/integration/httpbin_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/httpbin_spec.rb b/spec/integration/httpbin_spec.rb index de80755..f923fff 100644 --- a/spec/integration/httpbin_spec.rb +++ b/spec/integration/httpbin_spec.rb @@ -13,7 +13,7 @@ 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 ENV['TRAVIS_RUBY_VERSION'] == 'jruby-19mode' + if ['jruby-19mode', 'jruby-9.0.5.0'].include?(ENV['TRAVIS_RUBY_VERSION']) 'http://httpbin.org/' else 'https://httpbin.org/'