mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
remove ruby_1_9_2 support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7968f885a0
commit
dff21f052f
1 changed files with 1 additions and 7 deletions
|
@ -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}],
|
||||
|
|
Loading…
Reference in a new issue