1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
Yusuke Endoh a3cc9b3c8e Avoid requiring "psych/versions"
This leads to double requiring "ext/psych/lib/psych/versions.rb" and
".ext/common/psych/versions.rb", which produces doxens of warnings
during `make test-all`.

http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200608T123004Z.log.html.gz
```
[15092/20234]
TestRDocOptions#test_init_with_encoding/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:233: warning: already initialized constant Psych::LIBYAML_VERSION
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:233: warning: previous definition of LIBYAML_VERSION was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:235: warning: already initialized constant Psych::NOT_GIVEN
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:235: warning: previous definition of NOT_GIVEN was here
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/ext/psych/lib/psych.rb:271: warning: method redefined; discarding old load
/home/chkbuild/chkbuild/tmp/build/20200608T123004Z/ruby/.ext/common/psych.rb:271: warning: previous definition of load was here
...
```

The same issue happened in fiddle.gemspec, and this change applies the
same fix as [fiddle](https://github.com/ruby/fiddle/issues/34).
2020-06-09 00:27:04 +09:00
..
-test- sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
bigdecimal ext/bigdecimal/bigdecimal.c, ext/date/date_core.c: undef NDEBUG 2020-05-13 13:49:21 +09:00
cgi/escape sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
continuation sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
coverage sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
date ext/bigdecimal/bigdecimal.c, ext/date/date_core.c: undef NDEBUG 2020-05-13 13:49:21 +09:00
dbm sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
digest sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
etc sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
fcntl sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
fiber
fiddle autoconf may not be available 2020-05-27 23:46:55 +09:00
gdbm sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
io sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
json ext/json/parser/prereq.mk: remove type-limit warning if char is unsigned 2020-05-14 00:44:35 +09:00
monitor sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
nkf sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
objspace sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
openssl [ruby/openssl] Ruby/OpenSSL 2.2.0 2020-05-13 15:47:51 +09:00
pathname sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
psych Avoid requiring "psych/versions" 2020-06-09 00:27:04 +09:00
pty sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
racc/cparse sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
rbconfig/sizeof sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
readline sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
ripper Allow references to $$ in Ripper DSL 2020-05-29 09:41:27 +09:00
rubyvm
sdbm sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
socket Thread scheduler for light weight concurrency. 2020-05-14 22:10:55 +12:00
stringio Suppress warnings no inline ruby debug (#3107) 2020-05-22 13:49:08 +09:00
strscan sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
syslog sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
win32
win32ole
zlib sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
.document
extmk.rb
Setup
Setup.atheos
Setup.nt