-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
Import EnforceSuperclass
module
#390
Merged
Merged
Conversation
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
6ba0f6b
to
12c167d
Compare
EnforceSuperclass
module
12c167d
to
6ec8aec
Compare
Follow rubocop/rubocop#7868. This PR uses `Cop::Base` API for cops mixing `EnforceSuperclass` module.
6ec8aec
to
52b8480
Compare
koic
added a commit
to koic/rubocop
that referenced
this pull request
Nov 23, 2020
RuboCop core depended on this module when it supported Rails department. Rails department has been extracted to RuboCop Rails gem. I forgot to remove it when extracting Rails department from the core. rubocop/rubocop-rails#390 is ready to be removed from RuboCop core. First of all, as soft deprecation, the document only indicates that it is a deprecation warning. After releasing RuboCop Rails several times, I will display a deprecation warning and will remove it in RuboCop 2.0.
8 tasks
bbatsov
pushed a commit
to rubocop/rubocop
that referenced
this pull request
Nov 24, 2020
RuboCop core depended on this module when it supported Rails department. Rails department has been extracted to RuboCop Rails gem. I forgot to remove it when extracting Rails department from the core. rubocop/rubocop-rails#390 is ready to be removed from RuboCop core. First of all, as soft deprecation, the document only indicates that it is a deprecation warning. After releasing RuboCop Rails several times, I will display a deprecation warning and will remove it in RuboCop 2.0.
8 tasks
koic
added a commit
to koic/rubocop
that referenced
this pull request
Nov 17, 2021
Follow up to rubocop#9087. This PR displays deprecation message for `EnforceSuperclass` module. > rubocop/rubocop-rails#390 is ready to be removed from RuboCop core. > First of all, as soft deprecation, the document only indicates that it is a deprecation warning. > After releasing RuboCop Rails several times, I will display a deprecation warning and > will remove it in RuboCop 2.0. After rubocop#9087, I've released RuboCop Rails more than 10 times in about a year, so it's time to get a deprecated warning.
bbatsov
pushed a commit
to rubocop/rubocop
that referenced
this pull request
Nov 17, 2021
Follow up to #9087. This PR displays deprecation message for `EnforceSuperclass` module. > rubocop/rubocop-rails#390 is ready to be removed from RuboCop core. > First of all, as soft deprecation, the document only indicates that it is a deprecation warning. > After releasing RuboCop Rails several times, I will display a deprecation warning and > will remove it in RuboCop 2.0. After #9087, I've released RuboCop Rails more than 10 times in about a year, so it's time to get a deprecated warning.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follow rubocop/rubocop#7868.
This PR imports enforce superclass module and uses
Cop::Base
API for cops mixingEnforceSuperclass
module.Before submitting the PR make sure the following are checked:
[Fix #issue-number]
(if the related issue exists).master
(if not - rebase it).and description in grammatically correct, complete sentences.
bundle exec rake default
. It executes all tests and RuboCop for itself, and generates the documentation.