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

ruby-changes:37746

From: naruse <ko1@a...>
Date: Tue, 3 Mar 2015 17:56:15 +0900 (JST)
Subject: [ruby-changes:37746] naruse:r49827 (trunk): remove ruby_1_9_2 support

naruse	2015-03-03 17:55:59 +0900 (Tue, 03 Mar 2015)

  New Revision: 49827

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

  Log:
    remove ruby_1_9_2 support

  Modified files:
    trunk/tool/merger.rb
Index: tool/merger.rb
===================================================================
--- tool/merger.rb	(revision 49826)
+++ tool/merger.rb	(revision 49827)
@@ -83,18 +83,12 @@ def version_up(inc=nil) https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L83
     end
   end
 
-  teeny = v[2]
-  case v
-  when %w/1 9 2/
-    teeny = 1
-  end
-
   str = open 'version.h', 'rb' do |f| f.read end
   [%W[RUBY_VERSION      "#{v.join '.'}"],
    %W[RUBY_VERSION_CODE  #{v.join ''}],
    %W[RUBY_VERSION_MAJOR #{v[0]}],
    %W[RUBY_VERSION_MINOR #{v[1]}],
-   %W[RUBY_VERSION_TEENY #{teeny}],
+   %W[RUBY_VERSION_TEENY #{v[2]}],
    %W[RUBY_RELEASE_DATE "#{d.strftime '%Y-%m-%d'}"],
    %W[RUBY_RELEASE_CODE  #{d.strftime '%Y%m%d'}],
    %W[RUBY_PATCHLEVEL    #{pl}],

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

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