Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix#312
Merged
peter-evans merged 4 commits intomainfrom Jun 9, 2025
Merged
Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix#312peter-evans merged 4 commits intomainfrom
peter-evans merged 4 commits intomainfrom
Conversation
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
…refix Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Copilot
AI
changed the title
[WIP] Getting warnings from deprecated Naming/PredicateName
Fix deprecated Naming/PredicateName cop - rename to Naming/PredicatePrefix
Jun 5, 2025
Member
|
@copilot can you re-examine the original issue and recreate this pull request? |
Member
|
@copilot Remove the vendor folder checked into this pull request |
Co-authored-by: jonrohan <54012+jonrohan@users.noreply.github.com>
Contributor
Author
This file contains hidden or 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
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.
The
Naming/PredicateNamecop has been renamed toNaming/PredicatePrefixin RuboCop 1.76.0, causing deprecation warnings when using this gem:This PR updates the configuration to use the new cop name and bumps the minimum RuboCop version to 1.76 to ensure compatibility.
Changes:
Naming/PredicateNametoNaming/PredicatePrefixinconfig/default.yml>= 1.72to>= 1.76in gemspecvendor/to.gitignoreto prevent bundled gems from being committedVerification:
Fixes #311.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.