-
Notifications
You must be signed in to change notification settings - Fork 39
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
Update dependency rubocop-rails to '~> 2.30', '>= 2.30.3' #1636
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead. |
72a0466
to
137243b
Compare
137243b
to
8952885
Compare
8952885
to
ce42acb
Compare
f3a34aa
to
21ff6b0
Compare
647b1d9
to
9c90123
Compare
9c90123
to
ea74622
Compare
ea74622
to
7fd27da
Compare
9a6a845
to
cb517cf
Compare
cb517cf
to
e283134
Compare
21be56c
to
33cc7c5
Compare
33cc7c5
to
c81194d
Compare
c81194d
to
a664703
Compare
rien
approved these changes
Mar 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
'~> 2.26', '>= 2.26.2'
->'~> 2.30', '>= 2.30.3'
Release Notes
rubocop/rubocop-rails (rubocop-rails)
v2.30.3
Compare Source
Bug fixes
Rails/RelativeDateConstant
when assigning a lambda/proc with numblock. ([@earlopain][])Rails/ReversibleMigration
indrop_table
with numblock. ([@earlopain][])Rails/CreateTableWithTimestamps
with numblocks. ([@earlopain][])Rails/UniqBeforePluck
when using a numblock withuniq
. ([@earlopain][])Rails/SaveBang
aware of numblocks. ([@earlopain][])Rails/TransactionExitStatement
aware of numblocks. ([@earlopain][])Changes
Rails/ReflectionClassName
: Accept method calls on local variables. ([@exterm][])Lint/UselessAccessModifier
aware ofActiveSupport::Concern
andModule#concerning
/Module#concern
core extensions. ([@earlopain][])Rails/Delegate
for controllers. ([@earlopain][])v2.30.2
Compare Source
Bug fixes
Rails/LexicallyScopedActionFilter
when action methods are delegated. ([@vlad-pisanov][])Rails/Delegate
whenmodule_function
is used. ([@ydakuka][])Rails/UniqBeforePluck
whenpluck
andunique
are on different lines. ([@earlopain][])v2.30.1
Compare Source
Bug fixes
AllCops: TargetRailsVersion
. ([@koic][])AllCops: MigratedSchemaVersion
. ([@koic][])v2.30.0
Compare Source
New features
Bug fixes
Rails/FilePath
cop to correctly handleFile.join
with variables and ignore leading and multiple slashes in string literal arguments forRails.root.join
andFile.join
. ([@ydakuka][])Rails/Delegate
by adding delegation detection forself.class
, constants, class variables, global variables, and instance variables. ([@ydakuka][])v2.29.1
Compare Source
Bug fixes
Rails/StrongParametersExpect
when usingpermit
with no arguments. ([@koic][])Rails/StrongParametersExpect
when using a leading dot multiline call torequire
withpermit
. ([@koic][])Rails/DuplicateAssociation
to handle alias. ([@ydakuka][])TypeError
caused by passing array literals as arguments toFile
methods inRails/FilePath
cop. ([@ydakuka][])TypeError
caused by passing array literals as arguments toFile
methods inRails/RootPathnameMethods
cop. ([@ydakuka][])Rails/SaveBang
to properly handle instance variables. ([@ydakuka][])v2.29.0
Compare Source
New features
Rails/MultipleRoutePaths
cop. ([@koic][])Rails/StrongParametersExpect
cop. ([@koic][])Bug fixes
Rails/ReversibleMigration
when callingdrop_table
without any arguments. ([@earlopain][])Rails/TimeZone
when Time.new has a string argument. ([@mterada1228][])Rails/IndexBy
andRails/IndexWith
whenmap { ... }.to_h
is enclosed in another block. ([@franzliedke][], [@eugeneius][])Rails/IndexBy
andRails/IndexWith
to support numbered block parameters. ([@eugeneius][])Rails/IndexWith
when the value is a hash literal without braces. ([@koic][], [@eugeneius][])Rails/HttpPositionalArguments
cop false positives with arguments forwarding. ([@viralpraxis][])Changes
AllCops: MigratedSchemaVersion
. ([@koic][])Configuration
📅 Schedule: Branch creation - "after 13:00 on monday" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.