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

rdoc: ignore gemspec files

[ruby-core:91067] [Bug #15531]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2019-01-13 13:49:25 +00:00
parent 71d2695d17
commit edb65a6254
2 changed files with 2 additions and 1 deletions

View file

@ -346,6 +346,7 @@ class RDoc::Options
@dry_run = false
@exclude = %w[
~\z \.orig\z \.rej\z \.bak\z
\.gemspec\z
]
@files = nil
@force_output = false

View file

@ -66,7 +66,7 @@ class TestRDocOptions < RDoc::TestCase
expected = {
'charset' => 'UTF-8',
'encoding' => encoding,
'exclude' => %w[~\z \.orig\z \.rej\z \.bak\z],
'exclude' => %w[~\z \.orig\z \.rej\z \.bak\z \.gemspec\z],
'hyperlink_all' => false,
'line_numbers' => false,
'locale' => nil,