Skip to content

Bump rubocop from 0.58.2 to 0.59.0#509

Closed
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rubocop-0.59.0
Closed

Bump rubocop from 0.58.2 to 0.59.0#509
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/rubocop-0.59.0

Conversation

@dependabot-preview
Copy link

Bumps rubocop from 0.58.2 to 0.59.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.59.0

New features

  • #6109: Add new Bundler/GemComment cop. ([sunny][])
  • #6148: Add IgnoredMethods option to Style/NumericPredicate cop. ([AlexWayfer][])
  • #6174: Add --display-only-fail-level-offenses to only output offenses at or above the fail level. ([robotdana][])
  • Add autocorrect to Style/For. ([rrosenblum][])
  • #6173: Add AllowImplicitReturn option to Rails/SaveBang cop. ([robotdana][])
  • #6218: Add comparison style to Style/NilComparison. ([khiav223577][])
  • Add new Style/MultilineMethodSignature cop. ([drenmi][])
  • #6234: Add Performance/ChainArrayAllocation cop. ([schneems][])
  • #6136: Add remote url in remote url download error message. ([ShockwaveNN][])
  • #5659: Make Layout/EmptyLinesAroundClassBody aware of specifying a superclass that breaks the line. ([koic][])

Bug fixes

  • #6107: Fix indentation of multiline postfix conditionals. ([jaredbeck][])
  • #6140: Fix Style/DateTime not detecting #to_datetime. It can be configured to allow this. ([bdewater][])
  • #6132: Fix a false negative for Naming/FileName when Include of AllCops is the default setting. ([koic][])
  • #4115: Fix false positive for unary operations in Layout/MultilineOperationIndentation. ([jonas054][])
  • #6127: Fix an error for Layout/ClosingParenthesisIndentation when method arguments are empty with newlines. ([tatsuyafw][])
  • #6152: Fix a false negative for Layout/AccessModifierIndentation when using access modifiers with arguments within nested classes. ([gmalette][])
  • #6124: Fix Style/IfUnlessModifier cop for disabled Layout/Tab cop when there is no IndentationWidth config. ([AlexWayfer][])
  • #6133: Fix AllowURI option of Metrics/LineLength cop for files with tabs indentation. ([AlexWayfer][])
  • #6164: Fix incorrect autocorrect for Style/UnneededCondition when using operator method higher precedence than ||. ([koic][])
  • #6138: Fix a false positive for assigning a block local variable in Lint/ShadowedArgument. ([jonas054][])
  • #6022: Fix Layout/MultilineHashBraceLayout and Layout/MultilineArrayBraceLayout auto-correct syntax error when there is a comment on the last element. ([bacchir][])
  • #6175: Fix Style/BracesAroundHashParameters auto-correct syntax error when there is a trailing comma. ([bacchir][])
  • #6192: Make Style/RedundantBegin aware of stabby lambdas. ([drenmi][])
  • #6208: Ignore assignment methods in Naming/PredicateName. ([sunny][])
  • #6196: Fix incorrect autocorrect for Style/EmptyCaseCondition when using return in when clause and assigning the return value of case. ([koic][])
  • #6142: Ignore keyword arguments in Rails/Delegate. ([sunny][])
  • #6240: Fix an auto-correct error for Style/WordArray when setting EnforcedStyle: brackets and using string interpolation in %W literal. ([koic][])
  • #6202: Fix infinite loop when auto-correcting Lint/RescueEnsureAlignment when end is misaligned. The alignment and message are now based on the beginning position rather than the end position. ([rrosenblum][])
  • #6199: Don't recommend Date usage in Style/DateTime. ([deivid-rodriguez][])

Changes

  • #6161: Add scope methods to Rails/FindEach cop. Makes the cop also check for the following scopes: eager_load, includes, joins, left_joins, left_outer_joins, preload, references, and unscoped. ([repinel][])
  • #6137: Allow db to allowed names of Naming/UncommunicativeMethodParamName cop in default config. ([mkenyon][])
  • Update the highlighting of Lint/DuplicateMethods to include the method name. ([rrosenblum][])
  • #6057: Return 0 when running rubocop --auto-gen-conf if the todo file is successfully created even if there are offenses. ([MagedMilad][])
  • #4301: Turn off autocorrect for Rails/RelativeDateConstant by default. ([koic][])
  • #4832: Change the path pattern (*) to match the hidden file. ([koic][])
  • Style/For now highlights the entire statement rather than just the keyword. ([rrosenblum][])
  • Disable Performance/CaseWhenSplat and its auto-correction by default. ([rrosenblum][])
  • #6235: Enable Layout/EmptyLineAfterGuardClause cop by default. ([koic][])
  • #6199: Style/DateTime has been moved to disabled by default. ([deivid-rodriguez][])

[sunny]: https://github.com/sunny

... (truncated)
Changelog

Sourced from rubocop's changelog.

0.59.0 (2018-09-09)

New features

  • #6109: Add new Bundler/GemComment cop. ([sunny][])
  • #6148: Add IgnoredMethods option to Style/NumericPredicate cop. ([AlexWayfer][])
  • #6174: Add --display-only-fail-level-offenses to only output offenses at or above the fail level. ([robotdana][])
  • Add autocorrect to Style/For. ([rrosenblum][])
  • #6173: Add AllowImplicitReturn option to Rails/SaveBang cop. ([robotdana][])
  • #6218: Add comparison style to Style/NilComparison. ([khiav223577][])
  • Add new Style/MultilineMethodSignature cop. ([drenmi][])
  • #6234: Add Performance/ChainArrayAllocation cop. ([schneems][])
  • #6136: Add remote url in remote url download error message. ([ShockwaveNN][])
  • #5659: Make Layout/EmptyLinesAroundClassBody aware of specifying a superclass that breaks the line. ([koic][])

Bug fixes

  • #6107: Fix indentation of multiline postfix conditionals. ([jaredbeck][])
  • #6140: Fix Style/DateTime not detecting #to_datetime. It can be configured to allow this. ([bdewater][])
  • #6132: Fix a false negative for Naming/FileName when Include of AllCops is the default setting. ([koic][])
  • #4115: Fix false positive for unary operations in Layout/MultilineOperationIndentation. ([jonas054][])
  • #6127: Fix an error for Layout/ClosingParenthesisIndentation when method arguments are empty with newlines. ([tatsuyafw][])
  • #6152: Fix a false negative for Layout/AccessModifierIndentation when using access modifiers with arguments within nested classes. ([gmalette][])
  • #6124: Fix Style/IfUnlessModifier cop for disabled Layout/Tab cop when there is no IndentationWidth config. ([AlexWayfer][])
  • #6133: Fix AllowURI option of Metrics/LineLength cop for files with tabs indentation. ([AlexWayfer][])
  • #6164: Fix incorrect autocorrect for Style/UnneededCondition when using operator method higher precedence than ||. ([koic][])
  • #6138: Fix a false positive for assigning a block local variable in Lint/ShadowedArgument. ([jonas054][])
  • #6022: Fix Layout/MultilineHashBraceLayout and Layout/MultilineArrayBraceLayout auto-correct syntax error when there is a comment on the last element. ([bacchir][])
  • #6175: Fix Style/BracesAroundHashParameters auto-correct syntax error when there is a trailing comma. ([bacchir][])
  • #6192: Make Style/RedundantBegin aware of stabby lambdas. ([drenmi][])
  • #6208: Ignore assignment methods in Naming/PredicateName. ([sunny][])
  • #6196: Fix incorrect autocorrect for Style/EmptyCaseCondition when using return in when clause and assigning the return value of case. ([koic][])
  • #6142: Ignore keyword arguments in Rails/Delegate. ([sunny][])
  • #6240: Fix an auto-correct error for Style/WordArray when setting EnforcedStyle: brackets and using string interpolation in %W literal. ([koic][])
  • #6202: Fix infinite loop when auto-correcting Lint/RescueEnsureAlignment when end is misaligned. The alignment and message are now based on the beginning position rather than the end position. ([rrosenblum][])
  • #6199: Don't recommend Date usage in Style/DateTime. ([deivid-rodriguez][])

Changes

  • #6161: Add scope methods to Rails/FindEach cop. Makes the cop also check for the following scopes: eager_load, includes, joins, left_joins, left_outer_joins, preload, references, and unscoped. ([repinel][])
  • #6137: Allow db to allowed names of Naming/UncommunicativeMethodParamName cop in default config. ([mkenyon][])
  • Update the highlighting of Lint/DuplicateMethods to include the method name. ([rrosenblum][])
  • #6057: Return 0 when running rubocop --auto-gen-conf if the todo file is successfully created even if there are offenses. ([MagedMilad][])
  • #4301: Turn off autocorrect for Rails/RelativeDateConstant by default. ([koic][])
  • #4832: Change the path pattern (*) to match the hidden file. ([koic][])
  • Style/For now highlights the entire statement rather than just the keyword. ([rrosenblum][])
  • Disable Performance/CaseWhenSplat and its auto-correction by default. ([rrosenblum][])
  • #6235: Enable Layout/EmptyLineAfterGuardClause cop by default. ([koic][])
  • #6199: Style/DateTime has been moved to disabled by default. ([deivid-rodriguez][])
Commits
  • 52077ea Cut 0.59.0
  • fef557a [Fix #6202] RescueEnsureAlignment auto-correct infinite loop (#6246)
  • d38500d [Fix #4289] Clarify how overriding config hash values works
  • 5ef7144 Fix Layout/EmptyLineAfterGuardClause offenses
  • 11e4e65 Add specs for MemoizedInstanceVariableName (#6125)
  • a4baea7 Try improving docs for Style/DateTime
  • 3a21baa Disable Style/DateTime by default
  • a83f3db Style/DateTime no longer recommends Date
  • 1761057 Add AllowedReceivers to SaveBang
  • db39133 Follow Rails lead on naming
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.58.2 to 0.59.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v0.58.2...v0.59.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Superseded by #513.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-0.59.0 branch September 17, 2018 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments