<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Gemfile</filename>
    </added>
    <added>
      <filename>spec/quality_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,6 +1,3 @@
-.DS_Store
-*~
-.#*
-*.jar
-sinatra.log
-pkg
\ No newline at end of file
+pkg
+bin
+vendor/gems</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 == 0.1.0 / 2009-06-14
- 
+
 * 1 major enhancement
- 
+
   * Birthday!</diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -14,8 +14,8 @@ h2. Rack responses
 
 Rack::Client can be used to make HTTP requests to any type of server, not
 just ones using Rack. However, when a request is made then a proper
-Rack response (specifically a Rack::MockResponse) object is returned. 
-For Rubyists, this means you don't need to learn yet another interface 
+Rack response (specifically a Rack::MockResponse) object is returned.
+For Rubyists, this means you don't need to learn yet another interface
 and can just stick with Rack both on the server, test, and client side of
 things.
 </diff>
      <filename>README.textile</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ task :default  =&gt; :spec
 
 spec = Gem::Specification.new do |s|
   s.name              = &quot;rack-client&quot;
-  s.rubyforge_project = s.name  
+  s.rubyforge_project = s.name
   s.version           = Rack::Client::VERSION
   s.author            = &quot;Tim Carey-Smith&quot;
   s.email             = &quot;tim&quot; + &quot;@&quot; + &quot;spork.in&quot;
@@ -23,8 +23,12 @@ spec = Gem::Specification.new do |s|
   s.files             = %w[History.txt LICENSE README.textile Rakefile] + Dir[&quot;lib/**/*&quot;] + Dir[&quot;demo/**/*&quot;]
   s.test_files        = Dir[&quot;spec/**/*&quot;]
 
-  s.add_dependency 'rack',      '~&gt; 1'  # 1.X.X
-  s.add_dependency 'rack-test', '~&gt; 0'  # 0.X.X
+  require 'bundler'
+  manifest = Bundler::Environment.load(File.dirname(__FILE__) + '/Gemfile')
+  manifest.dependencies.each do |d|
+    next if d.only &amp;&amp; d.only.include?('test')
+    s.add_dependency(d.name, d.version)
+  end
 end
 
 Rake::GemPackageTask.new(spec) do |package|</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -12,7 +12,7 @@ describe Demo, &quot;/store resource&quot; do
     Rack::Client.new
     # Demo::App.new
   end
-  before(:all) { delete &quot;http://localhost:9292/store&quot; }  
+  before(:all) { delete &quot;http://localhost:9292/store&quot; }
   after { delete &quot;http://localhost:9292/store&quot; }
 
   it &quot;should return a 404 if a resource does not exist&quot; do
@@ -28,8 +28,8 @@ describe Demo, &quot;/store resource&quot; do
     last_response.status.should == 200
     last_response.body.should == &quot;strawberry&quot;
     get &quot;http://localhost:9292/store/car&quot;
-    last_response.status.should == 200    
-    last_response.body.should == &quot;lotus&quot;        
+    last_response.status.should == 200
+    last_response.body.should == &quot;lotus&quot;
   end
 
   it &quot;should be able to clear the store of all items&quot; do</diff>
      <filename>demo/demo_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module Rack
     VERSION = &quot;0.1.1&quot;
     include Rack::Test::Methods
     HTTP_METHODS = [:head, :get, :put, :post, :delete]
-    
+
     class &lt;&lt; self
       extend Forwardable
       def_delegators :new, *HTTP_METHODS</diff>
      <filename>lib/rack/client.rb</filename>
    </modified>
    <modified>
      <diff>@@ -15,7 +15,7 @@ class Rack::Client::HTTP
       head = Net::HTTP::Head.new(request.path, request_headers)
       http.request(head) do |response|
         return parse(response)
-      end      
+      end
     when &quot;GET&quot;
       get = Net::HTTP::Get.new(request.path, request_headers)
       http.request(get) do |response|
@@ -37,7 +37,7 @@ class Rack::Client::HTTP
       delete = Net::HTTP::Delete.new(request.path, request_headers)
       http.request(delete) do |response|
         return parse(response)
-      end           
+      end
     else
       raise &quot;Unsupported method: #{request.request_method.inspect}&quot;
     end</diff>
      <filename>lib/rack/client/http.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ describe Rack::Client, &quot;with an Auth::Basic middleware&quot; do
     client = Rack::Client.new do
       use Rack::Client::Auth::Basic, &quot;username&quot;, &quot;password&quot;
     end
-    response = client.get(&quot;http://localhost:9292/auth/ping&quot;)
+    response = client.get(&quot;http://localhost:9292/auth/ping&quot;) #, :username =&gt; &quot;username&quot;)
     response.status.should == 200
     response.headers[&quot;Content-Type&quot;].should == &quot;text/html&quot;
     response.body.should == &quot;pong&quot;</diff>
      <filename>spec/auth_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;returns a 302&quot; do
       response = Rack::Client.new.get(&quot;http://localhost:9292/redirect&quot;)
       response.status.should == 302
-      response[&quot;Location&quot;].should == &quot;/after-redirect&quot;
+      response[&quot;Location&quot;].should == &quot;http://localhost:9292/after-redirect&quot;
     end
 
     it &quot;heads data&quot; do
@@ -25,7 +25,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;puts data&quot; do
       response = Rack::Client.new.put &quot;http://localhost:9292/shelf/ctm&quot;, &quot;some data&quot;
       response.status.should == 200
-      response[&quot;Location&quot;].should == &quot;/shelf/ctm&quot;
+      response[&quot;Location&quot;].should == &quot;http://localhost:9292/shelf/ctm&quot;
     end
 
     it &quot;deletes data&quot; do
@@ -52,7 +52,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;returns a 302&quot; do
       response = Rack::Client.get(&quot;http://localhost:9292/redirect&quot;)
       response.status.should == 302
-      response[&quot;Location&quot;].should == &quot;/after-redirect&quot;
+      response[&quot;Location&quot;].should == &quot;http://localhost:9292/after-redirect&quot;
     end
 
     it &quot;heads data&quot; do
@@ -64,7 +64,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;puts data&quot; do
       response = Rack::Client.put &quot;http://localhost:9292/shelf/ctm&quot;, &quot;some data&quot;
       response.status.should == 200
-      response[&quot;Location&quot;].should == &quot;/shelf/ctm&quot;      
+      response[&quot;Location&quot;].should == &quot;http://localhost:9292/shelf/ctm&quot;
     end
 
     it &quot;deletes data&quot; do
@@ -82,7 +82,7 @@ describe Rack::Client, &quot;without middleware&quot; do
   context &quot;at the rack-test level&quot; do
     include Rack::Test::Methods
     def app() Rack::Client.new end
-    
+
     it &quot;returns an empty body&quot; do
       get &quot;http://localhost:9292/empty&quot;
       last_response.status.should == 200
@@ -94,7 +94,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;returns a 302&quot; do
       get &quot;http://localhost:9292/redirect&quot;
       last_response.status.should == 302
-      last_response[&quot;Location&quot;].should == &quot;/after-redirect&quot;
+      last_response[&quot;Location&quot;].should == &quot;http://localhost:9292/after-redirect&quot;
     end
 
     it &quot;heads data&quot; do
@@ -106,7 +106,7 @@ describe Rack::Client, &quot;without middleware&quot; do
     it &quot;puts data&quot; do
       put &quot;http://localhost:9292/shelf/ctm&quot;, &quot;some data&quot;
       last_response.status.should == 200
-      last_response[&quot;Location&quot;].should == &quot;/shelf/ctm&quot;      
+      last_response[&quot;Location&quot;].should == &quot;http://localhost:9292/shelf/ctm&quot;
     end
 
     it &quot;deletes data&quot; do</diff>
      <filename>spec/core_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@ describe Rack::Client, &quot;with an Rack app endpoint&quot; do
 
     it &quot;only functions for that domain&quot; do
       client = Rack::Client.new do
-        run Rack::URLMap.new(&quot;http://google.com/&quot; =&gt; MyApp)        
+        run Rack::URLMap.new(&quot;http://google.com/&quot; =&gt; MyApp)
       end
       response = client.get(&quot;http://example.org/&quot;)
       response.status.should == 404</diff>
      <filename>spec/endpoint_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,3 @@
-require 'rubygems'
-require 'spec'
-require 'rack/contrib'
-gem 'rack-test'
+Bundler.require_env(:test)
 
 require File.expand_path(File.dirname(__FILE__) + &quot;/../lib/rack/client&quot;)</diff>
      <filename>spec/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>42d5737043a9bff1cf5bf845760506d4dd851c91</id>
    </parent>
  </parents>
  <author>
    <name>Tim Carey-Smith</name>
    <email>tim@spork.in</email>
  </author>
  <url>http://github.com/halorgium/rack-client/commit/036c4e9c8e16bff8ec5ab65f523c695c68383f44</url>
  <id>036c4e9c8e16bff8ec5ab65f523c695c68383f44</id>
  <committed-date>2009-10-27T23:34:57-07:00</committed-date>
  <authored-date>2009-10-27T23:34:57-07:00</authored-date>
  <message>Update the code to use the bundler and make it clean</message>
  <tree>421e8d35b53292ae662efc647aa0ff43bb8d73f9</tree>
  <committer>
    <name>Tim Carey-Smith</name>
    <email>tim@spork.in</email>
  </committer>
</commit>
