Samuel Williams
28491e53cd
[ruby/stringio] Support for rb_io_mode_t
...
(https://github.com/ruby/stringio/pull/129 )
Companion PR to <https://github.com/ruby/ruby/pull/7894 >.
https://github.com/ruby/stringio/commit/2d3988e12f
2025-04-15 11:15:35 +00:00
Benoit Daloze
1c3088117a
[ruby/stringio] Do not compile the C extension on TruffleRuby
...
* Before this it was compiled but not used, because TruffleRuby has
a stringio.rb in stdlib and .rb has precedence over .so.
In fact that extension never worked on TruffleRuby,
because rb_io_extract_modeenc() has never been defined on TruffleRuby.
* So this just skip compiling the extension since compilation of it now fails:
https://github.com/ruby/openssl/issues/699
https://github.com/ruby/stringio/commit/d791b63df6
2023-11-27 12:21:24 +00:00
Nobuyoshi Nakada
6987ec45b1
[ruby/stringio] Drop support for ruby 2.6 or earlier
...
(https://github.com/ruby/stringio/pull/47 )
`rb_io_extract_modeenc` has been exported since ruby 2.7.
2023-05-08 07:21:21 +00:00
Nobuyoshi Nakada
e54d349a01
[ruby/stringio] Added support for older versions
...
https://github.com/ruby/stringio/commit/c4a13d41cd
https://github.com/ruby/stringio/commit/359c9f395c
2019-08-14 11:20:58 +09:00
naruse
c4fdfabcc8
handle ext/ as r53141
...
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts
fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&#
frozen_string_literal: false\n");f.rewind;f.write s}}'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-16 05:31:54 +00:00
eban
a39967d062
* ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead.
...
* ext/enumerator/extconf.rb, ext/fcntl/extconf.rb,
ext/stringio/extconf.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-01 05:04:04 +00:00