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

Update rubocop requirement from ~> 0.52 to ~> 1.18 #70

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 1.18.4

New features

  • #9930: Support Ruby 2.7's pattern matching for Lint/DuplicateBranch cop. (@​koic)

Bug fixes

  • #9938: Fix an incorrect auto-correct for Layout/LineLength when a heredoc is used as the first element of an array. (@​koic)
  • #9940: Fix an incorrect auto-correct for Style/HashTransformValues when value is a hash literal for _.to_h{...}. (@​koic)
  • #9752: Improve error message for top level department used in configuration. (@​jonas054)
  • #9933: Fix GitHub Actions formatter when running in non-default directory. (@​ojab)
  • #9922: Make better auto-corrections in Style/DoubleCopDisableDirective. (@​jonas054)
  • #9848: Fix handling of comments in Layout/ClassStructure auto-correct. (@​jonas054)
  • #9926: Fix an incorrect auto-correct for Style/SingleLineMethods when method body is enclosed in parentheses. (@​koic)
  • #9928: Fix an infinite loop error and a false auto-correction behavior for Layout/EndAlignment when using operator methods and EnforcedStyleAlignWith: variable. (@​koic)
  • #9434: Fix false positive for setter calls in Layout/FirstArgumentIndentation. (@​jonas054)

RuboCop 1.18.3

Bug fixes

  • #9891: Fix --auto-gen-config bug for Style/HashSyntax. (@​jonas054)
  • #9905: Fix false positive for single line concatenation in Layout/LineEndStringConcatenationIndentation. (@​jonas054)
  • #9907: Fix an incorrect auto-correct for Lint/UselessTimes when using block argument for 1.times. (@​koic)
  • #9869: Fix reference to file in configuration override warning. (@​jonas054)
  • #9902: Fix an incorrect auto-correct for Style/BlockDelimiters when there is a comment after the closing brace. (@​koic)
  • #8469: Add inspection of class << to Layout/SpaceAroundOperators. (@​jonas054)
  • #9909: This PR fixes an incorrect auto-correct for Style/SingleLineMethods when using return, break, or next for one line method body in Ruby 3.0. (@​koic)
  • #9914: Fix an error for Layout/HashAlignment when using aligned hash argument for proc.(). (@​koic)

RuboCop 1.18.2

Bug fixes

RuboCop 1.18.1

Bug fixes

  • #9897: Fix an incorrect auto-correct for Layout/HashAlignment when setting EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and using misaligned keyword arguments. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.18.4 (2021-07-23)

New features

  • #9930: Support Ruby 2.7's pattern matching for Lint/DuplicateBranch cop. ([@​koic][])

Bug fixes

  • #9938: Fix an incorrect auto-correct for Layout/LineLength when a heredoc is used as the first element of an array. ([@​koic][])
  • #9940: Fix an incorrect auto-correct for Style/HashTransformValues when value is a hash literal for _.to_h{...}. ([@​koic][])
  • #9752: Improve error message for top level department used in configuration. ([@​jonas054][])
  • #9933: Fix GitHub Actions formatter when running in non-default directory. ([@​ojab][])
  • #9922: Make better auto-corrections in Style/DoubleCopDisableDirective. ([@​jonas054][])
  • #9848: Fix handling of comments in Layout/ClassStructure auto-correct. ([@​jonas054][])
  • #9926: Fix an incorrect auto-correct for Style/SingleLineMethods when method body is enclosed in parentheses. ([@​koic][])
  • #9928: Fix an infinite loop error and a false auto-correction behavior for Layout/EndAlignment when using operator methods and EnforcedStyleAlignWith: variable. ([@​koic][])
  • #9434: Fix false positive for setter calls in Layout/FirstArgumentIndentation. ([@​jonas054][])

1.18.3 (2021-07-06)

Bug fixes

  • #9891: Fix --auto-gen-config bug for Style/HashSyntax. ([@​jonas054][])
  • #9905: Fix false positive for single line concatenation in Layout/LineEndStringConcatenationIndentation. ([@​jonas054][])
  • #9907: Fix an incorrect auto-correct for Lint/UselessTimes when using block argument for 1.times. ([@​koic][])
  • #9869: Fix reference to file in configuration override warning. ([@​jonas054][])
  • #9902: Fix an incorrect auto-correct for Style/BlockDelimiters when there is a comment after the closing brace. ([@​koic][])
  • #8469: Add inspection of class << to Layout/SpaceAroundOperators. ([@​jonas054][])
  • #9909: This PR fixes an incorrect auto-correct for Style/SingleLineMethods when using return, break, or next for one line method body in Ruby 3.0. ([@​koic][])
  • #9914: Fix an error for Layout/HashAlignment when using aligned hash argument for proc.(). ([@​koic][])

1.18.2 (2021-07-02)

Bug fixes

  • #9894: Handle multiline string literals in Layout/LineEndStringConcatenationIndentation. ([@​jonas054][])
  • #9890: Make colon after comment annotation configurable. ([@​gregfletch][])

1.18.1 (2021-06-30)

Bug fixes

  • #9897: Fix an incorrect auto-correct for Layout/HashAlignment when setting EnforcedStyle: with_fixed_indentation of Layout/ArgumentAlignment and using misaligned keyword arguments. ([@​koic][])

Changes

  • #9895: Set CheckStrings: false and Remove master from FlaggedTerms for Naming/InclusiveLanguage. ([@​koic][])

1.18.0 (2021-06-29)

... (truncated)

Commits
  • d6fb135 Cut 1.18.4
  • 6da5ca1 Update Changelog
  • 4874caa [Fix #9940] Fix an incorrect auto-correct for Style/HashTransformValues
  • 36029ff Support Ruby 2.7's pattern matching for Lint/DuplicateBranch
  • dfb9c26 [Fix #9752] Improve error message for top level department
  • 0886479 Fix an incorrect auto-correct for Layout/LineLength
  • 3907e07 Merge pull request #9932 from koic/fix_false_autocorrection_for_layout_end_al...
  • f2c5f0e Use offense instead of offence
  • 82d7122 Merge pull request #9937 from jonas054/9922_fix_DoubleCopDisableDirective
  • 49b3999 [Fix #9922] Replace extra disable directives with comma
  • 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 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:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.58.1...v1.18.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jul 26, 2021
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.

0 participants