Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate IgnoredMethods option #750

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

koic
Copy link
Member

@koic koic commented Jul 24, 2022

Follow up rubocop/rubocop#10829.

This PR deprecates IgnoredMethods option in integrate to AllowedMethods and AllowedPatterns option.
It requires RuboCop 1.33.0 or higher.


Before submitting the PR make sure the following are checked:

  • The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
  • Wrote good commit messages.
  • Commit message starts with [Fix #issue-number] (if the related issue exists).
  • Feature branch is up-to-date with master (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
  • Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.
  • If this is a new cop, consider making a corresponding update to the Rails Style Guide.

@koic
Copy link
Member Author

koic commented Jul 24, 2022

rubocop/rubocop#10831 is required to resolve the build errors.

@koic koic force-pushed the deprecate_ignore_methods_parameter branch from 289c0ab to 9c00a7c Compare July 25, 2022 15:43
Follow up rubocop/rubocop#10829.

This PR deprecates `IgnoredMethods` option in integrate to `AllowedMethods` and `AllowedPatterns` option.
It requires RuboCop 1.33.0 or higher.
@koic koic force-pushed the deprecate_ignore_methods_parameter branch from 9c00a7c to ab3e176 Compare August 4, 2022 09:47
@koic koic merged commit 0d0767d into rubocop:master Aug 13, 2022
@koic koic deleted the deprecate_ignore_methods_parameter branch August 13, 2022 17:33
@co-anton-s
Copy link

@koic When is a release expected with these changes?

@koic
Copy link
Member Author

koic commented Sep 5, 2022

Scheduled for the second half of this week. Please wait for a little while.

@co-anton-s
Copy link

Scheduled for the second half of this week. Please wait for a little while.

Good. Thank you!

@koic
Copy link
Member Author

koic commented Sep 9, 2022

@anton-co RuboCop Rails 2.16 has been released. Thank you!
https://github.com/rubocop/rubocop-rails/releases/tag/v2.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants