Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 14, 2022

Bumps rubocop-rails from 2.10.1 to 2.15.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.15.0

New features

Bug fixes

  • #696: Fix a false negative for Rails/TransactionExitStatement when return is used in rescue. (@​koic)
  • #700: Fix a false positive for Rails/FilePath when a list of paths separated by colon including Rails.root. (@​tk0miya)
  • #680: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using an inner class. (@​koic)
  • #692: Fix an error for Rails/UnusedIgnoredColumns when 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

  • #697: (Compatibility) Drop Ruby 2.5 support. (@​koic)
  • #705: Add mailers to default filter/action callbacks cops. (@​ojab)
  • #710: Rails/TransactionExitStatement - Inspect ActiveRecord::Locking::Pessimistic#with_lock too, as #with_lock opens a transaction. (@​FunnyHector)

RuboCop Rails 2.14.2

Bug fixes

  • #660: Fix a false positive for Rails/MigrationClassName when defining another class. (@​koic)
  • #664: Fix a false positive for Rails/MigrationClassName when ActiveSupport::Inflector is applied to the class name and the case is different. (@​koic)
  • #658: Fix a false positive for Rails/TransactionExitStatement when break is used in loop in transactions. (@​koic)
  • #666: Fix an error for Rails/TransactionExitStatement when transaction block is empty. (@​koic)
  • #673: Fix a false negative for Rails/TransactionExitStatement when return or throw is used in a block in transactions. (@​Tietew)
  • #669: Fix a false positive for Rails/TransactionExitStatement when return is used in rescue. (@​koic)

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.15.0 (2022-06-14)

New features

  • #325: Add new Rails/DotSeparatedKeys cop. ([@​fatkodima][])
  • #704: Add new Rails/StripHeredoc cop. ([@​koic][])
  • #691: Add new Rails/ToFormattedS cop. ([@​koic][])
  • #588: Add new Rails/RootPublicPath cop. ([@​leoarnold][])
  • #702: Make keys method aware of Rails/DeprecatedActiveModelErrorsMethods cop. ([@​koic][])
  • #688: Support autocorrection for Rails/DeprecatedActiveModelErrorsMethods. ([@​koic][])

Bug fixes

  • #696: Fix a false negative for Rails/TransactionExitStatement when return is used in rescue. ([@​koic][])
  • #700: Fix a false positive for Rails/FilePath when a list of paths separated by colon including Rails.root. ([@​tk0miya][])
  • #680: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using an inner class. ([@​koic][])
  • #692: Fix an error for Rails/UnusedIgnoredColumns when 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

  • #697: (Compatibility) Drop Ruby 2.5 support. ([@​koic][])
  • #705: Add mailers to default filter/action callbacks cops. ([@​ojab][])
  • #710: Rails/TransactionExitStatement - Inspect ActiveRecord::Locking::Pessimistic#with_lock too, as #with_lock opens a transaction. ([@​FunnyHector][])

2.14.2 (2022-03-18)

Bug fixes

  • #660: Fix a false positive for Rails/MigrationClassName when defining another class. ([@​koic][])
  • #664: Fix a false positive for Rails/MigrationClassName when ActiveSupport::Inflector is applied to the class name and the case is different. ([@​koic][])
  • #658: Fix a false positive for Rails/TransactionExitStatement when break is used in loop in transactions. ([@​koic][])
  • #666: Fix an error for Rails/TransactionExitStatement when transaction block is empty. ([@​koic][])
  • #673: Fix a false negative for Rails/TransactionExitStatement when return or throw is used in a block in transactions. ([@​Tietew][])
  • #669: Fix a false positive for Rails/TransactionExitStatement when return is used in rescue. ([@​koic][])

2.14.1 (2022-03-16)

Bug fixes

  • #656: Ignore gem name in paths for Rails/MigrationClassName. ([@​sunny][])
  • #657: Only consider migration classes for Rails/MigrationClassName. ([@​sunny][])

2.14.0 (2022-03-15)

New features

... (truncated)

Commits
  • 0ad4015 Cut 2.15.0
  • 3ee6104 Update Changelog
  • e0d2a47 Merge pull request #706 from koic/add_new_rails_strip_heredoc_cop
  • 7c3b098 Fix a changelog location
  • 4403b05 Move enforced styles to top in docs
  • 6d82181 Merge pull request #325 from fatkodima/dot_separated_keys-cop
  • 7529f53 Add new Rails/DotSeparatedKeys cop
  • 5fed4f6 Add new Rails/RootPublicPath cop
  • 7ecdb88 Use the latest rubocop-* gems
  • 3612dfc Fix a build error
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.10.1 to 2.15.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.10.1...v2.15.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jun 14, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 27, 2022

Superseded by #462.

@dependabot dependabot bot closed this Jun 27, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.15.0 branch June 27, 2022 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant