diff options
author | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-15 13:59:44 +0000 |
---|---|---|
committer | nagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-09-15 13:59:44 +0000 |
commit | 9aab347c155b4b202947e31af20cf96afed11764 (patch) | |
tree | d2425230d1accb8f0f0ab5153e4f901719dd83a9 | |
parent | 89cb510822affcb5f2d5d988092005610dd6ebe8 (diff) |
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
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | tool/rbinstall.rb | 2 | ||||
-rw-r--r-- | version.h | 2 |
3 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Sun Sep 15 22:59:04 2013 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * 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 15 22:55:44 2013 Zachary Scott <e@zzak.io> * hash.c (rb_hash_aset): [DOC] Document key dup patch by @kachick 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} @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.0.0" #define RUBY_RELEASE_DATE "2013-09-15" -#define RUBY_PATCHLEVEL 315 +#define RUBY_PATCHLEVEL 316 #define RUBY_RELEASE_YEAR 2013 #define RUBY_RELEASE_MONTH 9 |