Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new
expect_offense
, expect_correction
instead of old APIs
This PR uses new `expect_offense`, `expect_correction` instead of `cop.offenses`, `cop.highlights`, and `cop.messages` APIs. Therefore, RuboCop Performance requires Rails 0.87 or higher.
- Loading branch information
1 parent
dec1e3a
commit 394e479
Showing
17 changed files
with
906 additions
and
788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.