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

ruby-changes:35117

From: nobu <ko1@a...>
Date: Sat, 16 Aug 2014 12:48:31 +0900 (JST)
Subject: [ruby-changes:35117] nobu:r47199 (trunk): rake/backtrace.rb: remove wrong value

nobu	2014-08-16 12:48:21 +0900 (Sat, 16 Aug 2014)

  New Revision: 47199

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

  Log:
    rake/backtrace.rb: remove wrong value
    
    * lib/rake/backtrace.rb (Rake::Backtrace::SYS_KEYS): only names
      end with prefix or libdir, not just include them.  libdirname is
      not a key of path name.

  Modified files:
    trunk/lib/rake/backtrace.rb
Index: lib/rake/backtrace.rb
===================================================================
--- lib/rake/backtrace.rb	(revision 47198)
+++ lib/rake/backtrace.rb	(revision 47199)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/rake/backtrace.rb#L1
 module Rake
   module Backtrace # :nodoc: all
-    SYS_KEYS  = RbConfig::CONFIG.keys.grep(/(prefix|libdir)/)
+    SYS_KEYS  = RbConfig::CONFIG.keys.grep(/(?:prefix|libdir)\z/)
     SYS_PATHS = RbConfig::CONFIG.values_at(*SYS_KEYS).uniq +
       [ File.join(File.dirname(__FILE__), "..") ]
 

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

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