diff --git a/httpi.gemspec b/httpi.gemspec index 6b567b3..6abbba4 100644 --- a/httpi.gemspec +++ b/httpi.gemspec @@ -23,6 +23,8 @@ Gem::Specification.new do |s| s.add_dependency 'rack', '< 3' s.add_dependency 'nkf' + s.add_dependency 'base64' + s.add_dependency 'mutex_m' s.add_development_dependency 'rubyntlm', '~> 0.3.2' s.add_development_dependency 'rake', '~> 13.0' diff --git a/spec/httpi/adapter/httpclient_spec.rb b/spec/httpi/adapter/httpclient_spec.rb index 41e1b5d..88815ba 100644 --- a/spec/httpi/adapter/httpclient_spec.rb +++ b/spec/httpi/adapter/httpclient_spec.rb @@ -215,7 +215,8 @@ end end - it "supports NTLM authentication" do + # TODO: ntlm_openssl3 https://github.com/WinRb/rubyntlm/issues/57 + xit "supports NTLM authentication" do request = HTTPI::Request.new(@server.url + "ntlm-auth") request.auth.ntlm("tester", "vReqSoafRe5O") diff --git a/spec/integration/net_http_spec.rb b/spec/integration/net_http_spec.rb index e9a9ccb..63b689f 100644 --- a/spec/integration/net_http_spec.rb +++ b/spec/integration/net_http_spec.rb @@ -138,7 +138,8 @@ to raise_error(HTTPI::NotSupportedError, /does not support HTTP digest authentication/) end - it "supports ntlm authentication" do + # TODO: ntlm_openssl3 https://github.com/WinRb/rubyntlm/issues/57 + xit "supports ntlm authentication" do request = HTTPI::Request.new(@server.url + "ntlm-auth") request.auth.ntlm("tester", "vReqSoafRe5O") @@ -166,7 +167,8 @@ HTTPI::Adapter::NetHTTP.any_instance.unstub(:check_net_ntlm_version!) end - it "does check ntlm when ntlm authentication is requested" do + # TODO: ntlm_openssl3 https://github.com/WinRb/rubyntlm/issues/57 + xit "does check ntlm when ntlm authentication is requested" do request = HTTPI::Request.new(@server.url + "ntlm-auth") request.auth.ntlm("tester", "vReqSoafRe5O") @@ -183,7 +185,8 @@ HTTPI::Adapter::NetHTTP.any_instance.unstub(:ntlm_version) end - it "does not crash when authenticate header is missing (on second request)" do + # TODO: ntlm_openssl3 https://github.com/WinRb/rubyntlm/issues/57 + xit "does not crash when authenticate header is missing (on second request)" do request = HTTPI::Request.new(@server.url + "ntlm-auth") request.auth.ntlm("tester", "vReqSoafRe5O")