Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rubocop-rails from 2.15.2 to 2.16.1 #28

Merged
merged 1 commit into from
Oct 2, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2022

Bumps rubocop-rails from 2.15.2 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)
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][])
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.15.2 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.15.2...v2.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@uxxman uxxman merged commit df063d4 into main Oct 2, 2022
@uxxman uxxman deleted the dependabot/bundler/rubocop-rails-2.16.1 branch October 2, 2022 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant