<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>MIT-LICENSE</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-== garlic: lightweight continuous integration for rails using git
+= garlic: lightweight continuous integration for rails using git
 
 This is not a CI server, use cruisecontrol.rb for that.  This is a simple set
 of rake tasks that let you specify a bunch of rails builds to run against, and
@@ -9,30 +9,35 @@ on git), and then using git to checkout various tags and branches to build
 your app against.
 
 
-=== Example
+== Example
 
-See it in action by doing this:
+To see garlic in action, download resources_controller, a rails plugin that uses
+garlic for CI.
 
-  git clone git://github.com/ianwhite/inherit_views 
-  cd inherit_views
-  git clone git://github.com/ianwhite/garlic
+  git clone git://github.com/ianwhite/resources_controller 
+  cd resources_controller
+  cp garlic_example.rb garlic.rb # you might like to look at this file and edit\
+                                 # it if you have local clones of rails and rspec
+  rake get_garlic
   rake garlic:all
 
 This will clone all the required git repos (done only once), set up the target
 railses (done once), then run the targets.
 
-Notes:
+=== Notes:
+
 - To run the specs again, you can do rake garlic:run
+- If you've made changes upstream, or want to check againts other upstream changes
+  rake garlic:all
 - To configure the dependencies and targets, take a look at the top level Rakefile
-  * inherit_views doesn't work with 1.2.x, to test this try adding
-      target '1.2.6', :tag =&gt; 'v1.2.6'
+  * resources_controller doesn't work with 1.2.3, to test this try adding
+      target '1.2.3', :tag =&gt; 'v1.2.3'
     in the Rakefile, then running
       rake garlic:prepare
       rake garlic:run
-    and you'll see that it fails against 1.2.6
+    and you'll see that it fails against 1.2.3
     
-
-=== Example config
+== Example config
 
 In case you don't feel like downloading the above repo, here's the config:
 
@@ -41,47 +46,40 @@ In case you don't feel like downloading the above repo, here's the config:
     work_path &quot;my/work&quot;
     repo_path &quot;my/repos&quot;
   
-    # repo, give a url, specify :local to use a local repo (faster
-    # and will still update from the origin url)
-    repo 'rails', :url =&gt; 'git://github.com/rails/rails' #, :local =&gt; &quot;~/dev/vendor/rails&quot;
-    repo 'rspec', :url =&gt; 'git://github.com/dchelimsky/rspec'
-    repo 'rspec-rails', :url =&gt; 'git://github.com/ianwhite/rspec-rails'
-    repo 'inherit_views', :url =&gt; '.'
-  
-    # for target, default repo is 'rails', default branch is 'master'
+    repo 'rails', :url =&gt; 'git://github.com/rails/rails'#, :local =&gt; &quot;~/dev/vendor/rails&quot;
+    repo 'rspec', :url =&gt; 'git://github.com/dchelimsky/rspec'#, :local =&gt; &quot;~/dev/vendor/rspec&quot;
+    repo 'rspec-rails', :url =&gt; 'git://github.com/dchelimsky/rspec-rails'#, :local =&gt; &quot;~/dev/vendor/rspec-rails&quot;
+    repo 'resources_controller', :path =&gt; '.'
+
     target 'edge'
     target '2.0-stable', :branch =&gt; 'origin/2-0-stable'
     target '2.0.2', :tag =&gt; 'v2.0.2'
-  
+
     all_targets do
       prepare do
+        plugin 'resources_controller', :clone =&gt; true
         plugin 'rspec'
-        plugin 'rspec-rails', :branch =&gt; 'origin/aliased-render-partial' do
-          sh &quot;script/generate rspec -f&quot;
-        end
-        plugin 'inherit_views'
+        plugin('rspec-rails') { sh &quot;script/generate rspec -f&quot; }
       end
-    
+
       run do
-        cd &quot;vendor/plugins/inherit_views&quot; do
-          sh &quot;rake spec:rcov:verify&quot;
-        end
+        cd(&quot;vendor/plugins/resources_controller&quot;) { sh &quot;rake spec:rcov:verify&quot; }
       end
     end
   end   
 
    
-=== Using it in your own app/plugin
+== Using it in your own app/plugin
 
 To use garlic on one of your plugins/apps to this:
 
-1.  Add the following to your main Rakefile (at the bottom is ok)
+1. Add the following to your main Rakefile (at the bottom is ok)
 
-  # load up garlic if it's here
-  if File.directory?(File.join(File.dirname(__FILE__), 'garlic'))
-    require File.join(File.dirname(__FILE__), 'garlic/lib/garlic_tasks')
-    require File.join(File.dirname(__FILE__), 'garlic')
-  end
+    # load up garlic if it's here
+    if File.directory?(File.join(File.dirname(__FILE__), 'garlic'))
+      require File.join(File.dirname(__FILE__), 'garlic/lib/garlic_tasks')
+      require File.join(File.dirname(__FILE__), 'garlic')
+    end
   
 2. Edit your garlic.rb file to specify what should be done.
 
@@ -114,15 +112,15 @@ To use garlic on one of your plugins/apps to this:
 
 3. Get garlic:
     
-   git clone git://github.com/ianwhite/garlic.git garlic
+    git clone git://github.com/ianwhite/garlic.git garlic
    
    (and ignore it in your repo)
    
-   echo &quot;garlic/*&quot; &gt;&gt; .gitignore
+    echo &quot;garlic/*&quot; &gt;&gt; .gitignore
 
 4. Run it:
 
-   rake garlic:all
+    rake garlic:all
 
 
 === First release</diff>
      <filename>README.rdoc</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>607a5a9db44bd3a0fc9e046d22a03403a7fd3a71</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/garlic/commit/1aa3b76f8b78b7321ce0073705d0c3f2e9feffad</url>
  <id>1aa3b76f8b78b7321ce0073705d0c3f2e9feffad</id>
  <committed-date>2008-04-28T07:34:09-07:00</committed-date>
  <authored-date>2008-04-28T07:34:09-07:00</authored-date>
  <message>Updated README
Added MIT license</message>
  <tree>72f4e288591712350d8b0387f5daa3610db3318b</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
