bbatsov/rubocop — pull request #1536 by mattjmcnaughton (2014-12-28 18:46:35+00:00)
Title: [Fix #1527] Fix autocorrect bracesaroundhashparameters leaves extra space

This pull request fixes the above mentioned issue. It also takes the added step of removing any extra white space when doing autocorrect for the `BracesAroundHashParameters` cop, as can be seen in `braces_around_hash_parameters_spec`. I also had to make a slight change to `Util.range_with_surrounding_space` to make the way it handled white space uniform for both the left and right directives. Finally, this required updating a test in `cli_spec`.

Final note. I know in the Contributing guidelines it says to squash commits. Can someone give me some tips on how to do this? I'm mostly just confused because I pulled from the upstream master to make sure I was staying up to date, but I'm not sure how to factor those upstream commits into the rebase. Thanks!