Update respond_to? calls for second argument.
commitb6ec1891ec6280c186e78ec77b88e6934ca7d653
authorPat Allan <pat@freelancing-gods.com>
Sun, 21 May 2017 05:33:35 +0000 (21 05:33 +0000)
committerEric Wong <e@80x24.org>
Sun, 21 May 2017 05:38:41 +0000 (21 05:38 +0000)
tree08abe34987c44c73cc37a64067eb947b7ec3d75f
parent029d072d420f0adf98c620913fe05eba3222e244
Update respond_to? calls for second argument.

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]
ext/clogger_ext/clogger.c
ext/clogger_ext/extconf.rb
lib/clogger/pure.rb
test/test_clogger_to_path.rb