From 9aab347c155b4b202947e31af20cf96afed11764 Mon Sep 17 00:00:00 2001 From: nagachika Date: Sun, 15 Sep 2013 13:59:44 +0000 Subject: merge revision(s) 42890: [Backport #8878] * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@42946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/rbinstall.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tool') diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index 92e54c6774..9d10f59a5d 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -555,6 +555,7 @@ module Gem super yield(self) if defined?(yield) self.executables ||= [] + self.date ||= RUBY_RELEASE_DATE end def self.load(path) @@ -568,6 +569,7 @@ module Gem 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} -- cgit v1.2.3