Skip to content

Commit

Permalink
fixup! Properly format a numbered list
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Oct 22, 2020
1 parent 7cac570 commit d155443
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/upgrade_to_version_2.adoc
Expand Up @@ -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.

Expand Down

0 comments on commit d155443

Please sign in to comment.