2011-06-30 11:54:27 +00:00
|
|
|
# -*- ruby -*-
|
2021-12-29 09:29:06 +09:00
|
|
|
_VERSION = "0.5.11"
|
2011-06-30 11:54:27 +00: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."
|
2021-12-25 00:18:04 +09:00
|
|
|
s.required_ruby_version = ">= 2.6.0"
|
2017-09-15 23:46:46 +00:00
|
|
|
s.homepage = "https://github.com/ruby/io-console"
|
2018-12-27 04:21:53 +00:00
|
|
|
s.metadata["source_code_url"] = s.homepage
|
2011-06-30 11:54:27 +00:00
|
|
|
s.authors = ["Nobu Nakada"]
|
2015-06-13 02:35:25 +00:00
|
|
|
s.require_path = %[lib]
|
2018-12-27 04:21:53 +00: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-14 02:01:36 +00:00
|
|
|
s.extensions = %w[ext/io/console/extconf.rb]
|
2020-01-10 17:19:42 +09: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 13:53:28 -06: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 17:19:42 +09:00
|
|
|
])
|
|
|
|
end
|
|
|
|
|
2020-08-18 20:15:59 +09:00
|
|
|
s.licenses = ["Ruby", "BSD-2-Clause"]
|
2011-06-30 11:54:27 +00:00
|
|
|
end
|