Update repo.rb

The configuration option `key` clashes with [the Ruby method of the same name](http://www.ruby-doc.org/core-2.0/Hash.html#method-i-key). This change switches to hash syntax, vs. object syntax to bypass the errors reported in #1.
Kill trailing whitespace
Merge pull request #2 from leehambley/master

Thanks for the help.