Use ruby 1.9 hash syntax where possible

This pull request fixes #15 issue

Awesome project btw! Thanks for open sourcing this project!