Apply rubocop align rules
Apply rubocop curly braces style
Replace deprecated methods
Remove extra blank lines
Use Ruby 1.9 hash syntax style
Fix indentation
Reove redundant expressions
Remove semicolons to terminate expressions
Apply Rubocop spaces rules
Remove trailing commas, lines and whitespaces