<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,6 @@
+== 1.3.1
+ * Update tests/test_patched_net_http.rb to recognize a redirect as success.
+
 == 1.3
  * Updated library to work with either &quot;Negotiate&quot; or &quot;NTLM&quot; authorization schemes. Arguments to Win32::SSPI.get_initial_token have changed
    but that should only impact code directly using the library. Net::HTTP support still works the same.
@@ -20,4 +23,4 @@
  * Added test to &quot;test_patched_net_http.rb&quot; to ensure net/http has been patched first.
  * Removed Win32 platform restriction on gem (though it will still only run in Win32 environments, real or emulated).
  * CHANGELOG begun
-   
\ No newline at end of file
+   </diff>
      <filename>CHANGELOG.txt</filename>
    </modified>
    <modified>
      <diff>@@ -6,7 +6,7 @@ require 'rake/testtask'
 spec = Gem::Specification.new do |s|
 	s.name = &quot;rubysspi&quot;
 	s.summary = &quot;A library which implements Ruby bindings to the Win32 SSPI library. Also includes a module to add Negotiate authentication support to Net::HTTP.&quot;
-	s.version = &quot;1.3&quot;
+	s.version = &quot;1.3.1&quot;
 	s.author = &quot;Justin Bailey&quot;
 	s.email = &quot;jgbailey @nospam@ gmail.com&quot;
 	s.homepage = &quot;http://rubyforge.org/projects/rubysspi/&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -9,29 +9,29 @@
 # modify this program under the same terms of ruby itself ---
 # Ruby Distribution License or GNU General Public License.
 #
-
-require 'test/unit'
-require 'net/http'
-
-# Intended to test 'patched' version of Net::HTTP. Notice lack of requires at the top.
-class PatchedRubyTest &lt; Test::Unit::TestCase
-  def setup
-    assert ENV[&quot;http_proxy&quot;], &quot;http_proxy must be set before running tests.&quot;
-  end
-  
-  def test_net_http
-		
-		assert_nothing_raised &quot;net/http does not appear to be patched&quot; do
-			assert Net::HTTP.sspi?, &quot;sspi? patch applied but did not return true.&quot;
-		end
-		
-    assert ENV[&quot;http_proxy&quot;], &quot;http_proxy environment variable must be set.&quot;
-    proxy = URI.parse(ENV[&quot;http_proxy&quot;])
-    assert proxy.host &amp;&amp; proxy.port, &quot;Could not parse http_proxy (#{ENV[&quot;http_proxy&quot;]}). http_proxy should be a URL with a port (e.g. http://proxy.corp.com:8080).&quot;
-    
-    Net::HTTP.Proxy(proxy.host, proxy.port).start(&quot;www.google.com&quot;) do |http|
-      resp = http.get(&quot;/&quot;)
-      assert resp.code.to_i == 200, &quot;Did not get response from Google as expected.&quot;
-    end
-  end
-end
+
+require 'test/unit'
+require 'net/http'
+
+# Intended to test 'patched' version of Net::HTTP. Notice lack of requires at the top.
+class PatchedRubyTest &lt; Test::Unit::TestCase
+  def setup
+    assert ENV[&quot;http_proxy&quot;], &quot;http_proxy must be set before running tests.&quot;
+  end
+  
+  def test_net_http
+		
+		assert_nothing_raised &quot;net/http does not appear to be patched&quot; do
+			assert Net::HTTP.sspi?, &quot;sspi? patch applied but did not return true.&quot;
+		end
+		
+    assert ENV[&quot;http_proxy&quot;], &quot;http_proxy environment variable must be set.&quot;
+    proxy = URI.parse(ENV[&quot;http_proxy&quot;])
+    assert proxy.host &amp;&amp; proxy.port, &quot;Could not parse http_proxy (#{ENV[&quot;http_proxy&quot;]}). http_proxy should be a URL with a port (e.g. http://proxy.corp.com:8080).&quot;
+    
+    Net::HTTP.Proxy(proxy.host, proxy.port).start(&quot;www.google.com&quot;) do |http|
+      resp = http.get(&quot;/&quot;)
+      assert(resp.code.to_i == 200 || resp.code.to_i == 302, &quot;Did not get response from Google as expected.&quot;)
+    end
+  end
+end</diff>
      <filename>test/test_patched_net_http.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e4a0382029983c62bd10b976fe201e2fe19b6d08</id>
    </parent>
  </parents>
  <author>
    <name>Justin Bailey</name>
    <email>jgbailey@codeslower.com</email>
  </author>
  <url>http://github.com/m4dc4p/rubysspi/commit/81bb20a23027cd20914d48e84f8491a11d62e7ae</url>
  <id>81bb20a23027cd20914d48e84f8491a11d62e7ae</id>
  <committed-date>2009-01-28T11:33:36-08:00</committed-date>
  <authored-date>2009-01-28T11:33:36-08:00</authored-date>
  <message>Updated test to recognize redirect as success; rolled versions</message>
  <tree>752ddd9bdf1751296be9df7099ffeeddda74d6e5</tree>
  <committer>
    <name>Justin Bailey</name>
    <email>jgbailey@codeslower.com</email>
  </committer>
</commit>
