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.20.2 #5221

Merged
merged 5 commits into from
Sep 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 31, 2023

Bumps rubocop-rails from 2.15.2 to 2.20.2.

Release notes

Sourced from rubocop-rails's releases.

RuboCop Rails 2.20.2

Bug fixes

  • #1028: Fix an error for Rails/UniqueValidationWithoutIndex when the presence: true option is used alone for the validates method. (@​koic)

RuboCop Rails 2.20.1

Bug fixes

  • #1021: Fix an error for Rails/UniqueValidationWithoutIndex. (@​ydah)

RuboCop Rails 2.20.0

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. (@​splattael)
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. (@​fidalgo)
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. (@​r7kamura)
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. (@​fatkodima)
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. (@​samrjenkins)

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. (@​tka5)
  • #995: Check for or method in Rails/FindEach cop. (@​masato-bkn)
  • #1019: Change db migration file pattern so that it supports multiple db. (@​r7kamura)
  • #986: (Breaking) Drop Ruby 2.6 support. (@​koic)
  • #992: Exclude app/assets/**/* by default. (@​r7kamura)
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. (@​koic)
  • #1007: Support flash.now for Rails/I18nLocaleTexts. (@​fatkodima)

RuboCop Rails 2.19.1

Bug fixes

... (truncated)

Changelog

Sourced from rubocop-rails's changelog.

2.20.2 (2023-06-20)

Bug fixes

  • #1028: Fix an error for Rails/UniqueValidationWithoutIndex when the presence: true option is used alone for the validates method. ([@​koic][])

2.20.1 (2023-06-19)

Bug fixes

  • #1021: Fix an error for Rails/UniqueValidationWithoutIndex. ([@​ydah][])

2.20.0 (2023-06-18)

New features

Bug fixes

  • #1005: Flag break in with_lock for Rails/TransactionExitStatement. ([@​splattael][])
  • #997: Fix to Allow NotNullColumn to work with method calls and variables. ([@​fidalgo][])
  • #989: Fix Rails/FilePath to detect offenses from complex string interpolation. ([@​r7kamura][])
  • #1010: Fix Rails/ThreeStateBooleanColumn for dynamic tables/columns. ([@​fatkodima][])
  • #1008: Fix UniqueValidationWithoutIndex to not detect offenses when a validation specifies uniqueness: false. ([@​samrjenkins][])

Changes

  • #1011: Add *_create_active_storage_variant_records.active_storage.rb to Rails/CreateTableWithTimestamps exclude file list. ([@​tka5][])
  • #995: Check for or method in Rails/FindEach cop. ([@​masato-bkn][])
  • #1019: Change db migration file pattern so that it supports multiple db. ([@​r7kamura][])
  • #986: (Breaking) Drop Ruby 2.6 support. ([@​koic][])
  • #992: Exclude app/assets/**/* by default. ([@​r7kamura][])
  • #1014: Make Lint/RedundantSafeNavigation aware of presence and present? methods. ([@​koic][])
  • #1007: Support flash.now for Rails/I18nLocaleTexts. ([@​fatkodima][])

2.19.1 (2023-04-16)

Bug fixes

  • #979: Fix an error for Rails/ThreeStateBooleanColumn when using t.boolean in drop_table. ([@​koic][])

2.19.0 (2023-04-07)

New features

... (truncated)

Commits
  • 1e29b29 Cut 2.20.2
  • 3cb9749 Update Changelog
  • 5167b41 Merge pull request #1028 from koic/fix_an_error_for_rails_unique_validation_w...
  • cf8f9bf Suppress a new Lint/MixedCaseRange offense
  • 26dce91 Fix an error for Rails/UniqueValidationWithoutIndex
  • 169427d Switch back docs version to master
  • 95a95c9 Cut 2.20.1
  • 3291d77 Update Changelog
  • 05ad15b Merge pull request #1021 from ydah/fix_an_error_for_rails_unique_validation_w...
  • cdaef41 Fix an error for Rails/UniqueValidationWithoutIndex
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 the dependencies Pull requests that updates a dependency label Aug 31, 2023
@javierm javierm added this to Reviewing in Consul Democracy Aug 31, 2023
@javierm javierm self-assigned this Sep 4, 2023
@dependabot dependabot bot force-pushed the dependabot/bundler/rubocop-rails-2.20.2 branch from e6237f8 to c9a4e06 Compare September 4, 2023 15:24
@javierm javierm force-pushed the dependabot/bundler/rubocop-rails-2.20.2 branch from 5117b9a to 34f6cf4 Compare September 4, 2023 15:57
@taitus taitus self-assigned this Sep 5, 2023
javierm and others added 2 commits September 6, 2023 14:54
We should have applied this change in commit a78a8d5, since it was
added in rubocop-performance 1.18.0, but forgot to do so.
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.15.2 to 2.20.2.
- [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.20.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@javierm javierm force-pushed the dependabot/bundler/rubocop-rails-2.20.2 branch from 34f6cf4 to 2ccda30 Compare September 6, 2023 13:28
This rule was added in rubocop-rails 2.16.0. Even if we always follow
it, sometimes developers don't realize about this mistake immediately,
so it's good to have a rule to guarantee it won't happen.
This rule was introduced in rubocop-rails 2.17.0.

We don't use `where.not` with multiple conditions anywhere, but if we
did, it would indeed be very confusing, so we're adding a rule to avoid
that scenario.
This rule was introduced in rubocop-rails 2.18.0.

Since using `response.parsed_body` is shorter than using
`JSON.parse(response.body)`, this also means we can group some lines in
one.
@javierm javierm force-pushed the dependabot/bundler/rubocop-rails-2.20.2 branch from 2ccda30 to 2951d0f Compare September 6, 2023 17:00
Consul Democracy automation moved this from Reviewing to Testing Sep 7, 2023
@javierm javierm merged commit d729e6c into master Sep 7, 2023
13 checks passed
Consul Democracy automation moved this from Testing to Release 2.1.0 Sep 7, 2023
@javierm javierm deleted the dependabot/bundler/rubocop-rails-2.20.2 branch September 7, 2023 11:00
@javierm javierm added the Linters Rubocop, ERB Lint, ESLint, SCSS-Lint, ... label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that updates a dependency Linters Rubocop, ERB Lint, ESLint, SCSS-Lint, ...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants