Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-rails from 2.9.1 to 2.15.2 #708

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 7, 2022

Bumps rubocop-rails from 2.9.1 to 2.15.2.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.15.2

Bug fixes

  • #712: Fix false negative in Rails/Delegate when preceding nested class declares private or protected methods. (@​Darhazer)
  • #737: Fix a false positive for Rails/DeprecatedActiveModelErrorsMethods when using keys method with Rails 6.0. (@​koic)
  • #737: Make Rails/ExpandedDateRange aware beginning_of_week with an argument. (@​koic)
  • #731: Fix an incorrect autocorrect for Rails/StripHeredoc. (@​kazarin)

RuboCop Rails 2.15.1

Bug fixes

  • #723: Fix include value in Rails/AttributeDefaultBlockValue. (@​kkitadate)
  • #717: Fix an error for Rails/DeprecatedActiveModelErrorsMethods when root receiver is a variable. (@​koic)
  • #719: Fix a false negative for Rails/FormattedS when using safe navigation operator. (@​koic)
  • #725: Fix an incorrect autocorrect for Rails/DotSeparatedKeys when a key starts with dot. (@​koic)

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][])

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.15.2 (2022-07-07)

Bug fixes

  • #712: Fix false negative in Rails/Delegate when preceding nested class declares private or protected methods. ([@​Darhazer][])
  • #737: Fix a false positive for Rails/DeprecatedActiveModelErrorsMethods when using keys method with Rails 6.0. ([@​koic][])
  • #737: Make Rails/ExpandedDateRange aware beginning_of_week with an argument. ([@​koic][])
  • #731: Fix an incorrect autocorrect for Rails/StripHeredoc. ([@​kazarin][])

2.15.1 (2022-06-26)

Bug fixes

  • #723: Fix include value in Rails/AttributeDefaultBlockValue. ([@​kkitadate][])
  • #717: Fix an error for Rails/DeprecatedActiveModelErrorsMethods when root receiver is a variable. ([@​koic][])
  • #719: Fix a false negative for Rails/FormattedS when using safe navigation operator. ([@​koic][])
  • #725: Fix an incorrect autocorrect for Rails/DotSeparatedKeys when a key starts with dot. ([@​koic][])

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

... (truncated)

Commits
  • cc4c272 Cut 2.15.2
  • 582ba11 Update Changelog
  • a20671e Merge pull request #730 from koic/add_new_rails_date_time_range_cop
  • 990a786 Merge pull request #736 from rubocop/fix-false-negative-in-rails-delegate
  • a703aaf [Fix #737] Fix a false positive for Rails/DeprecatedActiveModelErrorsMethods
  • 03b4f2f Add the style guide URL for Rails/ExpandedDateRange
  • 15858ae Make Rails/ExpandedDateRange aware beginning_of_week with an argument
  • 3019c2b [Fix #712] Fixed false negative when visibility modifier is declared in neste...
  • 0c18551 Merge pull request #733 from kazarin/fix_incorrect_autocorrect_for_rails_stri...
  • da37010 Merge pull request #734 from rubocop/refactor-correction-specs
  • 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.9.1 to 2.15.2.
- [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.9.1...v2.15.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 7, 2022
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
Development

Successfully merging this pull request may close these issues.

0 participants