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

ruby-changes:54239

From: nobu <ko1@a...>
Date: Thu, 20 Dec 2018 13:03:12 +0900 (JST)
Subject: [ruby-changes:54239] nobu:r66461 (trunk): rbinstall.rb: purge %x[git ls-files] too

nobu	2018-12-20 13:03:07 +0900 (Thu, 20 Dec 2018)

  New Revision: 66461

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

  Log:
    rbinstall.rb: purge %x[git ls-files] too
    
    [Bug #13423]

  Modified files:
    trunk/tool/rbinstall.rb
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 66460)
+++ tool/rbinstall.rb	(revision 66461)
@@ -743,6 +743,7 @@ def load_gemspec(file) https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L743
   file = File.realpath(file)
   code = File.read(file, encoding: "utf-8:-")
   code.gsub!(/`git.*?`/m, '""')
+  code.gsub!(/%x\[git.*?\]/m, '""')
   spec = eval(code, binding, file)
   unless Gem::Specification === spec
     raise TypeError, "[#{file}] isn't a Gem::Specification (#{spec.class} instead)."

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

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