fix(deps): update ruby packages
This MR contains the following updates:
Package | Update | Change |
---|---|---|
rails (source, changelog) | patch |
7.0.5.1 -> 7.0.6
|
rubocop (source, changelog) | minor |
1.52.1 -> 1.54.1
|
Release Notes
rails/rails (rails)
v7.0.6
: 7.0.6
Active Support
-
Fix
EncryptedConfiguration
returning incorrect values for someHash
methodsHartley McGuire
-
Fix arguments being destructed
Enumerable#many?
with block.Andrew Novoselac
-
Fix humanize for strings ending with id.
fatkodima
Active Model
- No changes.
Active Record
-
Fix autosave associations with validations added on
:base
of the associated objects.fatkodima
-
Fix result with anonymous PostgreSQL columns of different type from json.
Oleksandr Avoiants
-
Preserve timestamp when setting an
ActiveSupport::TimeWithZone
value totimestamptz
attribute.fatkodima
-
Fix where on association with has_one/has_many polymorphic relations.
Before:
Treasure.where(price_estimates: PriceEstimate.all) #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates")
Later:
Treasure.where(price_estimates: PriceEstimate.all) #=> SELECT (...) WHERE "treasures"."id" IN (SELECT "price_estimates"."estimate_of_id" FROM "price_estimates" WHERE "price_estimates"."estimate_of_type" = 'Treasure')
Lázaro Nixon
-
Fix decrementing counter caches on optimistically locked record deletion
fatkodima
-
Ensure binary-destined values have binary encoding during type cast.
Matthew Draper
-
Preserve existing column default functions when altering table in SQLite.
fatkodima
-
Remove table alias added when using
where.missing
orwhere.associated
.fatkodima
-
Fix
Enumerable#in_order_of
to only flatten first level to preserve nesting.Miha Rekar
Action View
- No changes.
Action Pack
- No changes.
Active Job
-
Fix error Active Job passed class with
permitted?
.Alex Baldwin
Action Mailer
- No changes.
Action Cable
-
Fix Action Cable Redis configuration with sentinels.
Dmitriy Ivliev
Active Storage
-
Fix retrieving rotation value from FFmpeg on version 5.0+.
In FFmpeg version 5.0+ the rotation value has been removed from tags. Instead the value can be found in side_data_list. Along with this update it's possible to have values of -90, -270 to denote the video has been rotated.
Haroon Ahmed
Action Mailbox
- No changes.
Action Text
- No changes.
Railties
-
Avoid escaping paths when editing credentials.
Jonathan Hefner
rubocop/rubocop (rubocop)
v1.54.1
Bug fixes
- #12024](https://github.com/rubocop/rubocop/issues/12024): Fix a false positive for
Lint/RedundantRegexpQuantifiers
when interpolation is used in a regexp literal. ([@koic][]) - #12020](https://github.com/rubocop/rubocop/issues/12020): This MR fixes an infinite loop error for
Layout/SpaceAfterComma
withLayout/SpaceBeforeSemicolon
when autocorrection conflicts. ([@koic][]) - #12014](https://github.com/rubocop/rubocop/pull/12014): Fix an error for
Lint/UselessAssignment
when part of a multiple assignment is enclosed in parentheses. ([@koic][]) - #12011](https://github.com/rubocop/rubocop/pull/12011): Fix an error for
Metrics/MethodLength
when using a heredoc in a block without block arguments. ([@koic][]) - #12010](https://github.com/rubocop/rubocop/pull/12010): Fix false negatives for
Style/RedundantRegexpArgument
when using safe navigation operator. ([@koic][])
v1.54.0
New features
- #12000](https://github.com/rubocop/rubocop/pull/12000): Support safe or unsafe autocorrect config for LSP. ([@koic][])
Bug fixes
- #12005](https://github.com/rubocop/rubocop/issues/12005): Fix a false negative for
Lint/Debugger
when using debugger method inside lambda. ([@koic][]) - #11986](https://github.com/rubocop/rubocop/issues/11986): Fix a false positive for
Lint/MixedCaseRange
when the number of characters at the start or end of range is other than 1. ([@koic][]) - #11992](https://github.com/rubocop/rubocop/issues/11992): Fix an unexpected
NoMethodError
for built-in language server when an internal error occurs. ([@koic][]) - #11994](https://github.com/rubocop/rubocop/issues/11994): Fix an error for
Layout/LineEndStringConcatenationIndentation
when inspecting the%
from string%\n\n
. ([@koic][]) - #12007](https://github.com/rubocop/rubocop/issues/12007): Fix an error for
Layout/SpaceAroundOperators
when using unary operator with double colon. ([@koic][]) - #11996](https://github.com/rubocop/rubocop/issues/11996): Fix an error for
Style/IfWithSemicolon
when without branch bodies. ([@koic][]) - #12009](https://github.com/rubocop/rubocop/pull/12009): Fix an error for
Style/YodaCondition
when equality check method is used without the first argument. ([@koic][]) - #11998](https://github.com/rubocop/rubocop/issues/11998): Fix an error when inspecting blank heredoc delimiter. ([@koic][])
- #11989](https://github.com/rubocop/rubocop/issues/11989): Fix an incorrect autocorrect for
Style/RedundantRegexpArgument
when using unicode chars. ([@koic][]) - #12001](https://github.com/rubocop/rubocop/issues/12001): Fix code length calculator for method calls with heredoc. ([@fatkodima][])
- #12002](https://github.com/rubocop/rubocop/pull/12002): Fix
Lint/Void
cop for__ENCODING__
constant. ([@fatkodima][])
Changes
- #11983](https://github.com/rubocop/rubocop/pull/11983): Add Ridgepole files to default
Include
list. ([@ydah][]) - #11738](https://github.com/rubocop/rubocop/issues/11738): Enhances empty_line_between_defs to treat configured macros like defs. ([@catwomey][])
v1.53.1
Bug fixes
- #11974](https://github.com/rubocop/rubocop/issues/11974): Fix an error for
Style/RedundantCurrentDirectoryInPath
when using string interpolation inrequire_relative
. ([@koic][]) - #11981](https://github.com/rubocop/rubocop/issues/11981): Fix an incorrect autocorrect for
Style/RedundantRegexpArgument
when using double quote and single quote characters. ([@koic][]) - #11836](https://github.com/rubocop/rubocop/issues/11836): Should not offense single-quoted symbol containing double quotes in
Lint/SymbolConversion
. ([@KessaPassa][])
v1.53.0
New features
- #11561](https://github.com/rubocop/rubocop/pull/11561): Add new
Lint/MixedCaseRange
cop. ([@rwstauner][]) - #11565](https://github.com/rubocop/rubocop/pull/11565): Add new
Lint/RedundantRegexpQuantifiers
cop. ([@jaynetics][]) - #11925](https://github.com/rubocop/rubocop/issues/11925): Add new
Style/RedundantCurrentDirectoryInPath
cop. ([@koic][]) - #11595](https://github.com/rubocop/rubocop/pull/11595): Add new
Style/RedundantRegexpArgument
cop. ([@koic][]) - #11967](https://github.com/rubocop/rubocop/pull/11967): Add new
Style/ReturnNilInPredicateMethodDefinition
cop. ([@koic][]) - #11745](https://github.com/rubocop/rubocop/pull/11745): Add new
Style/YAMLFileRead
cop. ([@koic][]) - #11926](https://github.com/rubocop/rubocop/pull/11926): Support built-in LSP server. ([@koic][])
Bug fixes
- #11953](https://github.com/rubocop/rubocop/issues/11953): Fix a false negative for
Lint/DuplicateHashKey
when there is a duplicated constant key in the hash literal. ([@koic][]) - #11945](https://github.com/rubocop/rubocop/issues/11945): Fix a false negative for
Style/RedundantSelfAssignmentBranch
when using method chaining or arguments in ternary branch. ([@koic][]) - #11949](https://github.com/rubocop/rubocop/issues/11949): Fix a false positive for
Layout/RedundantLineBreak
when using a line broken string. ([@koic][]) - #11931](https://github.com/rubocop/rubocop/pull/11931): Fix a false positive for
Lint/RedundantRequireStatement
when usingPP.pp
. ([@koic][]) - #11946](https://github.com/rubocop/rubocop/pull/11946): Fix an error for
Lint/NumberConversion
when using multiple number conversion methods. ([@koic][]) - #11972](https://github.com/rubocop/rubocop/issues/11972): Fix an error for
Lint/Void
whenCheckForMethodsWithNoSideEffects: true
and using a method definition. ([@koic][]) - #11958](https://github.com/rubocop/rubocop/pull/11958): Fix error for
Style/IdenticalConditionalBranches
when using empty parentheses in theif
branch. ([@koic][]) - #11962](https://github.com/rubocop/rubocop/issues/11962): Fix an error for
Style/RedundantStringEscape
when an escaped double quote precedes interpolation in a symbol literal. ([@koic][]) - #11947](https://github.com/rubocop/rubocop/issues/11947): Fix an error for
Style/ConditionalAssignment
with an assignment that usesif
branch bodies, which include a block. ([@koic][]) - #11959](https://github.com/rubocop/rubocop/pull/11959): Fix false negatives for
Layout/EmptyLinesAroundExceptionHandlingKeywords
when using Ruby 2.5'srescue
inside block and Ruby 2.7's numbered block. ([@koic][]) - #10902](https://github.com/rubocop/rubocop/issues/10902): Fix an error for
Style/RedundantRegexpEscape
string with invalid byte sequence in UTF-8. ([@ydah][]) - #11562](https://github.com/rubocop/rubocop/pull/11562): Fixed escaped octal handling and detection in
Lint/DuplicateRegexpCharacterClassElement
. ([@rwstauner][])
Changes
- #11904](https://github.com/rubocop/rubocop/pull/11904): Mark
Layout/ClassStructure
as unsafe to autocorrect. ([@nevans][]) - #8506](https://github.com/rubocop/rubocop/issues/8506): Add
AllowedParentClasses
config toLint/MissingSuper
. ([@iMacTia][])
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.