mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![]() 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. |
||
---|---|---|
.. | ||
lib | ||
win32 | ||
closure.c | ||
closure.h | ||
conversions.c | ||
conversions.h | ||
depend | ||
extconf.rb | ||
extlibs | ||
fiddle.c | ||
fiddle.gemspec | ||
fiddle.h | ||
function.c | ||
function.h | ||
handle.c | ||
pointer.c |