Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 27, 2022

Bumps rubocop-rails from 2.14.1 to 2.16.1.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.16.1

Bug fixes

  • #769: Fix a false positive for Rails/FreezeTime when using travel_to with an argument of DateTime.new with arguments. (@​koic)
  • #772: Fix a false positive for Rails/TopLevelHashWithIndifferentAccess when using HashWithIndifferentAccess under namespace module. (@​koic)
  • #762: Fix an error for Rails/FreezeTime when using travel_to with an argument of current method without receiver. (@​koic)
  • #764: Fix an incorrect autocorrect for Rails/FreezeTime when using travel_to with an argument of the current time and proc argument. (@​koic)
  • #763: Mark Rails/RootPathnameMethods as unsafe and fix an incorrect autocorrect when using Dir.glob. (@​koic)

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)

RuboCop Rails 2.15.2

Bug fixes

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.16.1 (2022-09-17)

Bug fixes

  • #769: Fix a false positive for Rails/FreezeTime when using travel_to with an argument of DateTime.new with arguments. ([@​koic][])
  • #772: Fix a false positive for Rails/TopLevelHashWithIndifferentAccess when using HashWithIndifferentAccess under namespace module. ([@​koic][])
  • #762: Fix an error for Rails/FreezeTime when using travel_to with an argument of current method without receiver. ([@​koic][])
  • #764: Fix an incorrect autocorrect for Rails/FreezeTime when using travel_to with an argument of the current time and proc argument. ([@​koic][])
  • #763: Mark Rails/RootPathnameMethods as unsafe and fix an incorrect autocorrect when using Dir.glob. ([@​koic][])

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][])

2.15.2 (2022-07-07)

Bug fixes

  • #712: Fix false negative in Rails/Delegate when preceding nested class declares private or protected methods. ([@​Darhazer][])
  • #737: Fix a false positive for Rails/DeprecatedActiveModelErrorsMethods when using keys method with Rails 6.0. ([@​koic][])
  • #737: Make Rails/ExpandedDateRange aware beginning_of_week with an argument. ([@​koic][])
  • #731: Fix an incorrect autocorrect for Rails/StripHeredoc. ([@​kazarin][])

2.15.1 (2022-06-26)

Bug fixes

... (truncated)

Commits
  • cd674c4 Cut 2.16.1
  • 30e126a Update Changelog
  • 9aa85f1 Merge pull request #772 from koic/fix_a_false_positive_for_rails_top_level_ha...
  • 6b5424e Merge pull request #770 from koic/fix_a_false_positive_for_rails_freeze_time
  • f89c1d3 Fix a false positive for Rails/TopLevelHashWithIndifferentAccess
  • 32daa2f Merge pull request #768 from koic/fix_an_incorrect_autocorrect_for_rails_root...
  • 614558b [Fix #769] Fix a false positive for Rails/FreezeTime
  • 783e2ed Merge pull request #766 from koic/fix_an_incorrect_autocorrect_for_rails_free...
  • d42f944 Merge pull request #765 from koic/fix_an_error_for_rails_freeze_time
  • 94e126d [Fix #763] Fix a false positive for Rails/RootPathnameMethods
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.14.1 to 2.16.1.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop-rails@v2.14.1...v2.16.1)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 27, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 24, 2022

Superseded by #9.

@dependabot dependabot bot closed this Oct 24, 2022
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.16.1 branch October 24, 2022 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant