Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If the RuboCop version is 1.31 or later then use `rubocop:autocorrect` task instead of deprecated `rubocop:auto_correct` in the `Rakefile`. Otherwise use the conventional `rubocop:auto_correct` task. Note that the older RuboCop doesn't have `RuboCop::Version` module, so the condition `RuboCop.const_defined?(:Version)` is necessary.
- Loading branch information