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

ruby-changes:17200

From: naruse <ko1@a...>
Date: Thu, 9 Sep 2010 09:20:32 +0900 (JST)
Subject: [ruby-changes:17200] Ruby:r29200 (trunk): * tool/rbinstall.rb (install?): gemspec filename should include

naruse	2010-09-09 09:17:11 +0900 (Thu, 09 Sep 2010)

  New Revision: 29200

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

  Log:
    * tool/rbinstall.rb (install?): gemspec filename should include
      its version. patched by Luis Lavena [ruby-core:32165]

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29199)
+++ ChangeLog	(revision 29200)
@@ -1,3 +1,8 @@
+Thu Sep  9 09:02:01 2010  NARUSE, Yui  <naruse@r...>
+
+	* tool/rbinstall.rb (install?): gemspec filename should include
+	  its version. patched by Luis Lavena [ruby-core:32165]
+
 Wed Sep  8 22:46:31 2010  NAKAMURA, Hiroshi  <nahi@r...>
 
 	* ext/openssl/ossl_ssl.c (ssl_get_error): Thread context switch was
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 29199)
+++ tool/rbinstall.rb	(revision 29200)
@@ -515,7 +515,7 @@
     version = open(src) {|f| f.find {|s| /^\s*\w*VERSION\s*=(?!=)/ =~ s}} or next
     version = version.split(%r"=\s*", 2)[1].strip[/\A([\'\"])(.*?)\1/, 2]
     puts "#{" "*30}#{name} #{version}"
-    open_for_install(File.join(destdir, "#{name}.gemspec"), $data_mode) do
+    open_for_install(File.join(destdir, "#{name}-#{version}.gemspec"), $data_mode) do
       <<-GEMSPEC
 Gem::Specification.new do |s|
   s.name = #{name.dump}

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

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