Bug #6392
closed
rdoc -E option does not work
Added by nobu (Nobuyoshi Nakada) over 12 years ago.
Updated almost 12 years ago.
Description
=begin
Since RDoc 2.5, ((%--extension%)) option seems not working.
$ rdoc -v -Eja=rdoc README.ja
uh-oh! RDoc had a problem:
No such file or directory - xxx.rdoc
run with --debug for full backtrace
This is because (({RDoc::Parser.zip?})) fails with non-existent file.
Aliasing should be irrelevant to a real file happens to be existing,
and it's odd to assume non-existent file as a zip file unless it has
((%zip%)) (or ((%jar%)), etc) extensions.
=end
Files
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r35532.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
rdoc: --extension option fix
- lib/rdoc/parser.rb (RDoc.alias_extension): a real file is irrelevant
to aliasing. [ruby-core:44796][Bug #6392]
- lib/rdoc/parser.rb (RDoc.zip?): non-existent file will not be a zip
file.
- lib/rdoc/parser.rb (RDoc.can_parse_by_name): accept aliased
extension file names.
- Status changed from Closed to Assigned
- Priority changed from Normal to 5
- % Done changed from 100 to 0
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r38690.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
-
lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDoc
bug #164
-
test/rdoc/test_rdoc_cross_reference.rb: Test for above.
-
lib/rdoc/parser/changelog.rb: Fixed parsing of dates. RDoc bug #165
-
test/rdoc/test_rdoc_parser_changelog.rb: Test for above.
-
lib/rdoc/parser.rb: Fixed parsing multibyte files with incomplete
characters at byte 1024. [ruby-trunk - Bug #6393]
Fixed handling of -E. [ruby-trunk - Bug #6392]
-
test/rdoc/test_rdoc_options.rb: Test for above.
-
test/rdoc/test_rdoc_parser.rb: ditto.
-
test/rdoc/test_rdoc_parser_c.rb: ditto.
-
test/rdoc/test_rdoc_parser_changelog.rb: ditto.
-
test/rdoc/test_rdoc_parser_markdown.rb: ditto.
-
test/rdoc/test_rdoc_parser_rd.rb: ditto.
-
test/rdoc/test_rdoc_rdoc.rb: ditto.
-
lib/rdoc/tom_doc.rb: Fixed parsing of [] in TomDoc arguments list.
RDoc bug #167
-
test/rdoc/test_rdoc_tom_doc.rb: Test for above.
-
lib/rdoc.rb: Update version.
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0