-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore(deps): update dependency rubocop-rails to v2.30.3 #465
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/rubocop-rails-2.x-lockfile
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #465 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 48 48
Lines 670 670
Branches 53 53
=========================================
Hits 670 670 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ed92f8c
to
93830c7
Compare
93830c7
to
efe9fb1
Compare
efe9fb1
to
8dc3b42
Compare
8dc3b42
to
99d527a
Compare
99d527a
to
bacce02
Compare
bacce02
to
b7aec93
Compare
b7aec93
to
0bf007a
Compare
0bf007a
to
c4113fb
Compare
c4113fb
to
86e0a4b
Compare
86e0a4b
to
37c3039
Compare
37c3039
to
7e0e0d3
Compare
7e0e0d3
to
5fbe926
Compare
5fbe926
to
5b4db0b
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
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.25.0
->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][])v2.28.0
Compare Source
New features
AllCops: MigratedSchemaVersion
config. ([@koic][])Bug fixes
Rails/SelectMap
whenselect
has no receiver and method chains are used. ([@masato-bkn][])Rails/RedundantActiveRecordAllMethod
when usingall
method in block. ([@masato-bkn][])Rails/FilePath
cop error onjoin
method with implicit receiver. ([@viralpraxis][])Rails/FilePath
cop error in case of extra operations inRails.root
interpolation. ([@viralpraxis][])Rails/FilePath
cop error with rescuedRails.root
. ([@viralpraxis][])Changes
Rails/Pluck
to ignoremap/collect
when used inside blocks to prevent potential N+1 queries. ([@masato-bkn][])v2.27.0
Compare Source
Bug fixes
Rails/EnumSyntax
when positional arguments are used and options are not passed as keyword arguments. ([@koic][])Rails/TimeZone
should not report offense onString#to_time
with timezone specifier. ([@armandmgt][])Changes
Rails/TransactionExitStatement
on Rails >= 7.2. ([@earlopain][])Rails/EnvLocal
to handle negated conditions. ([@fatkodima][])Rails/SelectMap
to handle safe navigation operators. ([@fatkodima][])v2.26.2
Compare Source
Bug fixes
Rails/EnumSyntax
when using Ruby 2.7. ([@koic][])Rails/ActionControllerFlashBeforeRender
in combination with implicit returns. ([@earlopain][])Rails/FilePath
when passing an array toFile.join
. ([@earlopain][])Changes
filter
inRails/CompactBlank
. ([@masato-bkn][])v2.26.1
Compare Source
Bug fixes
Rails/EnumSyntax
for non-literal mappings. ([@earlopain][])Rails/WhereEquals
,Rails/WhereNot
, andRails/WhereRange
when qualifying the database name. ([@earlopain][])Changes
Rails/ApplicationRecord
to ignore migrations. ([@fatkodima][])Rails/EnumSyntax
to autocorrect underscored options. ([@fatkodima][])v2.26.0
Compare Source
New features
Rails/EnumSyntax
cop. ([@maxprokopiev][], [@koic][])Rails/EnumHash
cop. ([@ytjmt][])Rails/EnumUniqueness
cop. ([@ytjmt][])Bug fixes
Rails/BulkChangeTable
when the block forchange_table
is empty. ([@earlopain][])Rails/RenderPlainText
when the content type is passed as a constant. ([@earlopain][])Rails/Validation
when passing no arguments. ([@earlopain][])Rails/WhereNot
when using placeholder without second argument. ([@earlopain][])Rails/ActionControllerFlashBeforeRender
when using implicit render or rescue blocks. ([@tldn0718][])Rails/CompactBlank
when usingcollection.reject!
. ([@koic][])Rails/RedundantPresenceValidationOnBelongsTo
when removingpresence
would leave other non-validation options likeallow_blank
without validations. ([@earlopain][])Rails/PluralizationGrammar
aware of byte methods. ([@earlopain][])params
receiver by default forStyle/CollectionMethods
. ([@koic][])Rails/WhereEquals
when the second argument is not yet typed (where("foo = ?", )
). ([@earlopain][])Changes
Rails/CompactBlank
to handleselect(&:present?)
. ([@fatkodima][])Rails/IgnoredSkipActionFilterOption
to handle multiple callbacks. ([@fatkodima][])Rails/WhereEquals
aware ofwhere.not(...)
. ([@earlopain][])Rails/RootPathnameMethods
to detect offenses onDir.[]
. ([@r7kamura][])v2.25.1
Compare Source
Bug fixes
Rails/BulkChangeTable
. ([@ccutrer][])Rails/NotNullColumn
when the block forchange_table
is empty. ([@earlopain][])Rails/WhereRange
autocorrect for complex expressions. ([@fatkodima][])Rails/WhereRange
to correctly handle template strings with extra spaces. ([@fatkodima][])Changes
Rails/Validation
. ([@ChaelCodes][])Rails/LinkToBlank
look intolink_to_if
andlink_to_unless
, too. ([@fwolfst][])Rails/SkipsModelValidations
as unsafe. ([@koic][])Rails/WhereRange
as unsafe autocorrect. ([@fatkodima][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.