Project

General

Profile

Actions

Bug #3076

closed

lib/rake/rdoctask.rb should be removed

Added by drbrain (Eric Hodel) about 12 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2dev (2010-02-24 trunk 26747) [x86_64-darwin10.2.0]
Backport:
[ruby-core:29206]

Description

=begin
RDoc provides RDoc::Task (and Rake::RDocTask for backwards compatibility).

This is no longer Rake's responsibility, so it should be removed or changed to require 'rdoc/task'

Also, test/rake/test_rdoc_task.rb should be removed.

This will also fix the following test warnings and errors:

ruby/trunk/lib/rdoc/task.rb:250: warning: already initialized constant RDocTask

  1. Failure:
    test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/Users/drbrain/Work/svn/ruby/trunk/test/rake/test_rdoc_task.rb:65]:
    Failed assertion, no message given.

  2. Error:
    test_inline_source_option_can_be_disabled(Rake::TestRDocTask):
    NoMethodError: undefined method inline_source=' for #<RDoc::Task:0x00000101150bb0> /Users/drbrain/Work/svn/ruby/trunk/test/rake/test_rdoc_task.rb:81:in test_inline_source_option_can_be_disabled'
    =end


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #3162: recent rdoc affects tests of rakeCloseddrbrain (Eric Hodel)04/17/2010Actions
Actions #1

Updated by mame (Yusuke Endoh) about 12 years ago

=begin
Hi,

Jim Weirich, please answer to this ticket.

--
Yusuke Endoh
=end

Actions #2

Updated by mame (Yusuke Endoh) about 12 years ago

  • Status changed from Open to Closed

=begin
Hi,

This is fixed by nobu at r27589. So I close this ticket.

Jim Weirich, please confirm the change.
If you think the fix is good, please backport to rake trunk.
If you think the fix has a problem, please re-fix by yourself.

--
Yusuke Endoh
=end

Actions

Also available in: Atom PDF