[macruby-changes] [2881] MacRuby/trunk/lib/rdoc/rdoc.rb
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 21 17:36:40 PDT 2009
Revision: 2881
http://trac.macosforge.org/projects/ruby/changeset/2881
Author: lsansonetti at 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:
--------------
MacRuby/trunk/lib/rdoc/rdoc.rb
Modified: MacRuby/trunk/lib/rdoc/rdoc.rb
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20091021/af9a1ec5/attachment.html>
More information about the macruby-changes
mailing list