1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/fiddle
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
..
lib [ruby/fiddle] Improve documentation on how to correctly free memory and free memory in tests (#33) 2020-05-23 14:34:07 +09:00
win32 Drop executable bit of *.{yml,h,mk.tmpl} 2020-01-22 16:04:38 +09:00
closure.c Do not set USE_FFI_CLOSURE_ALLOC=1 in fiddle on OpenBSD 2020-03-08 17:47:48 -07:00
closure.h
conversions.c
conversions.h
depend sed -i 's|ruby/impl|ruby/internal|' 2020-05-11 09:24:08 +09:00
extconf.rb ext/fiddle/extconf.rb: Fix the condition of libffi <= 3.1 2020-05-13 10:57:14 +09:00
extlibs fiddle: share the same config tools 2020-05-12 15:57:47 +09:00
fiddle.c [ruby/fiddle] Initialize memory to 0 when calling Fiddle.malloc(). (#24) 2020-05-23 14:29:16 +09:00
fiddle.gemspec ext/fiddle/fiddle.gemspec: avoid require lib/fiddle/version.rb 2020-05-24 04:01:20 +09:00
fiddle.h
function.c [ruby/fiddle] Remove taint support (#21) 2019-10-24 19:34:49 +09:00
function.h
handle.c [ruby/fiddle] Remove taint support (#21) 2019-10-24 19:34:49 +09:00
pointer.c [ruby/fiddle] Improve documentation on how to correctly free memory and free memory in tests (#33) 2020-05-23 14:34:07 +09:00