Skip to content

dep: bump rubocop-rails from 2.17.4 to 2.18.0

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

Bumps rubocop-rails from 2.17.4 to 2.18.0.

Changelog

Sourced from rubocop-rails's changelog.

2.18.0 (2023-02-25)

New features

Bug fixes

  • #824: Fix a false negative for Rails/ActionControllerTestCase when the class is namespaced. ([@​vlad-pisanov][])
  • #909: Fix a false positive for Rails/ActionControllerFlashBeforeRender when using flash before redirect_to in if branch. ([@​koic][])
  • #898: Fix a false positive for Rails/ActiveRecordAliases when arguments of update_attributes is empty. ([@​koic][])
  • #920: Fix an error for Rails/NegateInclude when there is no receiver. ([@​fatkodima][])
  • #931: Fix error in Rails/Presence when ternary operators are used in multiple lines. ([@​r7kamura][])
  • #687: Fix Rails/HasManyOrHasOneDependent to correctly handle association methods with receiver. ([@​fatkodima][])
  • #929: Prevent Rails/SquishedSQLHeredocs applying when single-line comments are present. ([@​john-h-k][])
  • #887: Fix a false positive for Rails/NotNullColumn when adding a :virtual column. ([@​fatkodima][])
  • #918: Fix Rails/FreezeTime running against Rails < 5.2 apps. ([@​DRBragg][])
  • #895: Fix Rails/UnusedIgnoredColumns not recognizing columns added via +=. ([@​lucthev][])

Changes

  • #263: Accept actions defined via alias in Rails/LexicallyScopedActionFilter. ([@​fatkodima][])
  • #902: Ignore redirect method for Style/FormatStringToken by default. ([@​javierjulio][])
  • #935: Make Style/InverseMethods aware of Active Support's present?, blank?, include?, and exclude? methods. ([@​koic][])
  • #914: Make Style/InverseMethods aware of valid? and invalid? methods. ([@​koic][])
  • #826: Mark Rails/Pluck as unsafe. ([@​fatkodima][])
  • #896: Raise severity of Rails/ActiveRecordOverride, Rails/DeprecatedActiveModelErrorsMethods, Rails/DuplicateAssociation, Rails/DuplicateScope, Rails/TopLevelHashWithIndifferentAccess, and Rails/WhereNotWithMultipleConditions cops to warning. ([@​koic][])
Commits
  • fa6662f Cut 2.18.0
  • 1a791ec Update Changelog
  • c532db1 Fix a false negative for Rails/ActionControllerTestCase
  • e179054 Merge pull request #936 from koic/make_style_inverse_methods_aware_of_valid_a...
  • 9ff0c4d Merge pull request #937 from koic/fix_a_false_positive_for_rails_action_contr...
  • e9bb19f Suppress InternalAffairs/ProcessedSourceBufferName's offense
  • ad0fec1 [Fix #909] Fix a false positive for Rails/ActionControllerFlashBeforeRender
  • ecd9fbe [Fix #914] Make Style/InverseMethods aware of valid? and invalid? methods
  • 81b0fdc Merge pull request #935 from koic/make_style_inverse_methods_aware_of_active_...
  • b74740a Make Style/InverseMethods aware of some Active Support methods
  • 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