Upgrading and appeasing the RuboCop