<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,12 @@
-== Edge
+== 0.1.6 2008-11-27
 
-* minor enhancements
+* 3 minor enhancements
   * Updated Readme/TODO
   * Some crufty output is now suppressed/removed
+  * garlic all command cleans the work path
+
+* 1 bugfix
+  * --targets, -t option now actually works
 
 == 0.1.5 2008-11-25
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -23,8 +23,9 @@ OPTIONS:
   --help             -h  You're reading it
   --verbose          -v  Show work
   --config CONFIG    -c  Specify a different location of garlic config
-  --targets TARGETS  -t  Specify subset of targets, e.g. edge,2.1.0 (default all)
-  --backtrace            Show ruby bakctrace on error
+  --backtrace            Show ruby backtrace on error
+  --targets TARGETS  -t  Specify subset of targets comma separated or
+                         regexp part e.g. -t 2-1,2-2
 
 You can generate a sample garlic.rb with
   garlic generate [TEMPLATE [PLUGIN_NAME]] (Available templates: #{available_templates.join(', ')})
@@ -59,10 +60,9 @@ begin
     verbose(@verbose)
     
     # configure the garlic runner
-    garlic @config_file do
-      verbose @verbose
-      run_targets @run_targets
-    end
+    garlic(@config_file) # load up the garlic instance
+    garlic.verbose = @verbose
+    garlic.run_targets = @run_targets
   
     # run the command
     ARGV &lt;&lt; 'default' if ARGV.empty?</diff>
      <filename>bin/garlic</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,11 @@
 
 Gem::Specification.new do |s|
   s.name = %q{garlic}
-  s.version = &quot;0.1.5&quot;
+  s.version = &quot;0.1.6&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Ian White&quot;]
-  s.date = %q{2008-11-25}
+  s.date = %q{2008-11-27}
   s.default_executable = %q{garlic}
   s.description = %q{Set of commands/rake-tasks for CI against multiple version of rails/deps.}
   s.email = %q{ian.w.white@gmail.com}</diff>
      <filename>garlic.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -11,7 +11,7 @@ module Garlic
   module Version
     Major = 0
     Minor = 1
-    Tiny  = 5
+    Tiny  = 6
     
     String = [Major, Minor, Tiny].join('.')
   end</diff>
      <filename>lib/garlic.rb</filename>
    </modified>
    <modified>
      <diff>@@ -61,6 +61,7 @@ module Garlic
     define_command :all, &quot;Install and update all repos, prepare and run TARGETs&quot; do
       install_repos
       update_repos
+      clean
       prepare
       run
     end
@@ -94,11 +95,7 @@ module Garlic
     end
     
     define_command :prepare, &quot;Prepare each garlic TARGET&quot; do
-      begin
-        determine_targets.each {|target| target.prepare }
-      ensure
-        repo('rails').checkout('master') # we get rails back to master if something goes wrong
-      end
+      determine_targets.each {|target| target.prepare }
     end
 
     define_command :shell, &quot;Run shell commands from stdin across specified targets&quot; do |*path|
@@ -137,7 +134,7 @@ protected
     end
 
     def determine_targets
-      run_targets ? targets.select{|t| run_targets.include?(t.name)} : targets
+      run_targets ? targets.select{|t| t.name =~ /(?:#{run_targets.join(&quot;|&quot;)})/i} : targets
     end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/garlic/session.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b4e8bfb88f5ef521f68bad038191334400b63382</id>
    </parent>
  </parents>
  <author>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </author>
  <url>http://github.com/ianwhite/garlic/commit/915add3d806271cbf5395ce8087d3b191d03d4ea</url>
  <id>915add3d806271cbf5395ce8087d3b191d03d4ea</id>
  <committed-date>2008-11-26T21:05:17-08:00</committed-date>
  <authored-date>2008-11-26T21:05:17-08:00</authored-date>
  <message>0.1.6 3 minor enhancements, 1 bugfix

* 3 minor enhancements
  * Updated Readme/TODO
  * Some crufty output is now suppressed/removed
  * garlic all command cleans the work path

* 1 bugfix
  * --targets, -t option now actually works</message>
  <tree>97eaeb0a19b9bb41c9a2555bab265390e1f67040</tree>
  <committer>
    <name>Ian White</name>
    <email>ian.w.white@gmail.com</email>
  </committer>
</commit>
