diff options
author | Pat Allan <pat@freelancing-gods.com> | 2017-05-21 05:33:35 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-05-21 05:38:41 +0000 |
commit | b6ec1891ec6280c186e78ec77b88e6934ca7d653 (patch) | |
tree | 08abe34987c44c73cc37a64067eb947b7ec3d75f /ext/clogger_ext/extconf.rb | |
parent | 029d072d420f0adf98c620913fe05eba3222e244 (diff) | |
download | clogger-b6ec1891ec6280c186e78ec77b88e6934ca7d653.tar.gz |
Rack (since v2) has started explicitly listing the second (optional) argument for respond_to?, which matches the underlying Ruby spec. This patch fixes the calls in both C and Ruby approaches. [ew: add test, use rb_obj_respond_to if available]
Diffstat (limited to 'ext/clogger_ext/extconf.rb')
-rw-r--r-- | ext/clogger_ext/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/clogger_ext/extconf.rb b/ext/clogger_ext/extconf.rb index 523b314..b2c0891 100644 --- a/ext/clogger_ext/extconf.rb +++ b/ext/clogger_ext/extconf.rb @@ -22,6 +22,7 @@ begin have_func('rb_thread_call_without_gvl', 'ruby/thread.h') have_func('rb_thread_blocking_region', 'ruby.h') have_func('rb_thread_io_blocking_region', 'ruby.h') + have_func('rb_obj_respond_to', 'ruby/intern.h') create_makefile('clogger_ext') rescue Object => err warn "E: #{err.inspect}" |