1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

11 commits

Author SHA1 Message Date
naruse
3e92b635fb Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:07:31 +00:00
hsbt
d42d6e690e * lib/rdoc.rb, lib/rdoc, test/rdoc: Update to RDoc 4.2.0.alpha(313287)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-09-05 01:41:25 +00:00
nobu
164fb03302 test/rdoc: remove tempfiles
* test/rdoc/test_rdoc_encoding.rb (teardown): remove tempfiles.
* test/rdoc/test_rdoc_markup_pre_process.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_c.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_changelog.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_markdown.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_rd.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_ruby.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_simple.rb (teardown): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-26 13:33:01 +00:00
drbrain
dff59f6c5d * lib/rdoc/encoding.rb: Do not remove #! line from document when
setting encoding.  This allows ruby executables to be parsed as ruby
  files.
* test/rdoc/test_rdoc_encoding.rb:  Test for above.

* lib/rdoc/parser.rb:  Set the parser file name of ruby executables
  correctly.
* test/rdoc/test_rdoc_parser.rb:  Test for above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-18 08:24:57 +00:00
naruse
07b10cd59f * lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io):
defined for asserts of warnings.

* test/rdoc: use verbose_capture_io on asserts of warnings.
  they failed when tests was run with RUBYOPT=-W0.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-29 07:01:46 +00:00
drbrain
1c279a7d27 * lib/rdoc*: Updated to RDoc 4.0 (pre-release)
* bin/rdoc:  ditto
* test/rdoc:  ditto
* NEWS:  Updated with RDoc 4.0 information


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-27 04:28:14 +00:00
drbrain
61920a128a * lib/rdoc: Update to RDoc 3.9.3. Fixes RDoc with ruby -Ku. Allows
HTTPS image paths to be turned into <img> tags.  Prevents special
  markup inside <tt> from being processed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-08-23 23:53:49 +00:00
usa
acda9a6872 * test/rdoc/test_rdoc_encoding.rb: remove unnecessary (and wrong)
platform-dependent hacks.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-09 00:47:42 +00:00
drbrain
60f2c9cf5b Upgrade to RDoc 3.5.3. Fixes [Bug #4376]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-07 07:07:12 +00:00
drbrain
e2efe8e81d Import RDoc 3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-28 22:08:56 +00:00
drbrain
2ef9c50c6e Import RDoc 3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 03:22:49 +00:00