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

* lib/rdoc/*, test/rdoc/*: Update rdoc-5.0.0

Release note: b825775647/History.rdoc (500--2016-11-05)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2016-11-05 09:18:10 +00:00
parent 0a0eb2807e
commit cdc527db34
27 changed files with 62 additions and 144 deletions

View file

@ -153,13 +153,7 @@ class RDoc::RubygemsHook
options = nil
args = @spec.rdoc_options
if @spec.respond_to? :source_paths then
args.concat @spec.source_paths
else
args.concat @spec.require_paths
end
args.concat @spec.source_paths
args.concat @spec.extra_rdoc_files
case config_args = Gem.configuration[:rdoc]
@ -183,7 +177,7 @@ class RDoc::RubygemsHook
@rdoc.options = options
store = RDoc::Store.new
store.encoding = options.encoding if options.respond_to? :encoding
store.encoding = options.encoding
store.dry_run = options.dry_run
store.main = options.main_page
store.title = options.title