I made a corresponding issue with more details about the bug.
if the sort fails, rescue and return the array as-is
ruby core issue 24063 added Kernel::<=> to Object (note that Kernel module documentation does not display this functionality).
as a result, safe_sort isn't anymore, and trying to =~ any objects that don't define a better <=> throws an exception.
i'll attach a somewhat plausible patch momentarily
Can you add a spec for this that fails in 1.9.2 without this change?
Actually, looks like #81 provides them :)
Brilliant. I'll check and see if anywhere else is checking for <=> while I'm at it.
update the spec for correct 1.9.2 support
- Closes #81.
- Closes #83.