Skip to content

development-dependency: bump rubocop-rails from 2.10.1 to 2.11.0

George Koltsov requested to merge dependabot-bundler-rubocop-rails-2.11.0 into master

Bumps rubocop-rails from 2.10.1 to 2.11.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.11.0

New features

Bug fixes

  • #482: Fix a false positive for Rails/RelativeDateConstant when assigning (hashes/arrays/etc)-containing procs to a constant. (@​jdelStrother)
  • #419: Fix an error for Rails/UniqueValidationWithoutIndex when using a unique index and check_constraint that has nil first argument. (@​koic)
  • #70: Fix a false positive for Rails/TimeZone when setting EnforcedStyle: strict and using Time.current. (@​koic)
  • #488: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using cbase migration class. (@​koic)
  • #500: Fix a false positive for Rails/DynamicFindBy when using dynamic finder with hash argument. (@​koic)

Changes

  • #288: Add AllowToTime option (true by default) to Rails/Date. (@​koic)
  • #499: Add IgnoreWhereFirst option (true by default) to Rails/FindBy. (@​koic)
  • #505: Set disabled by default for Rails/EnvironmentVariableAccess. (@​koic)
Changelog

Sourced from rubocop-rails's changelog.

2.11.0 (2021-06-21)

New features

Bug fixes

  • #482: Fix a false positive for Rails/RelativeDateConstant when assigning (hashes/arrays/etc)-containing procs to a constant. ([@​jdelStrother][])
  • #419: Fix an error for Rails/UniqueValidationWithoutIndex when using a unique index and check_constraint that has nil first argument. ([@​koic][])
  • #70: Fix a false positive for Rails/TimeZone when setting EnforcedStyle: strict and using Time.current. ([@​koic][])
  • #488: Fix a false positive for Rails/ReversibleMigrationMethodDefinition when using cbase migration class. ([@​koic][])
  • #500: Fix a false positive for Rails/DynamicFindBy when using dynamic finder with hash argument. ([@​koic][])

Changes

  • #288: Add AllowToTime option (true by default) to Rails/Date. ([@​koic][])
  • #499: Add IgnoreWhereFirst option (true by default) to Rails/FindBy. ([@​koic][])
  • #505: Set disabled by default for Rails/EnvironmentVariableAccess. ([@​koic][])
Commits
  • 4a24cb8 Cut 2.11.0
  • 20e03fb Merge pull request #505 from koic/set_disabled_by_default_for_rails_environme...
  • 2c26673 Set disabled by default for Rails/EnvironmentVariableAccess
  • 6ecf7ed Merge pull request #497 from dvandersluis/add_column_index
  • 5aafb16 Add Rails/AddColumnIndex cop to prevent passing an unused but confusing `in...
  • e52df30 Merge pull request #503 from koic/add_new_rails_i18n_locale_assignment_cop
  • e91731e Use Parser::Ruby30 for documentation_syntax_check Rake task
  • 08237cd Tweak the doc and message for Rails/TimeZoneAssignment
  • 7f9c3a5 [Fix #495] Add new Rails/I18nLocaleAssignment cop
  • fe8c4ac Merge pull request #483 from Aesthetikx/rails_logger_block
  • 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

Loading