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

Use Cop::Base API for ThreadSafety department #8

Merged

Conversation

koic
Copy link
Member

@koic koic commented May 18, 2022

Follow rubocop/rubocop#7868.

The legacy Cop::Cop API is soft deprecated and this PR use new Cop::Base API instead.

maintain any RuboCop extensions, as the legacy API will be removed in RuboCop 2.0.

https://metaredux.com/posts/2020/10/21/rubocop-1-0.html

This new API requires RuboCop 0.87 or higher.
https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md#0870-2020-07-06

That dependent version update will be resolved in #7, so there are no updates in this PR.

@koic
Copy link
Member Author

koic commented May 18, 2022

#7 is required for the successful build.

Follow rubocop/rubocop#7868.

The legacy `Cop::Cop` API is soft deprecated and this PR use new `Cop::Base` API instead.

> maintain any RuboCop extensions, as the legacy API will be removed in RuboCop 2.0.

https://metaredux.com/posts/2020/10/21/rubocop-1-0.html

This new API requires RuboCop 0.87 or higher.
https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md#0870-2020-07-06

That dependent version update will be resolved in rubocop#7, so there are no updates in this PR.
@koic koic force-pushed the use_cop_base_api_for_performance_department branch from bcaf05b to 8cfb15d Compare May 18, 2022 17:02
@mikegee mikegee merged commit 4f8be27 into rubocop:master May 18, 2022
@koic koic deleted the use_cop_base_api_for_performance_department branch May 19, 2022 01:15
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

3 participants