summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 08:55:59 (GMT)
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 08:55:59 (GMT)
commitdff21f052f9f6e1cb038b95fadca21b6755a9c60 (patch)
tree58bb009191e026b29144a4659d254d1ef5d5b4e2 /tool
parent7968f885a0149504dc9799f7b762e7c1181e9ab7 (diff)
remove ruby_1_9_2 support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/merger.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/tool/merger.rb b/tool/merger.rb
index 54ac142..cd23a56 100755
--- a/tool/merger.rb
+++ b/tool/merger.rb
@@ -83,18 +83,12 @@ def version_up(inc=nil)
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}],