From: Hugh Sasse Date: 2006-07-27T02:14:24+09:00 Subject: .document patch The intent of the patch below is to improve the coverage of the rdoc output produced by make install-doc. It was created with this file (.fix.doc.rb): #!/usr/local/bin/ruby -w $documents = [] $files = [] $debug = false open(".document", "r") do |f| while not f.eof? line = f.readline puts "line is #{line}" if $debug next if line =~ /^\s*(?:#.*)?$/ $documents << line.chomp end end $files += %x{ls}.split(/\n/) puts "documents is #{$documents.inspect}" if $debug puts "files is #{$files.inspect}" if $debug $files.each do |file| puts file unless $documents.include?(file) end and by sorting the results into .document. This is a patch against the stable snapshot. HTH Hugh --- ./lib/.document.orig 2006-07-25 08:33:03.000000000 +0100 +++ ./lib/.document 2006-07-26 18:02:40.914074000 +0100 @@ -7,35 +7,85 @@ # But for now English.rb +Env.rb +README abbrev.rb base64.rb benchmark.rb cgi +cgi-lib.rb cgi.rb complex.rb +csv.rb +date date.rb +date2.rb +debug.rb delegate.rb +drb +drb.rb +e2mmap.rb erb.rb +eregex.rb fileutils.rb +finalize.rb find.rb forwardable.rb +ftools.rb generator.rb getoptlong.rb +getopts.rb +gserver.rb +importenv.rb +ipaddr.rb +irb +irb.rb +jcode.rb logger.rb +mailread.rb +mathn.rb matrix.rb +mkmf.rb monitor.rb +mutex_m.rb +net observer.rb +open-uri.rb +open3.rb +optparse optparse.rb +ostruct.rb +parsearg.rb +parsedate.rb pathname.rb +ping.rb pp.rb prettyprint.rb +profile.rb +profiler.rb pstore.rb +racc rational.rb +rdoc +readbytes.rb +resolv-replace.rb +resolv.rb +rexml rinda +rss +rss.rb +rubyunit.rb +runit +scanf.rb set.rb +shell +shell.rb shellwords.rb singleton.rb +soap +sync.rb tempfile.rb +test test/unit.rb test/unit/assertions.rb thread.rb @@ -43,5 +93,16 @@ time.rb timeout.rb tmpdir.rb +tracer.rb +tsort.rb +un.rb uri +uri.rb +weakref.rb +webrick +webrick.rb +wsdl +xmlrpc +xsd +yaml yaml.rb