rubycas / rubycas-client

Ruby client for Yale's Central Authentication Service protocol -- an open source enterprise single sign on system for web applications.
http://code.google.com/p/rubycas-client/
Other
332 stars 217 forks source link

Boolean extra attributes are broken under ruby 1.9 #38

Closed geoffgarside closed 12 years ago

geoffgarside commented 12 years ago

Boolean attributes are encoded into the validation response like

<is_truthy><![CDATA[--- true
]]></is_truthy>

when running under ruby 1.9 the "is_truthy" extra attribute is set to "--- true" rather than actually being true.

geoffgarside commented 12 years ago

After adding the test case I've also run this against REE and it also fails the tests. It does seem to differ on v2.2.1 between ruby versions though.