Use Ruby 1.9+ hash syntax
Use double quotes
Remove extra whitespace
Avoid single-letter variables for multiple-line code blocks
Use parentheses when appropriate
Provide proper spacing around curly braces
Make remaining miscellaneous style cleanups

[ci skip]
Merge pull request #31 from collectiveidea/github-ruby-style-guide

Adhere to GitHub's Ruby Style Guide