Bump rubocop-rails from 2.14.2 to 2.15.0
Bumps rubocop-rails from 2.14.2 to 2.15.0.
Release notes
Sourced from rubocop-rails's releases.
RuboCop Rails 2.15.0
New features
- #325: Add new
Rails/DotSeparatedKeyscop. (@fatkodima)- #704: Add new
Rails/StripHeredoccop. (@koic)- #691: Add new
Rails/ToFormattedScop. (@koic)- #588: Add new
Rails/RootPublicPathcop. (@leoarnold)- #702: Make
keysmethod aware ofRails/DeprecatedActiveModelErrorsMethodscop. (@koic)- #688: Support autocorrection for
Rails/DeprecatedActiveModelErrorsMethods. (@koic)Bug fixes
- #696: Fix a false negative for
Rails/TransactionExitStatementwhenreturnis used inrescue. (@koic)- #700: Fix a false positive for
Rails/FilePathwhen a list of paths separated by colon including Rails.root. (@tk0miya)- #680: Fix a false positive for
Rails/ReversibleMigrationMethodDefinitionwhen using an inner class. (@koic)- #692: Fix an error for
Rails/UnusedIgnoredColumnswhen using no tables db/schema.rb. (@koic)- #707: Fix an error when a variable is passed to has_many or has_one with double splat. (@nobuyo)
- #695: Fixes a false negative where the
in_rescue?check would bypass situations where the return was inside a transaction but outside of a rescue. (@dorkrawk)- #703: Fix not autocorrected for
Rails/DuplicateAssociation. (@ydah)- #708: Recover Ruby 2.2 code analysis using
TargetRubyVersion: 2.2. (@koic)Changes
Changelog
Sourced from rubocop-rails's changelog.
2.15.0 (2022-06-14)
New features
- #325: Add new
Rails/DotSeparatedKeyscop. (@fatkodima)- #704: Add new
Rails/StripHeredoccop. (@koic)- #691: Add new
Rails/ToFormattedScop. (@koic)- #588: Add new
Rails/RootPublicPathcop. (@leoarnold)- #702: Make
keysmethod aware ofRails/DeprecatedActiveModelErrorsMethodscop. (@koic)- #688: Support autocorrection for
Rails/DeprecatedActiveModelErrorsMethods. (@koic)Bug fixes
- #696: Fix a false negative for
Rails/TransactionExitStatementwhenreturnis used inrescue. (@koic)- #700: Fix a false positive for
Rails/FilePathwhen a list of paths separated by colon including Rails.root. (@tk0miya)- #680: Fix a false positive for
Rails/ReversibleMigrationMethodDefinitionwhen using an inner class. (@koic)- #692: Fix an error for
Rails/UnusedIgnoredColumnswhen using no tables db/schema.rb. (@koic)- #707: Fix an error when a variable is passed to has_many or has_one with double splat. (@nobuyo)
- #695: Fixes a false negative where the
in_rescue?check would bypass situations where the return was inside a transaction but outside of a rescue. (@dorkrawk)- #703: Fix not autocorrected for
Rails/DuplicateAssociation. (@ydah)- #708: Recover Ruby 2.2 code analysis using
TargetRubyVersion: 2.2. (@koic)Changes
Commits
-
0ad4015Cut 2.15.0 -
3ee6104Update Changelog -
e0d2a47Merge pull request #706 from koic/add_new_rails_strip_heredoc_cop -
7c3b098Fix a changelog location -
4403b05Move enforced styles to top in docs -
6d82181Merge pull request #325 from fatkodima/dot_separated_keys-cop -
7529f53Add newRails/DotSeparatedKeyscop -
5fed4f6Add newRails/RootPublicPathcop -
7ecdb88Use the latest rubocop-* gems -
3612dfcFix a build error - Additional commits viewable in compare view