summaryrefslogtreecommitdiff
path: root/ext/io
diff options
context:
space:
mode:
authorCharles Oliver Nutter <headius@headius.com>2021-02-03 13:53:28 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-22 11:53:13 +0900
commit270b16e70c6b9f3e4b497d481a00941e13a1f056 (patch)
tree82da1e72c2425fc299b279e25a1826cbe7bf9e11 /ext/io
parent042860bd65532fea95159774da94adc48bf7b958 (diff)
[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
Diffstat (limited to 'ext/io')
-rw-r--r--ext/io/console/io-console.gemspec16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index 5e875cc06e..dabe9e68f8 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -25,15 +25,15 @@ Gem::Specification.new do |s|
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
- 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
+ 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