Strip trailing whitespace.
Convert block to blockinator.
Convert multiline { } to do..end.

2 files were modified.
Use 'then' instead of ';' after 'when' clause.
Convert double-quoted strings to single-quoted strings when there is no interpolation.

6 files were modified.
Insert underscores into literal numbers.
Normalize enumerable method calls.
Normalize hash syntax to ruby 1.9

5 files were modified.
Realign method arguments that wrap to the next line.
Remove unnecessary empty '()' in method definition.