Skip to content

dep: bump rubocop-rails from 2.17.3 to 2.17.4

George Koltsov requested to merge dependabot-bundler-rubocop-rails-2.17.4 into main

Bumps rubocop-rails from 2.17.3 to 2.17.4.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.17.4

Bug fixes

  • #870: Fix an error for Rails/RootPathnameMethods when using Rails.env argument within Dir.glob. (@​koic)
  • #881: Fix a false positive for Rails/ActionControllerFlashBeforeRender when using flash in multiline rescue branch before redirect_to. (@​gurix)
  • #871: Fix a false positive for Rails/WhereMissing when left_joins(:foo) and where(foos: {id: nil}) separated by or, and. (@​ydah)
  • #875: Make Rails/RootPathnameMethods aware of enforced style of Style/StringLiterals. (@​koic)
  • #882: Fix false positive for Rails/UniqueValidationWithoutIndex with :conditions option. (@​etiennebarrie)
  • #821: Enhance Rails/TimeZone to accept methods with the :in timezone option. (@​fatkodima)

Changes

Changelog

Sourced from rubocop-rails's changelog.

2.17.4 (2022-12-25)

Bug fixes

  • #870: Fix an error for Rails/RootPathnameMethods when using Rails.env argument within Dir.glob. ([@​koic][])
  • #881: Fix a false positive for Rails/ActionControllerFlashBeforeRender when using flash in multiline rescue branch before redirect_to. ([@​gurix][])
  • #871: Fix a false positive for Rails/WhereMissing when left_joins(:foo) and where(foos: {id: nil}) separated by or, and. ([@​ydah][])
  • #875: Make Rails/RootPathnameMethods aware of enforced style of Style/StringLiterals. ([@​koic][])
  • #882: Fix false positive for Rails/UniqueValidationWithoutIndex with :conditions option. ([@​etiennebarrie][])
  • #821: Enhance Rails/TimeZone to accept methods with the :in timezone option. ([@​fatkodima][])

Changes

Commits
  • 836ff28 Cut 2.17.4
  • 3032b74 Update Changelog
  • b930670 Correctly detect Rails version when using only parts of the framework
  • b9f852b Use RuboCop RSpec 2.16
  • f8153ca Merge pull request #881 from gurix/fix/false_positive_for_rails_action_contro...
  • cb2de46 fixed false positive ActionControllerFlashBefore after rescue
  • f94b235 Merge pull request #871 from ydah/fix/where_missing
  • c23478a Merge pull request #882 from etiennebarrie/uniqueness-with-conditions
  • 61d3f6c Support conditions option of UniquenessValidator
  • c7e7de3 Support conditions specific to the validator
  • 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

Merge request reports