MehdiK/Humanizer — pull request #281 by Kalaina (2014-05-24 17:39:01+00:00)
Title: Handle hyphenation and large numbers ending in twelve for English ordinal words

According to any grammatical reference I can find, ordinal numbers should be hyphenated in English following the same rules that cardinal numbers are. Additionally, I noticed that e.g. 112 was being ordinalized as "one hundred and ten second."

I opted to merge the code paths for these to avoid duplication of logic - in particular, respecting the rules for hyphenation of ordinals requires context about the rest of the number that wasn't available. Added a test for an ordinal ending in 12 and a cardinal multiple of ten.

I've also never used Git or Github before, so bear with me as I don't really know what I'm doing.