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

ruby-changes:30811

From: nobu <ko1@a...>
Date: Mon, 9 Sep 2013 09:15:13 +0900 (JST)
Subject: [ruby-changes:30811] nobu:r42890 (trunk): rbinstall.rb: add date

nobu	2013-09-09 09:15:03 +0900 (Mon, 09 Sep 2013)

  New Revision: 42890

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

  Log:
    rbinstall.rb: add date
    
    * tool/rbinstall.rb (Gem::Specification#initialize): default date to
      RUBY_RELEASE_DATE.  [ruby-core:57072] [Bug #8878]
    * tool/rbinstall.rb (Gem::Specification#to_ruby): add date.

  Modified files:
    trunk/ChangeLog
    trunk/tool/rbinstall.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 42889)
+++ ChangeLog	(revision 42890)
@@ -1,3 +1,10 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Sep  9 09:14:58 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* tool/rbinstall.rb (Gem::Specification#initialize): default date to
+	  RUBY_RELEASE_DATE.  [ruby-core:57072] [Bug #8878]
+
+	* tool/rbinstall.rb (Gem::Specification#to_ruby): add date.
+
 Sun Sep  8 16:01:54 2013  Tanaka Akira  <akr@f...>
 
 	* rational.c (f_gcd): Relax the condition to use GMP.
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb	(revision 42889)
+++ tool/rbinstall.rb	(revision 42890)
@@ -560,6 +560,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L560
       super
       yield(self) if defined?(yield)
       self.executables ||= []
+      self.date ||= RUBY_RELEASE_DATE
     end
 
     def self.load(path)
@@ -573,6 +574,7 @@ module Gem https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L574
 Gem::Specification.new do |s|
   s.name = #{name.dump}
   s.version = #{version.dump}
+  s.date = #{date.dump}
   s.summary = #{summary.dump}
   s.description = #{description.dump}
   s.homepage = #{homepage.dump}

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

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