2011-06-30 11:54:27 +00:00
|
|
|
# -*- ruby -*-
|
2021-03-28 23:42:38 +09:00
|
|
|
_VERSION = "0.5.9"
|
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."
|
2019-12-23 12:14:11 +09:00
|
|
|
s.required_ruby_version = ">= 2.4.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.require_paths.unshift("jruby")
|
|
|
|
s.files.concat(%w[
|
|
|
|
jruby/io/console.rb
|
2020-01-11 11:26:05 +09:00
|
|
|
jruby/io/console/bsd_console.rb
|
|
|
|
jruby/io/console/common.rb
|
|
|
|
jruby/io/console/linux_console.rb
|
|
|
|
jruby/io/console/native_console.rb
|
|
|
|
jruby/io/console/stty_console.rb
|
|
|
|
jruby/io/console/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
|