diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-02 07:53:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-02 07:53:27 +0000 |
commit | 013016b9865f4e5efe42856116f499d624b60ead (patch) | |
tree | a8be50fcb7c31d696fba1d8c8922ea10538cfcef | |
parent | d1d2235ed90af1d49af0b95cd520dcf90d593567 (diff) | |
download | ruby-013016b9865f4e5efe42856116f499d624b60ead.tar.gz |
io/console: drop 2.0.0 support [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/io/console/console.c | 3 | ||||
-rw-r--r-- | ext/io/console/extconf.rb | 2 | ||||
-rw-r--r-- | ext/io/console/io-console.gemspec | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/ext/io/console/console.c b/ext/io/console/console.c index 04cf9e3f9c..e8089074be 100644 --- a/ext/io/console/console.c +++ b/ext/io/console/console.c @@ -17,9 +17,6 @@ #ifndef RARRAY_CONST_PTR # define RARRAY_CONST_PTR(ary) RARRAY_PTR(ary) #endif -#ifndef HAVE_RB_FUNCALLV -# define rb_funcallv rb_funcall2 -#endif #if defined HAVE_TERMIOS_H # include <termios.h> diff --git a/ext/io/console/extconf.rb b/ext/io/console/extconf.rb index be536dff9f..8f02c89316 100644 --- a/ext/io/console/extconf.rb +++ b/ext/io/console/extconf.rb @@ -17,11 +17,11 @@ else end if ok have_header("sys/ioctl.h") if hdr - have_func("rb_funcallv") have_func("rb_sym2str") # rb_check_hash_type: 1.9.3 # rb_io_get_write_io: 1.9.1 # rb_cloexec_open: 2.0.0 + # rb_funcallv: 2.1.0 $defs << "-D""ENABLE_IO_GETPASS=1" create_makefile("io/console") {|conf| conf << "\n""VK_HEADER = #{vk_header}\n" diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec index 1256162468..5072452aa8 100644 --- a/ext/io/console/io-console.gemspec +++ b/ext/io/console/io-console.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.summary = "Console interface" s.email = "nobu@ruby-lang.org" s.description = "add console capabilities to IO instances." - s.required_ruby_version = ">= 2.0.0" + s.required_ruby_version = ">= 2.1.0" s.homepage = "https://github.com/ruby/io-console" s.authors = ["Nobu Nakada"] s.require_path = %[lib] |