gocardless / activerecord-safer_migrations

Safer ActiveRecord migrations for Postgres
MIT License
117 stars 9 forks source link

Update rubocop requirement from ~> 0.92.0 to ~> 1.6.0 #70

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.6

New features

  • #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. (@dvandersluis)
  • #9182: Support auto-correction for Style/RedundantArgument. (@koic)
  • #9186: Support auto-correction for Style/FloatDivision. (@koic)
  • #9167: Support auto-correct for StyleSingleLineBlockParams. (@koic)

Bug fixes

  • #9177: Remove back-ref related code from Style/SpecialGlobalVars. (@r7kamura)
  • #9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. (@koic)
  • #9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. (@dvandersluis)
  • #9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. (@tas50)

Changes

  • #9171: Add "did you mean" message when failing due to invalid cops in configuration. (@dvandersluis)
  • #8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. (@dvandersluis)
  • #9172: Add Style/PerlBackrefs targets and change message more detailed. (@r7kamura)
  • #9187: Update formatters to output [Correctable] for correctable offenses. (@dvandersluis)
  • #9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. (@dvandersluis)
Changelog

Sourced from rubocop's changelog.

1.6.0 (2020-12-09)

New features

  • #9125: Allow ConfigObsoletion to be extended by other RuboCop libraries. ([@dvandersluis][])
  • #9182: Support auto-correction for Style/RedundantArgument. ([@koic][])
  • #9186: Support auto-correction for Style/FloatDivision. ([@koic][])
  • #9167: Support auto-correct for StyleSingleLineBlockParams. ([@koic][])

Bug fixes

  • #9177: Remove back-ref related code from Style/SpecialGlobalVars. ([@r7kamura][])
  • #9160: Fix an incorrect auto-correct for Style/IfUnlessModifier and Style/SoleNestedConditional when auto-correction conflicts for guard condition. ([@koic][])
  • #9174: Handle send nodes with unparenthesized arguments in Style/SoleNestedConditional. ([@dvandersluis][])
  • #9184: Layout/EmptyLinesAroundAttributeAccessor fails if the attr_accessor is the last line of the file. ([@tas50][])

Changes

  • #9171: Add "did you mean" message when failing due to invalid cops in configuration. ([@dvandersluis][])
  • #8897: Change Style/StringConcatenation to accept line-end concatenation between two strings so that Style/LineEndConcatenation can handle it instead. ([@dvandersluis][])
  • #9172: Add Style/PerlBackrefs targets and change message more detailed. ([@r7kamura][])
  • #9187: Update formatters to output [Correctable] for correctable offenses. ([@dvandersluis][])
  • #9169: Add obsoletion warnings for Performance/* and Rails/* which are in separate gems now. ([@dvandersluis][])

1.5.2 (2020-12-04)

Bug fixes

  • #9152: Fix an incorrect auto-correct for Style/SoleNestedConditional when nested || operator modifier condition. ([@koic][])
  • #9161: Fix a false positive for Layout/HeredocArgumentClosingParenthesis when using subsequence closing parentheses in the same line. ([@koic][])
  • #9151: Fix SuggestExtensions to not suggest extensions that are installed but not direct dependencies. ([@dvandersluis][])
  • #8985: Fix Style/StringConcatenation autocorrect generating invalid ruby. ([@tejasbubane][])
  • #9155: Fix a false positive for Layout/MultilineMethodCallIndentation when multiline method chain has expected indent width and the method is preceded by splat for EnforcedStyle: indented_relative_to_receiver. ([@koic][])

Changes

1.5.1 (2020-12-02)

Bug fixes

  • #8684: Fix an error for Lint/InterpolationCheck cop. ([@tejasbubane][])
  • #9145: Fix issues with SuggestExtensions when bundler is not available, or when there is no gemfile. ([@dvandersluis][])
  • #9140: Fix an error for Layout/EmptyLinesAroundArguments when multiline style argument for method call without selector. ([@koic][])
  • #9136: Fix AllowedIdentifiers in Naming/VariableNumber to include variable assignments. ([@PhilCoggins][])

1.5.0 (2020-12-01)

Commits
  • 64e8c47 Cut 1.6
  • 337570f Update Changelog
  • fe46341 [Fix #9160] Fix an incorrect auto-correct for Style/SoleNestedConditional
  • 1386f77 Updated Layout/LineLength, Style/CharacterLiteral, Style/IpAddresses, `...
  • 8f2fdbe Fix cli_autocorrect_spec failures now that #9187 and #9190 are merged.
  • 24765a0 [Fix #9175] Fix status for offenses that are not correctable.
  • 0146f4f [Fix #7801] Update documentation for Naming/AccessorMethodName.
  • ebd90fb [Fix #8897] Change Style/StringConcatenation to accept line-end concatenati...
  • dbd9aca Update formatters to output [Correctable] for correctable offenses.
  • 3a2786f Update reference for Style/FloatDivision
  • Additional commits viewable in compare view


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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 3 years ago

Superseded by #71.