1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/io/console/io-console.gemspec
Charles Oliver Nutter 270b16e70c
[ruby/io-console] Move FFI console under lib
Having the separate dir makes testing difficult and doesn't
reflect the structure the gem will eventually have. We can filter
these files out if necessary when building the CRuby gem.

https://github.com/ruby/io-console/commit/881010447c
2021-04-22 11:53:13 +09:00

41 lines
1.1 KiB
Ruby

# -*- ruby -*-
_VERSION = "0.5.9"
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."
s.required_ruby_version = ">= 2.4.0"
s.homepage = "https://github.com/ruby/io-console"
s.metadata["source_code_url"] = s.homepage
s.authors = ["Nobu Nakada"]
s.require_path = %[lib]
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
]
s.extensions = %w[ext/io/console/extconf.rb]
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[
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
])
end
s.licenses = ["Ruby", "BSD-2-Clause"]
end