Updating rubocop and ruby version + addressing rubocop offenses