ruby-changes:66111
From: usa <ko1@a...>
Date: Mon, 10 May 2021 12:24:52 +0900 (JST)
Subject: [ruby-changes:66111] 72ad9d27aa (ruby_2_6): fix previous commit
https://git.ruby-lang.org/ruby.git/commit/?id=72ad9d27aa From 72ad9d27aa12c9f9b98b4e566d0c91598a0ad408 Mon Sep 17 00:00:00 2001 From: usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Mon, 10 May 2021 03:24:37 +0000 Subject: fix previous commit git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@67943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/fiddle/extconf.rb | 2 +- version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/fiddle/extconf.rb b/ext/fiddle/extconf.rb index dc53f22..f8a94d4 100644 --- a/ext/fiddle/extconf.rb +++ b/ext/fiddle/extconf.rb @@ -114,7 +114,7 @@ end https://github.com/ruby/ruby/blob/trunk/ext/fiddle/extconf.rb#L114 if ver ver = ver.gsub(/-rc\d+/, '') # If ver contains rc version, just ignored. - ver = (ver.split('.') + [0,0])[0,3] + ver = (ver.split('.').map(&:to_i) + [0,0])[0,3] $defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver }}) warn "libffi_version: #{ver.join('.')}" end diff --git a/version.h b/version.h index dd836d4..b3315b5 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/version.h#L1 #define RUBY_VERSION "2.6.8" #define RUBY_RELEASE_DATE "2021-05-10" -#define RUBY_PATCHLEVEL 198 +#define RUBY_PATCHLEVEL 199 #define RUBY_RELEASE_YEAR 2021 #define RUBY_RELEASE_MONTH 5 -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/