File tree Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Expand file tree Collapse file tree 3 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 1
1
=== ? / 200?-??-??
2
2
3
3
* X Major Enhancements
4
+ * RDoc now automatically loads rdoc/discover.rb files from installed gems.
4
5
5
6
* Y Minor Enhancements
6
- * Added a space after the commas in ri class method lists (rubyforge
7
- enhancement 22182) .
7
+ * Added a space after the commas in ri class method lists. RubyForge
8
+ enhancement # 22182.
8
9
* Converted to minitest.
9
10
10
11
* Z Bug Fixes
11
12
* Fix missing superclass in ri output.
12
13
* Fix an rdoc crash when told to parse an empty file.
13
-
14
+
14
15
=== 2.2.1 / 2008-09-24
15
16
This version provides some minor fixes and enhancements to 2.2.0 intended
16
17
to polish RDoc for Ruby 1.9.1.
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Hoe.new "rdoc", RDoc::VERSION do |rdoc|
11
11
rdoc . remote_rdoc_dir = ''
12
12
13
13
rdoc . extra_dev_deps << [ 'minitest' , '~> 1.3' ]
14
+ rdoc . spec_extras [ 'required_rubygems_version' ] = '>= 1.3'
14
15
end
15
16
16
17
# These tasks expect to have the following directory structure:
Original file line number Diff line number Diff line change @@ -291,3 +291,15 @@ def document(argv)
291
291
end
292
292
end
293
293
294
+ if Gem . respond_to? :find_files then
295
+ rdoc_extensions = Gem . find_files 'rdoc/discover'
296
+
297
+ rdoc_extensions . each do |extension |
298
+ begin
299
+ load extension
300
+ rescue => e
301
+ warn "error loading #{ extension . inspect } : #{ e . message } (#{ e . class } )"
302
+ end
303
+ end
304
+ end
305
+
You can’t perform that action at this time.
0 commit comments