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.7.1 to 2.8.0 #26

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 7, 2020

Bumps rubocop-rails from 2.7.1 to 2.8.0.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.8.0

New features

  • #291: Add new Rails/SquishedSQLHeredocs cop. (@mobilutz)
  • #52: Add new Rails/AfterCommitOverride cop. (@fatkodima)
  • #323: Add new Rails/OrderById cop. (@fatkodima)
  • #274: Add new Rails/WhereNot cop. (@fatkodima)
  • #311: Make Rails/HelperInstanceVariable aware of memoization. (@koic)
  • #332: Fix Rails/ReflectionClassName cop false negative when relation had a scope parameter. (@bubaflub)

Bug fixes

  • #315: Allow to use frozen scope for Rails/UniqueValidationWithoutIndex. (@krim)
  • #313: Fix Rails/ActiveRecordCallbacksOrder to preserve the original callback execution order. (@eugeneius)
  • #319: Fix a false positive for Rails/Inquiry when #inquiry's receiver is a variable. (@koic)
  • #327: Fix Rails/ContentTag autocorrect to handle html5 tag names with hyphens. (@jaredmoody)

Changes

  • #312: Mark Rails/MailerName as unsafe for auto-correct. (@eugeneius)
  • #294: Update Rails/ReversibleMigration to register offenses for remove_columns and remove_index. (@philcoggins)
  • #310: Add EnforcedStyle to Rails/PluckInWhere. By default, it does not register an offense if pluck method's receiver is a variable. (@koic)
  • #320: Mark Rails/UniqBeforePluck as unsafe auto-correction. (@kunitoo)
  • #324: Make Rails/IndexBy and Rails/IndexWith aware of to_h with block. (@eugeneius)
  • #341: Make Rails/WhereExists configurable to allow where(...).exists? to be the prefered style. (@dvandersluis)
Changelog

Sourced from rubocop-rails's changelog.

2.8.0 (2020-09-04)

New features

  • #291: Add new Rails/SquishedSQLHeredocs cop. ([@mobilutz][])
  • #52: Add new Rails/AfterCommitOverride cop. ([@fatkodima][])
  • #323: Add new Rails/OrderById cop. ([@fatkodima][])
  • #274: Add new Rails/WhereNot cop. ([@fatkodima][])
  • #311: Make Rails/HelperInstanceVariable aware of memoization. ([@koic][])
  • #332: Fix Rails/ReflectionClassName cop false negative when relation had a scope parameter. ([@bubaflub][])

Bug fixes

  • #315: Allow to use frozen scope for Rails/UniqueValidationWithoutIndex. ([@krim][])
  • #313: Fix Rails/ActiveRecordCallbacksOrder to preserve the original callback execution order. ([@eugeneius][])
  • #319: Fix a false positive for Rails/Inquiry when #inquiry's receiver is a variable. ([@koic][])
  • #327: Fix Rails/ContentTag autocorrect to handle html5 tag names with hyphens. ([@jaredmoody][])

Changes

  • #312: Mark Rails/MailerName as unsafe for auto-correct. ([@eugeneius][])
  • #294: Update Rails/ReversibleMigration to register offenses for remove_columns and remove_index. ([@philcoggins][])
  • #310: Add EnforcedStyle to Rails/PluckInWhere. By default, it does not register an offense if pluck method's receiver is a variable. ([@koic][])
  • #320: Mark Rails/UniqBeforePluck as unsafe auto-correction. ([@kunitoo][])
  • #324: Make Rails/IndexBy and Rails/IndexWith aware of to_h with block. ([@eugeneius][])
  • #341: Make Rails/WhereExists configurable to allow where(...).exists? to be the prefered style. ([@dvandersluis][])
Commits
  • ed6c0e5 Cut 2.8.0
  • 7fed287 Merge pull request #342 from dvandersluis/where-exists-enforced-style
  • 9e00fda [Fix #341] Add EnforcedStyle to Rails/WhereExists to allow where(...).exists?...
  • 820df97 Use new RuboCop::Cop::Registry APIs instead of deprecated APIs
  • 786cc67 Suppress RuboCop's offense
  • 630ccf0 Merge pull request #334 from bubaflub/fix_reflection_class_name_matching_scop...
  • 20cc151 [Fix #332] Fix false negative for Rails/ReflectionClassName
  • ef26793 Tweak the changelog
  • 9e2ff2c Merge pull request #291 from mobilutz/ll-squished-heredocs
  • d2e978c Add new Rails/SquishedHeredocs cop
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Sep 7, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 87.859% when pulling d052095 on dependabot/bundler/rubocop-rails-2.8.0 into 8598ae3 on master.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Sep 7, 2020

Looks like rubocop-rails is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Sep 7, 2020
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-rails-2.8.0 branch September 7, 2020 06:44
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 ruby Pull requests that update Ruby code
Projects
None yet
1 participant