<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -141,6 +141,11 @@ Apache:
     &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
 
+== Changes from version 0.9.0
+
+* The library should now run on Windows, though there may be issues shutting
+  it down.
+
 == Changes from version 0.8.0
 
 * You can pass a socket to SCGI::Processor.new via settings[:socket]</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,12 @@
 require 'rake'
 require 'rake/clean'
-require 'rake/rdoctask'
+begin
+  require 'hanna/rdoctask'
+rescue LoadError
+  require 'rake/rdoctask'
+end
+
+CLEAN.include [&quot;rdoc&quot;]
 
 Rake::RDocTask.new do |rdoc|
   rdoc.rdoc_dir = &quot;rdoc&quot;</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -254,8 +254,13 @@ module SCGI
     def setup_signals
       trap(&quot;TERM&quot;) { @log.info(&quot;SIGTERM, forced shutdown.&quot;); shutdown(force=true) }
       trap(&quot;INT&quot;) { @log.info(&quot;SIGINT, graceful shutdown started.&quot;); shutdown }
-      trap(&quot;HUP&quot;) { @log.info(&quot;SIGHUP, graceful shutdown started.&quot;); shutdown }
-      trap(&quot;USR2&quot;) { @log.info(status_info) }
+      begin
+        trap(&quot;HUP&quot;) { @log.info(&quot;SIGHUP, graceful shutdown started.&quot;); shutdown }
+        trap(&quot;USR2&quot;) { @log.info(status_info) }
+      rescue ArgumentError
+        # Probably on Windows and these signals aren't supported
+        nil
+      end
     end
         
     # Returns a Hash with status information.  This is used</diff>
      <filename>lib/scgi.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 spec = Gem::Specification.new do |s| 
   s.name = &quot;scgi&quot;
-  s.version = &quot;0.9.0&quot;
+  s.version = &quot;0.9.1&quot;
   s.author = &quot;Jeremy Evans&quot;
   s.email = &quot;code@jeremyevans.net&quot;
   s.platform = Gem::Platform::RUBY</diff>
      <filename>scgi.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>389d1bf4c923216eafcf6bf30897d0bcf128c6f8</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </author>
  <url>http://github.com/jeremyevans/ruby-scgi/commit/09ccf58c008f626ae72ec08cccf0e2cb2c4fa9a1</url>
  <id>09ccf58c008f626ae72ec08cccf0e2cb2c4fa9a1</id>
  <committed-date>2008-11-07T08:31:11-08:00</committed-date>
  <authored-date>2008-11-07T08:31:11-08:00</authored-date>
  <message>Allow library to run on Windows, bump version to 0.9.1

This commit allows the library to run on Windows by changing the
signal handling code.  It also changes the Rakefile to use the hanna
template if it is available.</message>
  <tree>c60e9cb359326501f3d86a0115f6fe7a17275df2</tree>
  <committer>
    <name>Jeremy Evans</name>
    <email>code@jeremyevans.net</email>
  </committer>
</commit>
