dep: bump rubocop-rails from 2.16.1 to 2.17.0
Bumps rubocop-rails from 2.16.1 to 2.17.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.17.0
New features
- #547: Add new
Rails/ActionOrder
cop. (@mollerhoj
)- #565: Add cop Rails/WhereNotWithMultipleConditions. (
@niklas-hasselmeyer
)- #771: Add new
Rails/IgnoredColumnsAssignment
cop. (@fsateler
,@kkitadate
)- #790: Make
Style/HashExcept
aware of TargetRubyVersion: 2.x because Rails hasHash#except
. (@koic
)Bug fixes
- #786: Fix a false negative for
Rails/ActionControllerTestCase
when extendingActionController::TestCase
and having a method definition. (@koic
)- #792: Fix a false negative for
Rails/RedundantPresenceValidationOnBelongsTo
when belongs_to at least one block and one hash likebelongs_to :company, -> { where(foo: true) }, inverse_of: :employee
. (@PedroAugustoRamalhoDuarte
)- #781: Make
Rails/DynamicFindBy
aware offind_by_token_for
. (@koic
)- #809: Fix an error for
Rails/FreezeTime
when usingtravel_to
without argument. (@koic
)- #794: Fix an error for
Rails/RedundantReceiverInWithOptions
when calling a method with a receiver inwith_options
without block arguments. (@koic
)- #782: Fix an incorrect autocorrect for
Rails/EagerEvaluationLogMessage
when usingStyle/MethodCallWithArgsParentheses
's autocorrection together. (@koic
)- #776: Fix an incorrect autocorrect for
Rails/Presence
when using arithmetic operation inelse
branch. (@koic
)- #813: Fix errors that occur when unrelated
tag
is investigated byRails/ContentTag
. (@r7kamura
)- #808: Fix false positive for
Rails/ActionControllerFlashBeforeRender
whenrender
call precedesflash
call. (@americodls
)- #778: Fix a false positive for
Rails/DynamicFindBy
when usingpage.find_by_id
as a Capybara testing API. (@koic
)- #816: Fix an incorrect autocorrect for
Rails/Presence
when a right-hand side of the relational operator. (@ydah
)Changes
- #779: Add
AllowedMethods
ofStyle/SymbolProc
. (@koic
)- #796: Add several directories to
Exclude
to prevent slow investigation. (@koic
)- #822: Extends
Rails/HttpStatus
cop to checkroutes.rb
. (@anthony-robin
)- #787: Make
Rails/Pluck
aware of all keys. (@koic
)- #800: Make
Rails/TimeZone
aware of timezone UTF offset. (@inkstak
)
Changelog
Sourced from rubocop-rails's changelog.
2.17.0 (2022-10-22)
New features
- #547: Add new
Rails/ActionOrder
cop. ([@mollerhoj
][])- #565: Add cop Rails/WhereNotWithMultipleConditions. ([
@niklas-hasselmeyer
][])- #771: Add new
Rails/IgnoredColumnsAssignment
cop. ([@fsateler
][], [@kkitadate
][])- #790: Make
Style/HashExcept
aware of TargetRubyVersion: 2.x because Rails hasHash#except
. ([@koic
][])Bug fixes
- #786: Fix a false negative for
Rails/ActionControllerTestCase
when extendingActionController::TestCase
and having a method definition. ([@koic
][])- #792: Fix a false negative for
Rails/RedundantPresenceValidationOnBelongsTo
when belongs_to at least one block and one hash likebelongs_to :company, -> { where(foo: true) }, inverse_of: :employee
. ([@PedroAugustoRamalhoDuarte
][])- #781: Make
Rails/DynamicFindBy
aware offind_by_token_for
. ([@koic
][])- #809: Fix an error for
Rails/FreezeTime
when usingtravel_to
without argument. ([@koic
][])- #794: Fix an error for
Rails/RedundantReceiverInWithOptions
when calling a method with a receiver inwith_options
without block arguments. ([@koic
][])- #782: Fix an incorrect autocorrect for
Rails/EagerEvaluationLogMessage
when usingStyle/MethodCallWithArgsParentheses
's autocorrection together. ([@koic
][])- #776: Fix an incorrect autocorrect for
Rails/Presence
when using arithmetic operation inelse
branch. ([@koic
][])- #813: Fix errors that occur when unrelated
tag
is investigated byRails/ContentTag
. ([@r7kamura
][])- #808: Fix false positive for
Rails/ActionControllerFlashBeforeRender
whenrender
call precedesflash
call. ([@americodls
][])- #778: Fix a false positive for
Rails/DynamicFindBy
when usingpage.find_by_id
as a Capybara testing API. ([@koic
][])- #816: Fix an incorrect autocorrect for
Rails/Presence
when a right-hand side of the relational operator. ([@ydah
][])Changes
- #779: Add
AllowedMethods
ofStyle/SymbolProc
. ([@koic
][])- #796: Add several directories to
Exclude
to prevent slow investigation. ([@koic
][])- #822: Extends
Rails/HttpStatus
cop to checkroutes.rb
. ([@anthony-robin
][])- #787: Make
Rails/Pluck
aware of all keys. ([@koic
][])- #800: Make
Rails/TimeZone
aware of timezone UTF offset. ([@inkstak
][])
Commits
-
177c92f
Cut 2.17.0 -
1cb96f9
Update Changelog -
e40d8b9
Merge pull request #823 from anthony-robin/http-status-routes -
1dcbda1
[Fix #822] ExtendsRails/HttpStatus
cop to checkroutes.rb
-
6051ed8
Merge pull request #806 from koic/add_mail_to_allowed_methods_of_style_symbol... -
25d9dfb
Merge pull request #816 from ydah/fix/presence -
4b6362e
Fix an incorrect autocorrect forRails/Presence
when a right-hand side of t... -
7a434e4
Tweak an changelog forRails/SetIgnoredColumns
-
d7db4d1
Merge pull request #817 from ydah/change/presence -
43fa456
Preserve multiline semantics onRails/Presence
- Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
@dependabot-bot rebase
will rebase this MR -
@dependabot-bot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts
Allure report
allure-report-publisher
generated test report!
rspec:
+------------------------------------------------------------------+
| behaviors summary |
+-------------+--------+--------+---------+-------+-------+--------+
| | passed | failed | skipped | flaky | total | result |
+-------------+--------+--------+---------+-------+-------+--------+
| services | 180 | 0 | 0 | 0 | 180 | ✅ |
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 242 | 0 | 0 | 0 | 242 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov