<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,9 @@ Autotest.add_hook :initialize do |at|
   at.add_mapping(%r|^test/.*_test\.rb$|) { |file, _| file }
   
   at.add_mapping(%r|^lib/.*\.rb$|) { |_, m| at.files_matching %r|^test/.*_test\.rb$| }
+  
+  at.add_mapping(%r|%lib/kompress/(.*)\.rb$|) { |_, m| [&quot;test/#{m[1]}_test.rb&quot;] }
+  
   # at.add_mapping(/kompress.rb/) do |_, m|
   #   [&quot;test/*_test.rb&quot;]
   # end</diff>
      <filename>.autotest</filename>
    </modified>
    <modified>
      <diff>@@ -5,5 +5,18 @@ module Kompress
     def presets
       @presets || {}
     end
+    
+    def commands(command)
+      @commands[command]
+    end
+    
+    def write
+      yield self
+    end
+    
+    def command(hash)
+      @commands ||= {}
+      @commands.merge! hash
+    end
   end
 end
\ No newline at end of file</diff>
      <filename>lib/kompress/config.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,4 +4,16 @@ describe &quot;Kompress&quot; do
   it &quot;should raise an error if no configuration supplied&quot; do
     lambda { Kompress.compress_using(:awesome) }.should.raise Kompress::NoConfigurationError
   end
+end
+
+describe &quot;Kompress::Config&quot; do
+  setup do
+    Kompress::Config.write do |k|
+      k.command :ffmpeg =&gt; &quot;/usr/bin/ffmpeg&quot;
+    end
+  end
+  
+  it &quot;should map commands to locations&quot; do
+    Kompress::Config.commands(:ffmpeg).should == &quot;/usr/bin/ffmpeg&quot;
+  end
 end
\ No newline at end of file</diff>
      <filename>test/config_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4aadc615126ebdd252692fed52fded802c1de8a7</id>
    </parent>
  </parents>
  <author>
    <name>Erik Kastner</name>
    <email>kastner@gmail.com</email>
  </author>
  <url>http://github.com/kastner/kompress/commit/1a207ae1c465c07d108000228594f4e935116b0d</url>
  <id>1a207ae1c465c07d108000228594f4e935116b0d</id>
  <committed-date>2008-09-14T18:03:05-07:00</committed-date>
  <authored-date>2008-09-14T18:03:05-07:00</authored-date>
  <message>more tests - for config commands</message>
  <tree>f4afe0358b91619ed206e94c901877916e7af2f0</tree>
  <committer>
    <name>Erik Kastner</name>
    <email>kastner@gmail.com</email>
  </committer>
</commit>
