Fix for Ruby 2.1

Hi Brian. I know you're reluctant to deal with this any more but I've been asked several times to get these changed merged here and I'm personally still using this gem. A new release would be helpful too. Thanks.