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

[Fix #5977] Remove Performance cops #6890

Merged
merged 1 commit into from Apr 8, 2019

Conversation

koic
Copy link
Member

@koic koic commented Apr 5, 2019

Fixes #5977.

This PR removes Performance cops from RuboCop core.

These cops were transferred to rubocop-hq/rubocop-performance repository.
https://github.com/rubocop-hq/rubocop-performance


Before submitting the PR make sure the following are checked:

  • 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.
  • Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
  • The PR relates to only one subject with a clear title
    and description in grammatically correct, complete sentences.
  • Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Fixes rubocop#5977.

This PR removes Performance cops from RuboCop core.

These cops were transferred to rubocop-hq/rubocop-performance repository.
https://github.com/rubocop-hq/rubocop-performance
@koic
Copy link
Member Author

koic commented Apr 5, 2019

It may be better to merge this PR when we decide the next release version is RuboCop 0.68.

@bbatsov
Copy link
Collaborator

bbatsov commented Apr 5, 2019

I agree. I'll wait for a couple of days to see if we'll need another bugfix release for 0.67 and aim to merge this on Monday.

@bbatsov
Copy link
Collaborator

bbatsov commented Apr 8, 2019

There are a few small problems with RescuedExceptionsVariableName that would probably warrant a bug-fix release, but they can also go to 0.68.0, as they aren't anything urgent.

@bbatsov bbatsov merged commit 98c30a6 into rubocop:master Apr 8, 2019
@bbatsov
Copy link
Collaborator

bbatsov commented Apr 8, 2019

P.S. Once again - fantastic work, @koic!

@koic
Copy link
Member Author

koic commented Apr 8, 2019

I get it! Thanks too, @bbatsov!
And I will release RuboCop Performance 1.1.0.
rubocop/rubocop-performance#41

@koic koic deleted the remove_performance_cops branch April 8, 2019 07:59
koic added a commit to koic/rubocop that referenced this pull request May 7, 2019
Follow up rubocop#6890.

`spec/rubocop/cop/performance/caller_spec.rb` has been moved from
rubocop-hq/rubocop repo to rubocop-hqrubocop-performance repo.
bbatsov pushed a commit that referenced this pull request May 7, 2019
Follow up #6890.

`spec/rubocop/cop/performance/caller_spec.rb` has been moved from
rubocop-hq/rubocop repo to rubocop-hqrubocop-performance repo.
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