- Update Gemspec
required_ruby_version
to>= 3.0.0
- Added new GitHub/AvoidObjectSendWithDynamicMethod cop to discourage use of methods like Object#send
- Updated minimum dependencies for "rubocop" (
>= 1.37
), "rubocop-performance" (>= 1.15
), and "rubocop-rails", (>= 2.17
).
- Unset
DisabledByDefault: true
inconfig/default.yml
. Prevents confusing behaviour where users of the gem didn't realise that RuboCop's default cops weren't being applied (including potentially custom cops in their projects). We've explicitly setEnabled: false
for all the cops that were previously default disabled. This has the effect that consumers of this gem won't be surprised by new linting violations when they use this new version in their projects. (#119)