[前][次][番号順一覧][スレッド一覧]

ruby-changes:54593

From: nobu <ko1@a...>
Date: Sun, 13 Jan 2019 22:49:29 +0900 (JST)
Subject: [ruby-changes:54593] nobu:r66808 (trunk): rdoc: ignore gemspec files

nobu	2019-01-13 22:49:25 +0900 (Sun, 13 Jan 2019)

  New Revision: 66808

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66808

  Log:
    rdoc: ignore gemspec files
    
    [ruby-core:91067] [Bug #15531]

  Modified files:
    trunk/lib/rdoc/options.rb
    trunk/test/rdoc/test_rdoc_options.rb
Index: lib/rdoc/options.rb
===================================================================
--- lib/rdoc/options.rb	(revision 66807)
+++ lib/rdoc/options.rb	(revision 66808)
@@ -346,6 +346,7 @@ class RDoc::Options https://github.com/ruby/ruby/blob/trunk/lib/rdoc/options.rb#L346
     @dry_run = false
     @exclude = %w[
       ~\z \.orig\z \.rej\z \.bak\z
+      \.gemspec\z
     ]
     @files = nil
     @force_output = false
Index: test/rdoc/test_rdoc_options.rb
===================================================================
--- test/rdoc/test_rdoc_options.rb	(revision 66807)
+++ test/rdoc/test_rdoc_options.rb	(revision 66808)
@@ -66,7 +66,7 @@ class TestRDocOptions < RDoc::TestCase https://github.com/ruby/ruby/blob/trunk/test/rdoc/test_rdoc_options.rb#L66
     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,

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]