First attempt to make gem work on Ruby 2
Merge pull request #8 from PedroBrochado/master

Update Ruby 2