From d155443f5d724684ef34418f8d8d4850cb1adf78 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Fri, 23 Oct 2020 00:34:25 +0300 Subject: [PATCH] fixup! Properly format a numbered list --- docs/modules/ROOT/pages/upgrade_to_version_2.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/modules/ROOT/pages/upgrade_to_version_2.adoc b/docs/modules/ROOT/pages/upgrade_to_version_2.adoc index 75ccd5efb..ebc864726 100644 --- a/docs/modules/ROOT/pages/upgrade_to_version_2.adoc +++ b/docs/modules/ROOT/pages/upgrade_to_version_2.adoc @@ -71,13 +71,13 @@ https://github.com/rubocop-hq/rubocop/pull/8490[Learn more about this change]. Due to significant API changes, custom cops may break. Here is the summary of the changes: -1) The base class for cops is now `RuboCop::Cop::RSpec::Base` instead of `RuboCop::Cop::RSpec::Cop`. +1. The base class for cops is now `RuboCop::Cop::RSpec::Base` instead of `RuboCop::Cop::RSpec::Cop`. -2) `TopLevelDescribe` is replaced with a more generic `TopLevelGroup`. +2. `TopLevelDescribe` is replaced with a more generic `TopLevelGroup`. -3) `RuboCop::RSpec::Language` has been completely rewritten to support dynamic RSpec DSL aliases and negated matchers to fully support third-party libraries such as RSpec Rails, Pundit, Action Policy and many others. +3. `RuboCop::RSpec::Language` has been completely rewritten to support dynamic RSpec DSL aliases and negated matchers to fully support third-party libraries such as RSpec Rails, Pundit, Action Policy and many others. -4) RuboCop RSpec updated the dependency of RuboCop to 1.0+. +4. RuboCop RSpec updated the dependency of RuboCop to 1.0+. Below are the necessary steps to update custom cops to work with `rubocop-rspec` version 2.x.