2011-06-30 07:54:27 -04:00
|
|
|
# -*- ruby -*-
|
2021-03-28 10:42:38 -04:00
|
|
|
_VERSION = "0.5.9"
|
2011-06-30 07:54:27 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
|
|
|
s.name = "io-console"
|
|
|
|
s.version = _VERSION
|
|
|
|
s.summary = "Console interface"
|
|
|
|
s.email = "nobu@ruby-lang.org"
|
|
|
|
s.description = "add console capabilities to IO instances."
|
2019-12-22 22:14:11 -05:00
|
|
|
s.required_ruby_version = ">= 2.4.0"
|
2017-09-15 19:46:46 -04:00
|
|
|
s.homepage = "https://github.com/ruby/io-console"
|
2018-12-26 23:21:53 -05:00
|
|
|
s.metadata["source_code_url"] = s.homepage
|
2011-06-30 07:54:27 -04:00
|
|
|
s.authors = ["Nobu Nakada"]
|
2015-06-12 22:35:25 -04:00
|
|
|
s.require_path = %[lib]
|
2018-12-26 23:21:53 -05:00
|
|
|
s.files = %w[
|
|
|
|
LICENSE.txt
|
|
|
|
README.md
|
|
|
|
ext/io/console/console.c
|
|
|
|
ext/io/console/extconf.rb
|
|
|
|
ext/io/console/win32_vk.inc
|
|
|
|
lib/io/console/size.rb
|
|
|
|
]
|
2017-09-13 22:01:36 -04:00
|
|
|
s.extensions = %w[ext/io/console/extconf.rb]
|
2020-01-10 03:19:42 -05:00
|
|
|
|
|
|
|
if Gem::Platform === s.platform and s.platform =~ 'java'
|
|
|
|
s.files.delete_if {|f| f.start_with?("ext/")}
|
|
|
|
s.extensions.clear
|
|
|
|
s.files.concat(%w[
|
2021-02-03 14:53:28 -05:00
|
|
|
lib/io/console.rb
|
|
|
|
lib/io/console/ffi/bsd_console.rb
|
|
|
|
lib/io/console/ffi/common.rb
|
|
|
|
lib/io/console/ffi/console.rb
|
|
|
|
lib/io/console/ffi/linux_console.rb
|
|
|
|
lib/io/console/ffi/native_console.rb
|
|
|
|
lib/io/console/ffi/stty_console.rb
|
|
|
|
lib/io/console/ffi/stub_console.rb
|
2020-01-10 03:19:42 -05:00
|
|
|
])
|
|
|
|
end
|
|
|
|
|
2020-08-18 07:15:59 -04:00
|
|
|
s.licenses = ["Ruby", "BSD-2-Clause"]
|
2011-06-30 07:54:27 -04:00
|
|
|
end
|