Revision
2881
Author
lsansonetti@apple.com
Date
2009-10-21 17:36:39 -0700 (Wed, 21 Oct 2009)

Log Message

teach rdoc to not process binary .rbo files because he's too dumb

Modified Paths

Diff

Modified: MacRuby/trunk/lib/rdoc/rdoc.rb (2880 => 2881)


--- MacRuby/trunk/lib/rdoc/rdoc.rb	2009-10-22 00:30:24 UTC (rev 2880)
+++ MacRuby/trunk/lib/rdoc/rdoc.rb	2009-10-22 00:36:39 UTC (rev 2881)
@@ -152,6 +152,7 @@
         stat = File.stat(rel_file_name)
         case type = stat.ftype
         when "file"
+          next if rel_file_name[-4..-1] == '.rbo'
           next if @last_created and stat.mtime < @last_created
 
           if force_doc or ::RDoc::Parser.can_parse(rel_file_name) then