Skip to content

dep: bump rubocop-rails from 2.15.2 to 2.16.0

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

Bumps rubocop-rails from 2.15.2 to 2.16.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.16.0

New features

Bug fixes

  • #757: Fix a false positive for Rails/ReflectionClassName when using Ruby 3.1's hash shorthand syntax. (@​koic)
  • #741: Fix a bad autocorrection for errors.details[:name] << value in Rails/DeprecatedActiveModelErrorsMethods. (@​BrianHawley)
  • #742: Rails/DeprecatedActiveModelErrorsMethods was missing the deprecated values, to_h, and to_xml methods. (@​BrianHawley)
  • #740: Fix a NoMethodError on nil for errors.keys in a model in Rails/DeprecatedActiveModelErrorsMethods. (@​BrianHawley)
  • #753: Fix Rails/CompactBlank bug when offense is found in block. (@​r7kamura)
  • #756: Fix incorrect documentation URLs when using rubocop --show-docs-url. (@​r7kamura)
  • #754: Make Rails/RedundantReceiverInWithOptions and Rails/ReversibleMigration cops aware of numbered block parameter. (@​koic)

Changes

  • #750: Deprecate IgnoredMethods option in integrate to AllowedMethods and AllowedPatterns option. (@​koic)
  • #729: Change the minimum required rubocop dependency version to 1.31.0. (@​pirj)
Changelog

Sourced from rubocop-rails's changelog.

2.16.0 (2022-09-09)

New features

Bug fixes

  • #757: Fix a false positive for Rails/ReflectionClassName when using Ruby 3.1's hash shorthand syntax. ([@​koic][])
  • #741: Fix a bad autocorrection for errors.details[:name] << value in Rails/DeprecatedActiveModelErrorsMethods. ([@​BrianHawley][])
  • #742: Rails/DeprecatedActiveModelErrorsMethods was missing the deprecated values, to_h, and to_xml methods. ([@​BrianHawley][])
  • #740: Fix a NoMethodError on nil for errors.keys in a model in Rails/DeprecatedActiveModelErrorsMethods. ([@​BrianHawley][])
  • #753: Fix Rails/CompactBlank bug when offense is found in block. ([@​r7kamura][])
  • #756: Fix incorrect documentation URLs when using rubocop --show-docs-url. ([@​r7kamura][])
  • #754: Make Rails/RedundantReceiverInWithOptions and Rails/ReversibleMigration cops aware of numbered block parameter. ([@​koic][])

Changes

  • #750: Deprecate IgnoredMethods option in integrate to AllowedMethods and AllowedPatterns option. ([@​koic][])
  • #729: Change the minimum required rubocop dependency version to 1.31.0. ([@​pirj][])
Commits
  • 10e57c3 Cut 2.16.0
  • 50792ea Update Changelog
  • 91cd6bb Merge pull request #749 from bdewater/active-support-on-load
  • 32b9839 Add new Rails/ActiveSupportOnLoad cop.
  • 7470bf2 Merge pull request #758 from koic/fix_a_false_positive_for_rails_reflection_c...
  • 931e9b2 [Doc] Remove an obsolete contributing method
  • d4164a2 Use Dir#[] instead of git command for gemspec
  • bf55de4 Merge pull request #759 from americodls/flash-before-render
  • 9414eb9 Use cimg/ruby instead of deprecated circleci/ruby image
  • 469025e Add Rails/ActionControllerFlashBeforeRender cop
  • 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

Allure report

allure-report-publisher generated test report!

rspec: test report for fb6e2ea9

+------------------------------------------------------------------+
|                        behaviors summary                         |
+-------------+--------+--------+---------+-------+-------+--------+
|             | passed | failed | skipped | flaky | total | result |
+-------------+--------+--------+---------+-------+-------+--------+
| services    | 174    | 0      | 0       | 0     | 174   | ✅     |
| controllers | 25     | 0      | 0       | 0     | 25    | ✅     |
| jobs        | 14     | 0      | 0       | 0     | 14    | ✅     |
| system      | 10     | 0      | 0       | 0     | 10    | ✅     |
| models      | 4      | 0      | 0       | 0     | 4     | ✅     |
| tasks       | 9      | 0      | 0       | 0     | 9     | ✅     |
+-------------+--------+--------+---------+-------+-------+--------+
| Total       | 236    | 0      | 0       | 0     | 236   | ✅     |
+-------------+--------+--------+---------+-------+-------+--------+
Edited by George Koltsov

Merge request reports

Loading