Skip to content

Commit

Permalink
Merge pull request #171 from thomasal/patch-1
Browse files Browse the repository at this point in the history
fix bug with rubyntlm v0.6.0
  • Loading branch information
rogerleite committed May 9, 2016
2 parents 7a81287 + fc5ca3f commit 4aed534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httpi/adapter/net_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def request(method)
def check_net_ntlm_version!
begin
require 'net/ntlm'
require 'net/ntlm/version' unless Net::NTLM.const_defined?(:VERSION)
require 'net/ntlm/version' unless Net::NTLM.const_defined?(:VERSION, false)
unless Net::NTLM::VERSION::STRING >= '0.3.2'
raise ArgumentError, 'Invalid version of rubyntlm. Please use v0.3.2+.'
end
Expand Down

0 comments on commit 4aed534

Please sign in to comment.