spec fix; code cleanup; rubocop.yml

Hi @effkay,

this PR fixes the specs for me.
Additionally shoestrap got a little cleanup via rubocop.
Please wait until the result of Travis is out before you merge.

Thank you very much,
Alex