From 54e46417451118d38dbfd16147dfb1a27419a84a Mon Sep 17 00:00:00 2001 From: Shawn Neal Date: Tue, 6 Jan 2015 16:18:17 -0800 Subject: [PATCH 1/2] require version to fix specs --- spec/lib/net/ntlm/version_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/lib/net/ntlm/version_spec.rb b/spec/lib/net/ntlm/version_spec.rb index b0434d3..b9b98c8 100644 --- a/spec/lib/net/ntlm/version_spec.rb +++ b/spec/lib/net/ntlm/version_spec.rb @@ -1,4 +1,5 @@ require 'spec_helper' +require_relative '../../../../lib/net/ntlm/version' describe Net::NTLM::VERSION do From d5dde374af705916c7472230759040f072171276 Mon Sep 17 00:00:00 2001 From: Shawn Neal Date: Tue, 6 Jan 2015 16:35:23 -0800 Subject: [PATCH 2/2] Ruby 1.8.7 support --- spec/lib/net/ntlm/version_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/net/ntlm/version_spec.rb b/spec/lib/net/ntlm/version_spec.rb index b9b98c8..a367995 100644 --- a/spec/lib/net/ntlm/version_spec.rb +++ b/spec/lib/net/ntlm/version_spec.rb @@ -1,5 +1,5 @@ require 'spec_helper' -require_relative '../../../../lib/net/ntlm/version' +require File.expand_path("#{File.dirname(__FILE__)}/../../../../lib/net/ntlm/version") describe Net::NTLM::VERSION do