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.70.0 to ~> 0.76.0 #24

Closed

Conversation

dependabot-preview[bot]
Copy link

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.76

Bug fixes

  • #7439: Make Style/FormatStringToken ignore percent escapes (%%). (@​buehmann)
  • #7438: Fix assignment edge-cases in Layout/MultilineAssignmentLayout. (@​gsamokovarov)
  • #7449: Make Style/IfUnlessModifier respect rubocop:disable comments for Metrics/LineLength. (@​jonas054)
  • #7442: Fix an incorrect autocorrect for Style/SafeNavigation when an object check followed by a method call with a comment at EOL. (@​koic)
  • #7434: Fix an incorrect autocorrect for Style/MultilineWhenThen when the body of when branch starts with then. (@​koic)
  • #7464: Let Performance/StartWith and Performance/EndWith correct regexes that contain forward slashes. (@​eugeneius)

Changes

  • #7465: Add os to allowed names of Naming/UncommunicativeMethodParamName cop in default config. (@​nijikon)
  • #7446: Add merge to list of non-mutating methods. (@​cstyles)
  • #7077: (Breaking) Rename Unneeded* cops to Redundant* (e.g., Style/UnneededPercentQ becomes Style/RedundantPercentQ). (@​scottmatthewman)
  • #7396: Display assignments, branches, and conditions values with the offense. (@​avmnu-sng)
Changelog

Sourced from rubocop's changelog.

0.76.0 (2019-10-28)

Bug fixes

  • #7439: Make Style/FormatStringToken ignore percent escapes (%%). (@​buehmann)
  • #7438: Fix assignment edge-cases in Layout/MultilineAssignmentLayout. (@​gsamokovarov)
  • #7449: Make Style/IfUnlessModifier respect rubocop:disable comments for Metrics/LineLength. (@​jonas054)
  • #7442: Fix an incorrect autocorrect for Style/SafeNavigation when an object check followed by a method call with a comment at EOL. (@​koic)
  • #7434: Fix an incorrect autocorrect for Style/MultilineWhenThen when the body of when branch starts with then. (@​koic)
  • #7464: Let Performance/StartWith and Performance/EndWith correct regexes that contain forward slashes. (@​eugeneius)

Changes

  • #7465: Add os to allowed names of Naming/UncommunicativeMethodParamName cop in default config. (@​nijikon)
  • #7446: Add merge to list of non-mutating methods. (@​cstyles)
  • #7077: (Breaking) Rename Unneeded* cops to Redundant* (e.g., Style/UnneededPercentQ becomes Style/RedundantPercentQ). (@​scottmatthewman)
  • #7396: Display assignments, branches, and conditions values with the offense. (@​avmnu-sng)

0.75.1 (2019-10-14)

Bug fixes

  • #7391: Support pacman formatter on Windows. ([@​laurenball][])
  • #7407: Make Style/FormatStringToken work inside hashes. (@​buehmann)
  • #7389: Fix an issue where passing a formatter might result in an error depending on what character it started with. ([@​jfhinchcliffe][])
  • #7397: Fix extra comments being added to the correction of Style/SafeNavigation. ([@​rrosenblum][])
  • #7378: Fix heredoc edge cases in Layout/EmptyLineAfterGuardClause. (@​gsamokovarov)
  • #7404: Fix a false negative for Layout/IndentAssignment when multiple assignment with line breaks on each line. (@​koic)

Changes

  • #7410: Style/FormatStringToken now finds unannotated format sequences in printf arguments. (@​buehmann)
  • #6964: Set default IgnoreCopDirectives to true for Metrics/LineLength. ([@​jdkaplan][])

0.75.0 (2019-09-30)

New features

  • #7274: Add new Lint/SendWithMixinArgument cop. (@​koic)
  • #7272: Show warning message if passed string to Enabled, Safe, SafeAutocorrect, and AutoCorrect keys in .rubocop.yml. ([@​unasuke][])
  • #7295: Make it possible to set StyleGuideBaseURL per department. (@​koic)
  • #7301: Add check for calls to remote_byebug to Lint/Debugger cop. ([@​riley-klingler][])
  • #7321: Allow YAML aliases in .rubocop.yml. ([@​raymondfallon][])
  • #7317: Add new formatter pacman. ([@​crojasaragonez][])
  • #6075: Support IgnoredPatterns option for Naming/MethodName cop. (@​koic)
  • #7335: Add todo as an alias to disable. --disable-uncorrectable will now disable cops using rubocop:todo instead of rubocop:disable. ([@​desheikh][])

Bug fixes

  • #7391: Support pacman formatter on Windows. ([@​laurenball][])
... (truncated)
Commits
  • bb227db Cut RuboCop 0.76
  • d00fb92 Highlight the renaming of some cops in the changelog
  • 18ff52e Add forward slash to LITERAL_REGEX
  • bb55659 [Fix #7396] Display ABC components alongside the total value (#7399)
  • 2f69571 Restyle example formatting for Style/NonNilCheck
  • 694d4a9 Add os to AllowedNames in default configuration for cop Naming/Uncommunicat...
  • 9b48a4a Add VersionRemoved to internal params
  • e88d6b5 Regenerate RuboCop TODO
  • b11eb59 Ignore ABC size for NodePattern#compile_any_order
  • f7baecd Make specs display Ruby warnings if any are found
  • 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:

  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 29, 2019
@dependabot-preview
Copy link
Author

Superseded by #27.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-tw-0.76.0 branch November 28, 2019 05:54
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