[前][次][番号順一覧][スレッド一覧]

ruby-changes:65926

From: Charles <ko1@a...>
Date: Thu, 22 Apr 2021 11:53:39 +0900 (JST)
Subject: [ruby-changes:65926] 270b16e70c (master): [ruby/io-console] Move FFI console under lib

https://git.ruby-lang.org/ruby.git/commit/?id=270b16e70c

From 270b16e70c6b9f3e4b497d481a00941e13a1f056 Mon Sep 17 00:00:00 2001
From: Charles Oliver Nutter <headius@h...>
Date: Wed, 3 Feb 2021 13:53:28 -0600
Subject: [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
---
 ext/io/console/io-console.gemspec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/ext/io/console/io-console.gemspec b/ext/io/console/io-console.gemspec
index 5e875cc..dabe9e6 100644
--- a/ext/io/console/io-console.gemspec
+++ b/ext/io/console/io-console.gemspec
@@ -25,15 +25,15 @@ Gem::Specification.new do |s| https://github.com/ruby/ruby/blob/trunk/ext/io/console/io-console.gemspec#L25
   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
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]