<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 == 1.2.1 Asynctilicious Ultra Supreme release
- * Use Rails Rack based dispatcher when available in Rails 2.3
+ * Require Rack 1.0.0
+ * Require EventMachine 0.12.6
+ * Use Rails Rack based dispatcher when available
  * Allow String for response body
  * Require openssl before eventmachine to prevent crash in 1.9
 </diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ module Thin
     
     CODENAME = &quot;Asynctilicious Ultra Supreme&quot;.freeze
     
-    RACK     = [0, 1].freeze # Rack protocol version that was tested
+    RACK     = [1, 0].freeze # Rack protocol version
   end
   
   NAME    = 'thin'.freeze</diff>
      <filename>lib/thin/version.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,13 +5,21 @@ describe Server, &quot;stopping&quot; do
     start_server do |env|
       [200, { 'Content-Type' =&gt; 'text/html' }, ['ok']]
     end
+    @done = false
   end
   
   it &quot;should wait for current requests before soft stopping&quot; do
     socket = TCPSocket.new('0.0.0.0', 3333)
     socket.write(&quot;GET / HTTP/1.1&quot;)
-    @server.stop # Stop the server in the middle of a request
-    socket.write(&quot;\r\n\r\n&quot;)
+    EventMachine.next_tick do
+      @server.stop # Stop the server in the middle of a request
+      socket.write(&quot;\r\n\r\n&quot;)
+      @done = true
+    end
+    
+    timeout(2) do
+      Thread.pass until @done
+    end
     
     out = socket.read
     socket.close
@@ -36,7 +44,9 @@ describe Server, &quot;stopping&quot; do
     socket.write(&quot;GET / HTTP/1.1&quot;)
     @server.stop! # Force stop the server in the middle of a request
     
-    EventMachine.next_tick { socket.should be_closed }
+    EventMachine.next_tick do
+      socket.should be_closed
+    end
   end
   
   after do</diff>
      <filename>spec/server/stopping_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,8 +20,8 @@ spec = Gem::Specification.new do |s|
 
   s.required_ruby_version = '&gt;= 1.8.5'
   
-  s.add_dependency        'rack',         '&gt;= 0.9.1'
-  s.add_dependency        'eventmachine', '&gt;= 0.12.4'
+  s.add_dependency        'rack',         '&gt;= 1.0.0'
+  s.add_dependency        'eventmachine', '&gt;= 0.12.6'
   unless WIN
     s.add_dependency      'daemons',      '&gt;= 1.0.9'
   end</diff>
      <filename>tasks/gem.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a303c274bbba38d46e6164672921b9610ec28c77</id>
    </parent>
  </parents>
  <author>
    <name>macournoyer</name>
    <email>macournoyer@gmail.com</email>
  </author>
  <url>http://github.com/macournoyer/thin/commit/ed2325ff41c187156abf17a61453653eadcaea98</url>
  <id>ed2325ff41c187156abf17a61453653eadcaea98</id>
  <committed-date>2009-05-01T19:14:20-07:00</committed-date>
  <authored-date>2009-05-01T19:14:20-07:00</authored-date>
  <message>* Require Rack 1.0.0
* Require EventMachine 0.12.6</message>
  <tree>f0f4108ed95be364d711c9aff557013cb2f2343f</tree>
  <committer>
    <name>macournoyer</name>
    <email>macournoyer@gmail.com</email>
  </committer>
</commit>
