refactoring Rakefile to match Rubocop styling guide