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 f27e0d90c8 ext/fiddle/fiddle.gemspec: avoid require lib/fiddle/version.rb
It loads `ext/fiddle/lib/fiddle/version.rb`, which causes constant
redefinition warning:

http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20200523T153003Z.log.html.gz
```
[ 6317/20193] TestDefaultGems#test_validate_gemspec/home/chkbuild/chkbuild/tmp/build/20200523T153003Z/ruby/ext/fiddle/lib/fiddle/version.rb:2: warning: already initialized constant Fiddle::VERSION
/home/chkbuild/chkbuild/tmp/build/20200523T153003Z/ruby/.ext/common/fiddle/version.rb:2: warning: previous definition of VERSION was here
 = 0.16 s
```

This changeset read the version by manual parsing hack which is also
used in stringio and zlib.
2020-05-24 04:01:20 +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 Update dependencies 2019-11-18 23:16:22 +09:00
fiddle ext/fiddle/fiddle.gemspec: avoid require lib/fiddle/version.rb 2020-05-24 04:01:20 +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 sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +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 sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +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 win32ole: separate global variable declarations and definitions 2020-05-10 21:37:59 +09:00
zlib sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
.document
extmk.rb Configure static extensions only if in charge 2019-11-19 15:11:41 +09:00
Setup
Setup.atheos
Setup.nt