defunkt/version_sorter — pull request #2 by tmm1 (2012-11-14 01:11:02+00:00)
Title: Re-use ruby strings

Avoids creating new ruby strings when returning a sorted array. This fixes an issue in 1.9 where a version string loses its encoding (and gets truncated if it has a null byte in it) when being sorted.

/cc @github/c-hackers