klaas1979/ivy4r — pull request #15 by stephenh (2014-05-29 00:04:13+00:00)
Title: Pass true to respond_to? to pick up protected methods.

In Ruby 2.0, respond_to? ignores both private and protected methods (in Ruby 1.x, it only ignored private methods).

This broke ivy4r's Java wrapper logic since the converter methods are protected. In Ruby 2.0, they would not be discovered, and code that later assumed a j.u.HashMap had become a Hash would fail.

Tangentially, I tried to run the tests, but am getting a slew of failures. Not sure if that's expected or not.