Skip to content

Bump rubocop-rails from 2.18.0 to 2.19.0

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

Bumps rubocop-rails from 2.18.0 to 2.19.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.19.0

New features

Bug fixes

  • #934: Fix a false negative for Rails/Output when print methods without arguments. (@​koic)
  • #99: Fix a false positive for Rails/HttpPositionalArguments when using include Rack::Test::Methods. (@​koic)
  • #501: Fix a false positive for Rails/OutputSafety when using html_safe for I18n methods. (@​koic)
  • #860: Fix a false positive for Rails/Pluck when using regexp literal key for String#[]. (@​koic)
  • #938: Fix an error for Rails/WhereNotWithMultipleConditions when using where.not.lt(condition) as a Mongoid API'. (@​koic)
  • #941: Remove redundant config for Style/InverseMethods. (@​koic)

Changes

  • #299: Add autocorrection for Rails/ReflectionClassName. (@​tejasbubane)
  • #34: Allow CreateTableWithTimestamps when using id: false and not include timestamps. (@​koic)
  • #694: Mark Rails/FindEach as unsafe. (@​koic)
  • #940: Mark Rails/ResponseParsedBody as unsafe. (@​koic)
Changelog

Sourced from rubocop-rails's changelog.

2.19.0 (2023-04-07)

New features

Bug fixes

  • #934: Fix a false negative for Rails/Output when print methods without arguments. ([@​koic][])
  • #99: Fix a false positive for Rails/HttpPositionalArguments when using include Rack::Test::Methods. ([@​koic][])
  • #501: Fix a false positive for Rails/OutputSafety when using html_safe for I18n methods. ([@​koic][])
  • #860: Fix a false positive for Rails/Pluck when using regexp literal key for String#[]. ([@​koic][])
  • #938: Fix an error for Rails/WhereNotWithMultipleConditions when using where.not.lt(condition) as a Mongoid API'. ([@​koic][])
  • #941: Remove redundant config for Style/InverseMethods. ([@​koic][])

Changes

  • #299: Add autocorrection for Rails/ReflectionClassName. ([@​tejasbubane][])
  • #34: Allow CreateTableWithTimestamps when using id: false and not include timestamps. ([@​koic][])
  • #694: Mark Rails/FindEach as unsafe. ([@​koic][])
  • #940: Mark Rails/ResponseParsedBody as unsafe. ([@​koic][])
Commits
  • 02b06d9 Cut 2.19.0
  • d636e3a Update Changelog
  • a955422 Merge pull request #976 from koic/fix_a_false_positive_for_rails_output_safety
  • 1d59a6d Merge pull request #975 from koic/allow_create_table_with_timestamps_for_id_f...
  • 26872d6 Merge pull request #974 from koic/make_rails_delegate_aware_of_self
  • c7d8b3e Use each_comment_in_lines instead of deprecated API
  • 935ae8e Remove Style/InverseMethods config for exists?
  • f73d8ed Merge pull request #973 from koic/make_style_inverse_methods_aware_of_exists_...
  • 9ac7a15 Merge pull request #972 from koic/mark_rails_find_each_as_unsafe
  • ce3abde Merge pull request #971 from koic/mark_rails_response_parsed_body_as_unsafe
  • 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