Skip to content

Conversation

@oleksii-leonov
Copy link
Contributor

Current gemspec required rubocop to be '~> 1.72.1', which doesn't allow rubocop 1.73.

It's better to use '~> 1.72', '>= 1.72.1'.

This approach is used in other rubocop plugin gems, for example: https://github.com/rubocop/rubocop-factory_bot/blob/103168792b4e042a235825080b9e552f53be379a/rubocop-factory_bot.gemspec#L38C34-L38C56.

Current gemspec required rubocop to be `'~> 1.72.1'`, which doesn't allow rubocop 1.73.

It's better to use `'~> 1.72', '>= 1.72.1'`.

This approach is used in other rubocop plugin gems, for example: https://github.com/rubocop/rubocop-factory_bot/blob/103168792b4e042a235825080b9e552f53be379a/rubocop-factory_bot.gemspec#L38C34-L38C56.
@koic koic merged commit 62d24cd into rubocop:master Mar 7, 2025
8 checks passed
@koic
Copy link
Member

koic commented Mar 7, 2025

Thanks!

@koic
Copy link
Member

koic commented Mar 7, 2025

rubocop-rubycw 0.2.2 has been released, including this patch. Thank you!
https://rubygems.org/gems/rubocop-rubycw/versions/0.2.2

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