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

Enable Performance/MapCompact cop #111

Merged
merged 1 commit into from
Apr 26, 2021

Conversation

koic
Copy link
Collaborator

@koic koic commented Apr 23, 2021

Follow rails/rails@bbbc861

This PR enables Performance/MapCompact cop and requires RuboCop Performance 1.11 or higher.
Because Performance/MapCompact cop has introduced in RuboCop Performance 1.11.

koic added a commit to koic/rubocop-rails_config that referenced this pull request Apr 23, 2021
RuboCop does not support Ruby 2.4.
rubocop/rubocop#9648

And toshimaru#111 requires this PR.
Therefore, this PR drops support for Ruby 2.4 to enable the same cops as rails/rails.
@koic
Copy link
Collaborator Author

koic commented Apr 23, 2021

RuboCop Performance 1.11 has dropped support for Ruby 2.4.
rubocop/rubocop-performance#232

#112 is required for the successful build of this PR.

@koic koic force-pushed the enable_performance_map_compact_cop branch from b2db297 to 5c3859a Compare April 23, 2021 18:12
koic added a commit to koic/rubocop-rails_config that referenced this pull request Apr 23, 2021
RuboCop does not support Ruby 2.4 and rails/rails uses RuboCop 1.13.

- rubocop/rubocop#9648
- rails/rails@bbbc861

And toshimaru#111 requires this PR.
Therefore, this PR drops support for Ruby 2.4 to enable the same cops as rails/rails.
Follow rails/rails@bbbc861

This PR enables `Performance/MapCompact` cop and
requires RuboCop Performance 1.11 or higher.
Because `Performance/MapCompact` cop has introduced in
RuboCop Performance 1.11.
@koic koic force-pushed the enable_performance_map_compact_cop branch from 5c3859a to a34c5bf Compare April 25, 2021 16:51
@toshimaru toshimaru merged commit 15389ed into toshimaru:main Apr 26, 2021
@koic koic deleted the enable_performance_map_compact_cop branch April 26, 2021 00:58
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.

2 participants