Fixed 7 offences after playing around with gem rubocop