Use ":key => value" syntax for Ruby 1.8

GitHub: #71

Patch by estolfo. Thanks!!!