dep: bump rubocop-rails from 2.15.2 to 2.16.0
Bumps rubocop-rails from 2.15.2 to 2.16.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.16.0
New features
- #714: Add new
Rails/FreezeTime
cop. (@ydah
)- #744: Add new
Rails/WhereMissing
cop. (@ydah
)- #587: Add new
Rails/RootPathnameMethods
cop. (@leoarnold
)- #752: Add
Rails/TopLevelHashWithIndifferentAccess
cop. (@r7kamura
)- #759: Add new
Rails/ActionControllerFlashBeforeRender
cop. (@americodls
)- #749: Add new
Rails/ActiveSupportOnLoad
cop. (@bdewater
)- #747: Add
Rails/ToSWithArgument
cop. (@r7kamura
)- #746: Enable
ActiveSupportExtensionsEnabled
option by default. (@koic
)Bug fixes
- #757: Fix a false positive for
Rails/ReflectionClassName
when using Ruby 3.1's hash shorthand syntax. (@koic
)- #741: Fix a bad autocorrection for
errors.details[:name] << value
in Rails/DeprecatedActiveModelErrorsMethods. (@BrianHawley
)- #742: Rails/DeprecatedActiveModelErrorsMethods was missing the deprecated
values
,to_h
, andto_xml
methods. (@BrianHawley
)- #740: Fix a NoMethodError on nil for
errors.keys
in a model in Rails/DeprecatedActiveModelErrorsMethods. (@BrianHawley
)- #753: Fix
Rails/CompactBlank
bug when offense is found in block. (@r7kamura
)- #756: Fix incorrect documentation URLs when using
rubocop --show-docs-url
. (@r7kamura
)- #754: Make
Rails/RedundantReceiverInWithOptions
andRails/ReversibleMigration
cops aware of numbered block parameter. (@koic
)Changes
Changelog
Sourced from rubocop-rails's changelog.
2.16.0 (2022-09-09)
New features
- #714: Add new
Rails/FreezeTime
cop. ([@ydah
][])- #744: Add new
Rails/WhereMissing
cop. ([@ydah
][])- #587: Add new
Rails/RootPathnameMethods
cop. ([@leoarnold
][])- #752: Add
Rails/TopLevelHashWithIndifferentAccess
cop. ([@r7kamura
][])- #759: Add new
Rails/ActionControllerFlashBeforeRender
cop. ([@americodls
][])- #749: Add new
Rails/ActiveSupportOnLoad
cop. ([@bdewater
][])- #747: Add
Rails/ToSWithArgument
cop. ([@r7kamura
][])- #746: Enable
ActiveSupportExtensionsEnabled
option by default. ([@koic
][])Bug fixes
- #757: Fix a false positive for
Rails/ReflectionClassName
when using Ruby 3.1's hash shorthand syntax. ([@koic
][])- #741: Fix a bad autocorrection for
errors.details[:name] << value
in Rails/DeprecatedActiveModelErrorsMethods. ([@BrianHawley
][])- #742: Rails/DeprecatedActiveModelErrorsMethods was missing the deprecated
values
,to_h
, andto_xml
methods. ([@BrianHawley
][])- #740: Fix a NoMethodError on nil for
errors.keys
in a model in Rails/DeprecatedActiveModelErrorsMethods. ([@BrianHawley
][])- #753: Fix
Rails/CompactBlank
bug when offense is found in block. ([@r7kamura
][])- #756: Fix incorrect documentation URLs when using
rubocop --show-docs-url
. ([@r7kamura
][])- #754: Make
Rails/RedundantReceiverInWithOptions
andRails/ReversibleMigration
cops aware of numbered block parameter. ([@koic
][])Changes
Commits
-
10e57c3
Cut 2.16.0 -
50792ea
Update Changelog -
91cd6bb
Merge pull request #749 from bdewater/active-support-on-load -
32b9839
Add new Rails/ActiveSupportOnLoad cop. -
7470bf2
Merge pull request #758 from koic/fix_a_false_positive_for_rails_reflection_c... -
931e9b2
[Doc] Remove an obsolete contributing method -
d4164a2
UseDir#[]
instead ofgit
command for gemspec -
bf55de4
Merge pull request #759 from americodls/flash-before-render -
9414eb9
Usecimg/ruby
instead of deprecatedcircleci/ruby
image -
469025e
AddRails/ActionControllerFlashBeforeRender
cop - 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 | 174 | 0 | 0 | 0 | 174 | ✅ |
| controllers | 25 | 0 | 0 | 0 | 25 | ✅ |
| jobs | 14 | 0 | 0 | 0 | 14 | ✅ |
| system | 10 | 0 | 0 | 0 | 10 | ✅ |
| models | 4 | 0 | 0 | 0 | 4 | ✅ |
| tasks | 9 | 0 | 0 | 0 | 9 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
| Total | 236 | 0 | 0 | 0 | 236 | ✅ |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov