<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Rakefile</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,6 @@
-$: &lt;&lt; File.expand_path(File.dirname(__FILE__) + &quot;/../lib&quot;)
 require &quot;ghi&quot;
 require &quot;ghi/api&quot;
 require &quot;ghi/issue&quot;
-include GHI
 
 ISSUES_YAML = &lt;&lt;-YAML
 ---
@@ -54,15 +52,15 @@ YAML
 
 describe GHI::API do
   it &quot;should require user and repo&quot; do
-    proc { API.new(nil, nil) }.should raise_error(API::InvalidConnection)
-    proc { API.new(&quot;u&quot;, nil) }.should raise_error(API::InvalidConnection)
-    proc { API.new(nil, &quot;r&quot;) }.should raise_error(API::InvalidConnection)
-    proc { API.new(&quot;u&quot;, &quot;r&quot;) }.should_not raise_error(API::InvalidConnection)
+    proc { GHI::API.new(nil, nil) }.should raise_error(GHI::API::InvalidConnection)
+    proc { GHI::API.new(&quot;u&quot;, nil) }.should raise_error(GHI::API::InvalidConnection)
+    proc { GHI::API.new(nil, &quot;r&quot;) }.should raise_error(GHI::API::InvalidConnection)
+    proc { GHI::API.new(&quot;u&quot;, &quot;r&quot;) }.should_not raise_error(GHI::API::InvalidConnection)
   end
 
   describe &quot;requests&quot; do
     before :all do
-      @api = API.new &quot;stephencelis&quot;, &quot;ghi&quot;
+      @api = GHI::API.new &quot;stephencelis&quot;, &quot;ghi&quot;
       GHI.stub!(:login).and_return &quot;stephencelis&quot;
       GHI.stub!(:token).and_return &quot;token&quot;
     end
@@ -106,7 +104,7 @@ describe GHI::API do
       Net::HTTP.stub!(:get).and_return ISSUES_YAML
       issues = @api.search &quot;me&quot;
       issues.should be_an_instance_of(Array)
-      issues.each { |issue| issue.should be_an_instance_of(Issue) }
+      issues.each { |issue| issue.should be_an_instance_of(GHI::Issue) }
     end
 
     it &quot;should search closed&quot; do
@@ -120,7 +118,7 @@ describe GHI::API do
       Net::HTTP.stub!(:get).and_return ISSUES_YAML
       issues = @api.list
       issues.should be_an_instance_of(Array)
-      issues.each { |issue| issue.should be_an_instance_of(Issue) }
+      issues.each { |issue| issue.should be_an_instance_of(GHI::Issue) }
     end
 
     it &quot;should list closed&quot; do
@@ -132,7 +130,7 @@ describe GHI::API do
     it &quot;should show&quot; do
       @api.should_receive(:url).with(:show, 1).and_return &quot;u&quot;
       Net::HTTP.stub!(:get).and_return ISSUE_YAML
-      @api.show(1).should be_an_instance_of(Issue)
+      @api.show(1).should be_an_instance_of(GHI::Issue)
     end
 
     it &quot;should open&quot; do
@@ -140,7 +138,7 @@ describe GHI::API do
       response = mock(Net::HTTPRequest)
       response.stub!(:body).and_return ISSUE_YAML
       Net::HTTP.stub!(:post_form).and_return response
-      @api.open(&quot;Title&quot;, &quot;Body&quot;).should be_an_instance_of(Issue)
+      @api.open(&quot;Title&quot;, &quot;Body&quot;).should be_an_instance_of(GHI::Issue)
     end
 
     it &quot;should edit&quot; do
@@ -148,7 +146,7 @@ describe GHI::API do
       response = mock(Net::HTTPRequest)
       response.stub!(:body).and_return ISSUE_YAML
       Net::HTTP.stub!(:post_form).and_return response
-      @api.edit(1, &quot;Title&quot;, &quot;Body&quot;).should be_an_instance_of(Issue)
+      @api.edit(1, &quot;Title&quot;, &quot;Body&quot;).should be_an_instance_of(GHI::Issue)
     end
 
     it &quot;should close&quot; do
@@ -156,7 +154,7 @@ describe GHI::API do
       response = mock(Net::HTTPRequest)
       response.stub!(:body).and_return ISSUE_YAML
       Net::HTTP.stub!(:post_form).and_return response
-      @api.close(1).should be_an_instance_of(Issue)
+      @api.close(1).should be_an_instance_of(GHI::Issue)
     end
 
     it &quot;should reopen&quot; do
@@ -164,7 +162,7 @@ describe GHI::API do
       response = mock(Net::HTTPRequest)
       response.stub!(:body).and_return ISSUE_YAML
       Net::HTTP.stub!(:post_form).and_return response
-      @api.reopen(1).should be_an_instance_of(Issue)
+      @api.reopen(1).should be_an_instance_of(GHI::Issue)
     end
 
     it &quot;should add labels&quot; do</diff>
      <filename>spec/ghi/api_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,5 @@
-$: &lt;&lt; File.expand_path(File.dirname(__FILE__) + &quot;/../lib&quot;)
 require &quot;ghi&quot;
 require &quot;ghi/cli&quot;
-include GHI
 
 describe GHI::CLI do
 end</diff>
      <filename>spec/ghi/cli_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,5 @@
-$: &lt;&lt; File.expand_path(File.dirname(__FILE__) + &quot;/../lib&quot;)
 require &quot;ghi&quot;
 require &quot;ghi/issue&quot;
-include GHI
 
 describe GHI::Issue do
 end</diff>
      <filename>spec/ghi/issue_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,3 @@
-$LOAD_PATH &lt;&lt; File.expand_path(File.dirname(__FILE__) + &quot;/../lib&quot;)
 require &quot;ghi&quot;
 
 LOGGED_OUT_YAML = &lt;&lt;-YAML</diff>
      <filename>spec/ghi_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3e961565785e26f2335684d4f65a8d18d1ee1f1a</id>
    </parent>
  </parents>
  <author>
    <name>Jamie Macey</name>
    <email>jamie.git@tracefunc.com</email>
  </author>
  <url>http://github.com/stephencelis/ghi/commit/5e2122da641175834314c2042d76e137aeef4a7f</url>
  <id>5e2122da641175834314c2042d76e137aeef4a7f</id>
  <committed-date>2009-04-26T17:34:10-07:00</committed-date>
  <authored-date>2009-04-26T17:34:10-07:00</authored-date>
  <message>Add a rakefile. Run specs through Rake.</message>
  <tree>bd5bec3b164f2c36a29c31684098da4e1c7ed81d</tree>
  <committer>
    <name>Stephen Celis</name>
    <email>stephen@stephencelis.com</email>
  </committer>
</commit>
