<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 [done] Capture start time for estimates
 make a new state between pending and running
 [done] round up frame-rate
+allow for spaces in file names
\ No newline at end of file</diff>
      <filename>TODO</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 Gem::Specification.new do |s|
   s.name = &quot;kompress&quot;
-  s.version = &quot;0.0.6&quot;
+  s.version = &quot;0.0.7&quot;
   s.date = &quot;2008-09-14&quot;
   s.summary = &quot;Kompress - kompress videos and see progress&quot;
   s.email = &quot;kastner@gmail.com&quot;</diff>
      <filename>kompress.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -64,6 +64,11 @@ module Kompress
       /\.(#{Kompress::FileTypes.join(&quot;|&quot;)})/i
     end
     
+    def input_file
+      return @input_file if @input_file.match(/^'/)
+      &quot;'#{@input_file}'&quot;
+    end
+    
     def temp_file
       input_file.gsub(file_type_regexp, &quot;.tmp.#{container_type}&quot;)
     end</diff>
      <filename>lib/kompress/job.rb</filename>
    </modified>
    <modified>
      <diff>@@ -28,13 +28,13 @@ describe &quot;Kompress::Job&quot; do
   
   it &quot;should have a thumb file&quot; do
     @job.input_file = &quot;bob.mpg&quot;
-    @job.thumb_file.should == &quot;bob.jpg&quot;
+    @job.thumb_file.should == &quot;'bob.jpg'&quot;
   end
   
   %w|mov wmv avi mp4 mpg mpeg MOV divx|.each do |type|
     it &quot;should replace .#{type} with .tmp.mp4&quot; do
       @job.input_file = &quot;x.#{type}&quot;
-      @job.temp_file.should == &quot;x.tmp.mp4&quot;
+      @job.temp_file.should == &quot;'x.tmp.mp4'&quot;
     end
   end
 end
@@ -70,7 +70,7 @@ describe &quot;A real job&quot; do
         :current_frame_regexp =&gt; /frame=\s*(\d+)/
       }
       
-      @job = Kompress::Job.from_preset(:rad, &quot;~/Development/Ruby/test.mov&quot;)
+      @job = Kompress::Job.from_preset(:rad, &quot;~/Development/Ruby/test movie.mov&quot;)
       @job.state = :running
     end
     
@@ -78,7 +78,7 @@ describe &quot;A real job&quot; do
   end
   
   it &quot;should know it's post_command&quot; do
-    @job.post_command.should == &quot;/usr/bin/qt-faststart ~/Development/Ruby/test.tmp.mp4 ~/Development/Ruby/test.mp4&quot;
+    @job.post_command.should == &quot;/usr/bin/qt-faststart '~/Development/Ruby/test movie.tmp.mp4' '~/Development/Ruby/test movie.mp4'&quot;
   end
   
   it &quot;should know frame rate&quot; do
@@ -130,7 +130,7 @@ describe &quot;A frozen job&quot; do
   end
 
   it &quot;should have the right post_command&quot; do
-    @job.post_command.should == &quot;/usr/bin/qt-faststart ~/Development/Ruby/test.tmp.mp4 ~/Development/Ruby/test.mp4&quot;
+    @job.post_command.should == &quot;/usr/bin/qt-faststart '~/Development/Ruby/test.tmp.mp4' '~/Development/Ruby/test.mp4'&quot;
   end
   
   it &quot;should have a lame kc_replacements method&quot; do
@@ -147,6 +147,6 @@ describe &quot;A frozen job&quot; do
   end
   
   it &quot;should be able to get the thumb name&quot; do
-    @job.thumb_file.should == &quot;~/Development/Ruby/test.jpg&quot;
+    @job.thumb_file.should == &quot;'~/Development/Ruby/test.jpg'&quot;
   end
 end
\ No newline at end of file</diff>
      <filename>test/job_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9925d220e7ba54bd837cd9342ef67ef6ffa91c15</id>
    </parent>
  </parents>
  <author>
    <name>Erik Kastner</name>
    <email>kastner@gmail.com</email>
  </author>
  <url>http://github.com/kastner/kompress/commit/c7c6e29fe7d62d1e57c6c02b29fd61cd36b8a4df</url>
  <id>c7c6e29fe7d62d1e57c6c02b29fd61cd36b8a4df</id>
  <committed-date>2008-10-05T09:02:36-07:00</committed-date>
  <authored-date>2008-10-05T09:02:36-07:00</authored-date>
  <message>wrapping file names in single quotes to allow for spaces - tests and version bump</message>
  <tree>d740b13f9130014e94831ecc08aa68cb45e4d9ac</tree>
  <committer>
    <name>Erik Kastner</name>
    <email>kastner@gmail.com</email>
  </committer>
</commit>
