Skip to content

Commit 7d24866

Browse files
committed
* tool/merger.rb: support 2.1+ versioning scheme.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 7b65fb2 commit 7d24866

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Wed Feb 25 15:27:16 2015 NARUSE, Yui <[email protected]>
2+
3+
* tool/merger.rb: support 2.1+ versioning scheme.
4+
15
Tue Feb 25 08:49:12 2015 Kazuki Tanaka <[email protected]>
26

37
* lib/cmath.rb (log): raise ArgumentError when more than 2 arguments

tool/mkconfig.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def config.write(arg)
2929
# changes made to this file will be lost the next time ruby is built.
3030
3131
module RbConfig
32-
RUBY_VERSION == "#{version}" or
32+
RUBY_VERSION.start_with?("#{version}"[/^[0-9]+[.][0-9]+[.]/]) or
3333
raise "ruby lib version (#{version}) doesn't match executable version (\#{RUBY_VERSION})"
3434
3535
]

0 commit comments

Comments
 (0)