-
Notifications
You must be signed in to change notification settings - Fork 1
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 v2.28.0 #332
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/rubocop-rails-2.x-lockfile
base: main
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
renovate
bot
changed the title
Update dependency rubocop-rails to v2.21.0
Update dependency rubocop-rails to v2.21.1
Sep 14, 2023
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
September 14, 2023 08:34
cfb67a0
to
266089e
Compare
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
September 30, 2023 07:03
266089e
to
90b4383
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.21.1
Update dependency rubocop-rails to v2.21.2
Sep 30, 2023
renovate
bot
changed the title
Update dependency rubocop-rails to v2.21.2
Update dependency rubocop-rails to v2.22.0
Oct 27, 2023
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
2 times, most recently
from
October 28, 2023 07:46
8eef719
to
273ddca
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.22.0
Update dependency rubocop-rails to v2.22.1
Oct 28, 2023
renovate
bot
changed the title
Update dependency rubocop-rails to v2.22.1
Update dependency rubocop-rails to v2.22.2
Nov 19, 2023
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
November 19, 2023 10:34
273ddca
to
1f2ab00
Compare
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
December 16, 2023 04:25
1f2ab00
to
88577e7
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.22.2
Update dependency rubocop-rails to v2.23.0
Dec 16, 2023
renovate
bot
changed the title
Update dependency rubocop-rails to v2.23.0
Update dependency rubocop-rails to v2.23.1
Dec 25, 2023
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
December 25, 2023 04:15
88577e7
to
39edfec
Compare
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
March 3, 2024 10:06
39edfec
to
ba74f00
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.23.1
Update dependency rubocop-rails to v2.24.0
Mar 3, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
March 25, 2024 05:04
ba74f00
to
afd661d
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.24.0
Update dependency rubocop-rails to v2.24.1
Mar 25, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
May 17, 2024 10:13
afd661d
to
6b8e8d2
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.24.1
Update dependency rubocop-rails to v2.25.0
May 17, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
June 29, 2024 16:38
6b8e8d2
to
d96e7f7
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.25.0
Update dependency rubocop-rails to v2.25.1
Jun 29, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
August 24, 2024 11:17
d96e7f7
to
0196230
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.25.1
Update dependency rubocop-rails to v2.26.0
Aug 24, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
September 7, 2024 09:02
0196230
to
4ebcd49
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.26.0
Update dependency rubocop-rails to v2.26.1
Sep 7, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
September 21, 2024 07:11
4ebcd49
to
02a6849
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.26.1
Update dependency rubocop-rails to v2.26.2
Sep 21, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
October 26, 2024 10:56
02a6849
to
058470e
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.26.2
Update dependency rubocop-rails to v2.27.0
Oct 26, 2024
renovate
bot
force-pushed
the
renovate/rubocop-rails-2.x-lockfile
branch
from
December 25, 2024 09:59
058470e
to
326599d
Compare
renovate
bot
changed the title
Update dependency rubocop-rails to v2.27.0
Update dependency rubocop-rails to v2.28.0
Dec 25, 2024
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.20.1
->2.28.0
Release Notes
rubocop/rubocop-rails (rubocop-rails)
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][])v2.25.0
Compare Source
New features
Rails/WhereRange
cop. ([@fatkodima][])Bug fixes
Rails/Validation
when usingvalidates_size_of
. ([@koic][])Rails/SkipsModelValidations
when usinginsert
orinsert!
with a safe navigator. ([@tldn0718][])Rails/UnknownEnv
when using Rails 7.1. ([@lukasfroehlich1][])Changes
Rails/UnusedIgnoredColumns
by default. ([@earlopain][])change_table
calls for offenses. ([@ccutrer][])Rails/HttpStatus
aware of Rails-specific response assertions. ([@tldn0718][])TargetRailsVersion
the newrequires_gem
API. ([@amomchilov][])v2.24.1
Compare Source
Bug fixes
Rails/ActionControllerFlashBeforeRender
when returningredirect_to
. ([@earlopain][])Rails/UniqBeforePluck
withEnforcedStyle: aggressive
when no receiver. ([@earlopain][])Rails/UnusedIgnoredColumns
when without tables in db/schema.rb. ([@koic][])Rails/WhereMissing
with leadingwhere
without receiver. ([@earlopain][])Rails/ExpandedDateRange
when passing an argument only to the first method call for weeks. ([@earlopain][])Rails/ActiveSupportOnLoad
when calling without arguments. ([@earlopain][])Rails/SaveBang
ifpersisted?
is checked on parenthesised expression. ([@earlopain][])Rails/TimeZone
aware of safe navigation. ([@earlopain][])Changes
active_record_sqlite3adapter
toRails/ActiveSupportOnLoad
. ([@earlopain][])v2.24.0
Compare Source
New features
Bug fixes
Rails/FindBy
when using multi-line leading dot method calls. ([@ymap][])Rails/WhereExists
withEnforcedStyle: where
and implicit receivers. ([@earlopain][])Changes
Rails/EnvironmentVariableAccess
aware of initializers. ([@markokajzer][])object_id
fromRails/DangerousColumnNames
targets. ([@r7kamura][])v2.23.1
Compare Source
Bug fixes
Rails/WhereNot
when calling.where
on an implicit receiver (e.g. inside model code). ([@bquorning][])v2.23.0
Compare Source
New features
Bug fixes
Rails/WhereMissing
where join method is called without arguments. ([@fatkodima][])Rails/Pluck
when using safe navigation method calls. ([@koic][])Rails/ActiveSupportAliases
,Rails/FindBy
,Rails/FindById
,Rails/Inquiry
,Rails/Pick
Rails/PluckId
,Rails/PluckInWhere
,Rails/WhereEquals
,Rails/WhereExists
, andRails/WhereNot
cops aware of safe navigation operator. ([@koic][])Changes
Rails/PluckInWhere
to check for.ids
call. ([@fatkodima][])Nokogiri::HTML.parse
andNokogiri::HTML5.parse
onRails/ResponseParsedBody
. ([@r7kamura][])where.not
forRails/PluckInWhere
. ([@fatkodima][])v2.22.2
Compare Source
Bug fixes
Rails/UnknownEnv
when using Rails 7.1. ([@koic][])Rails/RedundantActiveRecordAllMethod
cop when used with RuboCop 1.51 or lower. ([@koic][])Changes
Rails/RedundantActiveRecordAllMethod
to ignoredelete_all
anddestroy_all
when receiver is an association. ([@masato-bkn][])v2.22.1
Compare Source
Bug fixes
Rails/DuplicateAssociation
when using duplicatebelongs_to
associations of same class without other arguments. ([@koic][])v2.22.0
Compare Source
New features
Rails/EnvLocal
cop. ([@sambostock][])Rails/DuplicateAssociation
aware of duplicateclass_name
. ([@koic][])Rails/RedundantActiveRecordAllMethod
. ([@koic][])Bug fixes
Rails/NotNullColumn
when usingnull: false
for MySQL's TEXT type. ([@koic][])Rails/Output
when output method is called with block argument. ([@koic][])Rails/RedundantActiveRecordAllMethod
when using RuboCop 1.51 or lower. ([@koic][])Rails/RedundantPresenceValidationOnBelongsTo
when usingvalidates
with:if
or:unless
options. ([@koic][])Rails/HasManyOrHasOneDependent
does not add offence when has_many or has_one is called on an explicit receiver. ([@samrjenkins][])Rails/SaveBang
to ignore parenthesis. ([@fatkodima][])Changes
Rails/DangerousColumnNames
. ([@r7kamura][])Rails/ActionFilter
cop; it will be disabled by default. ([@koic][])local
as an environment forRails/UnknownEnv
from Rails 7.1 onward. ([@ghiculescu][])v2.21.2
Compare Source
Bug fixes
Rails/RedundantActiveRecordAllMethod
when using someEnumerable
's methods with block argument. ([@koic][])Rails/SelectMap
when usingselect(:column_name).map(&:column_name)
without receiver model. ([@koic][])Rails/RedundantActiveRecordAllMethod
whenall
has parentheses. ([@masato-bkn][])Rails/UniqueValidationWithoutIndex
with bare validate. ([@jamiemccarthy][])Rails/RedundantActiveRecordAllMethod
when receiver is not an Active Record model. ([@koic][])v2.21.1
Compare Source
Bug fixes
Rails/TimeZone
when usingString#to_time
. ([@koic][])Rails/RedundantActiveRecordAllMethod
whenall
is an argument for AR methods. ([@masato-bkn][])Rails/RedundantActiveRecordAllMethod
whenall
has any parameters. ([@masato-bkn][])v2.21.0
Compare Source
New features
Rails/SelectMap
cop that checks for uses ofselect(:column_name)
withmap(&:column_name)
. ([@koic][])Rails/DangerousColumnNames
cop. ([@r7kamura][])TransactionMethods
config forRails/TransactionExitStatement
to detect custom transaction methods. ([@marocchino][])Rails/UnusedRenderContent
cop. ([@samrjenkins][])Rails/I18nLazyLookup
. ([@sunny][])Rails/RedundantActiveRecordAllMethod
cop. ([@masato-bkn][])Bug fixes
Rails/LexicallyScopedActionFilter
when no methods are defined. ([@vlad-pisanov][])Rails/HttpStatus
when using symbolic value that have no numeric value mapping. ([@koic][])Rails/RootPathnameMethods
on Ruby 2.4 or lower. ([@r7kamura][])Rails/FilePath
when string interpolatedRails.root
is followed by a message starting with.
. ([@koic][])Rails/FilePath
when File.join with Rails.root and path starting with/
. ([@ydah][])Rails/NegateInclude
when usingStyle/InverseMethods
's autocorrection together. ([@koic][])Rails/RakeEnvironment
when rake task accepts arguments. ([@fastjames][])UniqueValidationWithoutIndex
whendb/schema.rb
is empty. ([@fatkodima][])Rails/SchemaComment
when create_table with multi t columns. ([@nipe0324][])Changes
Lint/SafeNavigationChain
allowpresence_in
. ([@koic][])Rails/HttpStatus
aware of string number status. ([@r7kamura][])Rails/TimeZone
aware ofString#to_time
. ([@koic][])Style/InvertibleUnlessCondition
aware of Active Support methods. ([@koic][])Rails/BulkChangeTable
from environment variable. ([@joergschiller][])Include
path forRails/FindBy
andRails/FindEach
. ([@koic][])v2.20.2
Compare Source
Bug fixes
Rails/UniqueValidationWithoutIndex
when thepresence: true
option is used alone for thevalidates
method. ([@koic][])Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.