Hash syntax fix for ruby 1.8.7

Not sure if you support ruby 1.8.7, but it will help us if you merge and release new gem version with this fix. Thanks!