ruby-changes:65750
From: aycabta <ko1@a...>
Date: Sat, 3 Apr 2021 20:21:19 +0900 (JST)
Subject: [ruby-changes:65750] 281c6f5055 (master): [ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGV
https://git.ruby-lang.org/ruby.git/commit/?id=281c6f5055 From 281c6f505580d31baa747ecb6cb189f02782c5ab Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Sat, 3 Apr 2021 20:21:04 +0900 Subject: [ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGV https://github.com/ruby/irb/commit/b034bd22b0 --- lib/irb/irb.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/irb/irb.gemspec b/lib/irb/irb.gemspec index 8791dcc..9b2b005 100644 --- a/lib/irb/irb.gemspec +++ b/lib/irb/irb.gemspec @@ -38,6 +38,8 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/lib/irb/irb.gemspec#L38 spec.add_dependency "reline", ">= 0.1.5" spec.add_development_dependency "bundler" + is_unix = RUBY_PLATFORM =~ /(aix|darwin|linux|(net|free|open)bsd|cygwin|solaris|irix|hpux)/i + spec.add_development_dependency 'vterm', '>= 0.0.5' if is_unix spec.add_development_dependency 'yamatanooroti', '>= 0.0.6' spec.add_development_dependency "rake" end -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/