Permalink
Browse files

RDoc 2.4.0

  • Loading branch information...
1 parent 5da2f9d commit c504f1aead13cef9a0995e3c2771412753254123 @drbrain drbrain committed Feb 25, 2009
Showing with 25 additions and 8 deletions.
  1. +2 −1 .autotest
  2. +11 −4 History.txt
  3. +5 −0 Manifest.txt
  4. +2 −0 Rakefile
  5. +2 −0 bin/rdoc
  6. +1 −1 lib/rdoc.rb
  7. +1 −1 lib/rdoc/generator/darkfish.rb
  8. +1 −1 lib/rdoc/options.rb
View
3 .autotest
@@ -1,7 +1,8 @@
# vim: filetype=ruby
Autotest.add_hook :initialize do |at|
- at.test_lib = 'ubygems' # HACK minitest/unit
+ at.testlib = 'minitest/unit' if at.respond_to? :testlib=
+
def at.path_to_classname(s)
sep = File::SEPARATOR
f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)
View
15 History.txt
@@ -1,6 +1,11 @@
-=== 2.3.1 / ??
+=== 2.4.1 / ??
-* N Minor Enhancements
+* N Bug Fixes
+ * Don't complain when exiting normally. Bug by Matt Neuburg.
+
+=== 2.4.0 / 2009-02-24
+
+* 9 Minor Enhancements
* `ri -f html` is now XHTML-happy
* Clarified RDoc::Markup link syntax. Bug #23517 by Eric Armstrong.
* Number of threads to parse with is now configurable
@@ -13,13 +18,15 @@
* Removed support for --accessor, use regular documentation or
the method directive instead. See RDoc::Parser::Ruby
* Removed --ri-system as it is unused by Ruby's makefiles
- * Add method list to index.html
+ * Added method list to index.html
-* N Bug Fixes
+* 6 Bug Fixes
* nodoc'd classes no longer appear in the index. Bug #23751 by Clifford
Heath.
* Fix 1.9 compatibility issues. Bug #23815 by paddor.
* Darkfish now respects --charset
+ * RDoc no longer attempts to be lazy when building HTML. This is a
+ workaround. Bug #23893 by Stefano Crocco.
* RDoc doesn't crash with def (blah).foo() end
* RDoc doesn't crash with #define functions
View
5 Manifest.txt
@@ -98,16 +98,21 @@ test/binary.dat
test/test.ja.rdoc
test/test.ja.txt
test/test_attribute_manager.rb
+test/test_rdoc_any_method.rb
test/test_rdoc_code_object.rb
+test/test_rdoc_constant.rb
test/test_rdoc_context.rb
+test/test_rdoc_include.rb
test/test_rdoc_markup.rb
test/test_rdoc_markup_attribute_manager.rb
test/test_rdoc_markup_to_html.rb
test/test_rdoc_markup_to_html_crossref.rb
+test/test_rdoc_normal_module.rb
test/test_rdoc_parser.rb
test/test_rdoc_parser_c.rb
test/test_rdoc_parser_perl.rb
test/test_rdoc_parser_ruby.rb
+test/test_rdoc_require.rb
test/test_rdoc_ri_attribute_formatter.rb
test/test_rdoc_ri_default_display.rb
test/test_rdoc_ri_driver.rb
View
2 Rakefile
@@ -1,5 +1,7 @@
require 'hoe'
+$rdoc_rakefile = true
+
$:.unshift 'lib'
require 'rdoc'
View
2 bin/rdoc
@@ -17,6 +17,8 @@ rescue Interrupt
$stderr.puts
$stderr.puts "Interrupted"
exit 1
+rescue SystemExit
+ raise
rescue Exception => e
if $DEBUG_RDOC then
$stderr.puts e.message
View
2 lib/rdoc.rb
@@ -380,7 +380,7 @@ class Error < RuntimeError; end
##
# RDoc version you are using
- VERSION = "2.3.0"
+ VERSION = "2.4.0"
##
# Name of the dotfile that contains the description of files to be processed
View
2 lib/rdoc/generator/darkfish.rb
@@ -2,7 +2,7 @@
# vim: noet ts=2 sts=8 sw=2
require 'rubygems'
-gem 'rdoc', '>= 2.3'
+gem 'rdoc', '>= 2.4' unless defined? $rdoc_rakefile
require 'pp'
require 'pathname'
View
2 lib/rdoc/options.rb
@@ -141,7 +141,7 @@ def initialize # :nodoc:
@image_format = 'png'
@tab_width = 8
@include_line_numbers = false
- @force_update = false
+ @force_update = true
@verbosity = 1
@webcvs = nil

0 comments on commit c504f1a

Please sign in to comment.