Skip to content

Commit c504f1a

Browse files
committed
RDoc 2.4.0
1 parent 5da2f9d commit c504f1a

File tree

8 files changed

+25
-8
lines changed

8 files changed

+25
-8
lines changed

.autotest

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# vim: filetype=ruby
22

33
Autotest.add_hook :initialize do |at|
4-
at.test_lib = 'ubygems' # HACK minitest/unit
4+
at.testlib = 'minitest/unit' if at.respond_to? :testlib=
5+
56
def at.path_to_classname(s)
67
sep = File::SEPARATOR
78
f = s.sub(/^test#{sep}/, '').sub(/\.rb$/, '').split(sep)

History.txt

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
=== 2.3.1 / ??
1+
=== 2.4.1 / ??
22

3-
* N Minor Enhancements
3+
* N Bug Fixes
4+
* Don't complain when exiting normally. Bug by Matt Neuburg.
5+
6+
=== 2.4.0 / 2009-02-24
7+
8+
* 9 Minor Enhancements
49
* `ri -f html` is now XHTML-happy
510
* Clarified RDoc::Markup link syntax. Bug #23517 by Eric Armstrong.
611
* Number of threads to parse with is now configurable
@@ -13,13 +18,15 @@
1318
* Removed support for --accessor, use regular documentation or
1419
the method directive instead. See RDoc::Parser::Ruby
1520
* Removed --ri-system as it is unused by Ruby's makefiles
16-
* Add method list to index.html
21+
* Added method list to index.html
1722

18-
* N Bug Fixes
23+
* 6 Bug Fixes
1924
* nodoc'd classes no longer appear in the index. Bug #23751 by Clifford
2025
Heath.
2126
* Fix 1.9 compatibility issues. Bug #23815 by paddor.
2227
* Darkfish now respects --charset
28+
* RDoc no longer attempts to be lazy when building HTML. This is a
29+
workaround. Bug #23893 by Stefano Crocco.
2330
* RDoc doesn't crash with def (blah).foo() end
2431
* RDoc doesn't crash with #define functions
2532

Manifest.txt

+5
Original file line numberDiff line numberDiff line change
@@ -98,16 +98,21 @@ test/binary.dat
9898
test/test.ja.rdoc
9999
test/test.ja.txt
100100
test/test_attribute_manager.rb
101+
test/test_rdoc_any_method.rb
101102
test/test_rdoc_code_object.rb
103+
test/test_rdoc_constant.rb
102104
test/test_rdoc_context.rb
105+
test/test_rdoc_include.rb
103106
test/test_rdoc_markup.rb
104107
test/test_rdoc_markup_attribute_manager.rb
105108
test/test_rdoc_markup_to_html.rb
106109
test/test_rdoc_markup_to_html_crossref.rb
110+
test/test_rdoc_normal_module.rb
107111
test/test_rdoc_parser.rb
108112
test/test_rdoc_parser_c.rb
109113
test/test_rdoc_parser_perl.rb
110114
test/test_rdoc_parser_ruby.rb
115+
test/test_rdoc_require.rb
111116
test/test_rdoc_ri_attribute_formatter.rb
112117
test/test_rdoc_ri_default_display.rb
113118
test/test_rdoc_ri_driver.rb

Rakefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
require 'hoe'
22

3+
$rdoc_rakefile = true
4+
35
$:.unshift 'lib'
46
require 'rdoc'
57

bin/rdoc

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ rescue Interrupt
1717
$stderr.puts
1818
$stderr.puts "Interrupted"
1919
exit 1
20+
rescue SystemExit
21+
raise
2022
rescue Exception => e
2123
if $DEBUG_RDOC then
2224
$stderr.puts e.message

lib/rdoc.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ class Error < RuntimeError; end
380380
##
381381
# RDoc version you are using
382382

383-
VERSION = "2.3.0"
383+
VERSION = "2.4.0"
384384

385385
##
386386
# Name of the dotfile that contains the description of files to be processed

lib/rdoc/generator/darkfish.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vim: noet ts=2 sts=8 sw=2
33

44
require 'rubygems'
5-
gem 'rdoc', '>= 2.3'
5+
gem 'rdoc', '>= 2.4' unless defined? $rdoc_rakefile
66

77
require 'pp'
88
require 'pathname'

lib/rdoc/options.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def initialize # :nodoc:
141141
@image_format = 'png'
142142
@tab_width = 8
143143
@include_line_numbers = false
144-
@force_update = false
144+
@force_update = true
145145
@verbosity = 1
146146

147147
@webcvs = nil

0 commit comments

Comments
 (0)