mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-13 00:02:57 -04:00
disabling grpc for truffleruby
This commit is contained in:
parent
a49fcc65f5
commit
a0ac3354dc
12
Gemfile
12
Gemfile
@ -32,17 +32,19 @@ group :test do
|
||||
gem "rubocop-performance"
|
||||
end
|
||||
|
||||
platform :mri do
|
||||
if RUBY_VERSION >= "2.3"
|
||||
gem "grpc"
|
||||
gem "logging"
|
||||
end
|
||||
end
|
||||
|
||||
platform :mri, :truffleruby do
|
||||
gem "bcrypt_pbkdf"
|
||||
gem "benchmark-ips"
|
||||
gem "brotli"
|
||||
gem "ed25519"
|
||||
gem "net-ssh-gateway"
|
||||
|
||||
if RUBY_VERSION >= "2.3"
|
||||
gem "grpc"
|
||||
gem "logging"
|
||||
end
|
||||
end
|
||||
|
||||
platform :mri_21 do
|
||||
|
@ -29,7 +29,7 @@ class HTTPTest < Minitest::Test
|
||||
include Plugins::Stream
|
||||
include Plugins::AWSAuthentication
|
||||
include Plugins::Upgrade
|
||||
include Plugins::GRPC unless RUBY_ENGINE == "jruby" || RUBY_VERSION < "2.3"
|
||||
include Plugins::GRPC if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3.0"
|
||||
|
||||
def test_verbose_log
|
||||
log = StringIO.new
|
||||
|
@ -30,7 +30,7 @@ class HTTPSTest < Minitest::Test
|
||||
include Plugins::Stream
|
||||
include Plugins::AWSAuthentication
|
||||
include Plugins::Upgrade
|
||||
include Plugins::GRPC unless RUBY_ENGINE == "jruby" || RUBY_VERSION < "2.3"
|
||||
include Plugins::GRPC if RUBY_ENGINE == "ruby" && RUBY_VERSION >= "2.3.0"
|
||||
|
||||
def test_connection_coalescing
|
||||
coalesced_origin = "https://#{ENV["HTTPBIN_COALESCING_HOST"]}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user