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

Rubocop: fix renamed lint rule #1451

Merged
merged 1 commit into from Mar 8, 2020
Merged

Conversation

kubo39
Copy link
Contributor

@kubo39 kubo39 commented Mar 5, 2020

No description provided.

@pyrmont pyrmont merged commit 32e87b8 into rouge-ruby:master Mar 8, 2020
@kubo39 kubo39 deleted the kubo39-patch-1 branch March 8, 2020 08:53
@pyrmont
Copy link
Contributor

pyrmont commented Mar 8, 2020

Thanks for contributing this, @kubo39! Much appreciated 🎉

This will go out in the next release of Rouge. That's scheduled for this Tuesday 🚀

@pyrmont pyrmont self-assigned this Mar 8, 2020
pyrmont added a commit that referenced this pull request Mar 24, 2020
This commit reverses the change made in #1451 and changes the name of
the cop back to `UnneededSplatExpansion`.

The reason to do this is that Rouge supports versions of Ruby from 2.0
and this prevents upgrading our development dependencies to a newer
version of RuboCop (RuboCop ended support for versions prior to v2.3
with RuboCop v0.50). The renamed cop was not introduced until RuboCop 
v0.76.

Dropping support for older versions of Ruby may be implemented as part
of Rouge v4.0 but it won't occur as part of v3.0.
mattt pushed a commit to NSHipster/rouge that referenced this pull request May 21, 2020
The `UnneededSplatExpansion` rule is now called
`RedundantSplatExpansion`. This commit corrects the name of the rule.
mattt pushed a commit to NSHipster/rouge that referenced this pull request May 21, 2020
This commit reverses the change made in rouge-ruby#1451 and changes the name of
the cop back to `UnneededSplatExpansion`.

The reason to do this is that Rouge supports versions of Ruby from 2.0
and this prevents upgrading our development dependencies to a newer
version of RuboCop (RuboCop ended support for versions prior to v2.3
with RuboCop v0.50). The renamed cop was not introduced until RuboCop 
v0.76.

Dropping support for older versions of Ruby may be implemented as part
of Rouge v4.0 but it won't occur as part of v3.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.

None yet

2 participants