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 from 0.67.2 to 0.68.0 #77

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 0.67.2 to 0.68.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.68

New features

  • #6973: Add always_braces to Style/BlockDelimiter. (@​iGEL)
  • #6841: Node patterns can now match children in any order using <>. (@​marcandre)
  • #6928: Add --init option for generate .rubocop.yml file in the current directory. (@​koic)
  • Add new Layout/HeredocArgumentClosingParenthesis cop. (@​maxh)
  • #6895: Add support for XDG config home for user-config. (@​Mange, [@​tejasbubane][])
  • Add initial autocorrection support to Metrics/LineLength. (@​maxh)
  • Add Layout/IndentFirstParameter. (@​maxh)
  • #6974: Make Layout/FirstMethodArgumentLineBreak aware of calling using super. (@​koic)
  • Add new Lint/HeredocMethodCallPosition cop. (@​maxh)

Bug fixes

  • Do not annotate message with cop name in JSON output. ([@​elebow][])
  • #6914: Fix an error for Rails/RedundantAllowNil when with interpolations. ([@​Blue-Pix][])
  • #6888: Fix an error for Rails/ActiveRecordOverride when no parent_class present. ([@​diachini][])
  • #6941: Add missing absence validations to Rails/Validation. ([@​jmanian][])
  • #6926: Allow nil values to unset config defaults. ([@​dduugg][])
  • #6946: Allow Rails/ReflectionClassName to use string interpolation for class_name. ([@​r7kamura][])
  • #6778: Fix a false positive in Style/HashSyntax cop when a hash key is an interpolated string and EnforcedStyle is ruby19_no_mixed_keys. ([@​tatsuyafw][])
  • #6902: Fix a bug where Naming/RescuedExceptionsVariableName would handle an only first rescue for multiple rescue groups. ([@​tatsuyafw][])
  • #6860: Prevent auto-correct conflict of Style/InverseMethods and Style/Not. ([@​hoshinotsuyoshi][])
  • #6935: Layout/AccessModifierIndentation should ignore access modifiers that apply to specific methods. ([@​deivid-rodriguez][])
  • #6956: Prevent auto-correct confliction of Lint/Lambda and Lint/UnusedBlockArgument. (@​koic)
  • #6915: Fix false positive in Style/SafeNavigation when a modifier if is safe guarding a method call being passed to break, fail, next, raise, return, throw, and yield. ([@​rrosenblum][])
  • #6822: Fix Lint/LiteralInInterpolation autocorrection for single quotes. ([@​hoshinotsuyoshi][])
  • #6985: Fix an incorrect auto-correct for Lint/LiteralInInterpolation if contains array percent literal. ([@​yakout][])

Changes

  • #6966: Mark Rails/TimeZone as unsafe. ([@​vfonic][])
  • #5977: Remove Performance cops. (@​koic)
  • Add auto-correction to Naming/RescuedExceptionsVariableName. ([@​anthony-robin][])
  • #6903: Handle variables prefixed with _ in Naming/RescuedExceptionsVariableName cop. ([@​anthony-robin][])
  • #6917: Bump Bundler dependency to >= 1.15.0. (@​koic)
  • Add --auto-gen-only-exclude to the command outputted in rubocop_todo.yml if the option is specified. ([@​dvandersluis][])
  • #6887: Allow Lint/UnderscorePrefixedVariableName cop to be configured to allow use of block keyword args. ([@​dduugg][])
  • #6885: Revert adding psych >= 3.1 as runtime dependency. ([@​andreaseger][])
  • Rename Layout/FirstParameterIndentation to Layout/IndentFirstArgument. (@​maxh)
  • Extract method call argument alignment behavior from Layout/AlignParameters into Layout/AlignArguments. (@​maxh)
  • Rename IndentArray and IndentHash to IndentFirstArrayElement and IndentFirstHashElement. (@​maxh)
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.68.0 (2019-04-29)

New features

  • #6973: Add always_braces to Style/BlockDelimiter. (@​iGEL)
  • #6841: Node patterns can now match children in any order using <>. (@​marcandre)
  • #6928: Add --init option for generate .rubocop.yml file in the current directory. (@​koic)
  • Add new Layout/HeredocArgumentClosingParenthesis cop. (@​maxh)
  • #6895: Add support for XDG config home for user-config. (@​Mange, [@​tejasbubane][])
  • Add initial autocorrection support to Metrics/LineLength. (@​maxh)
  • Add Layout/IndentFirstParameter. (@​maxh)
  • #6974: Make Layout/FirstMethodArgumentLineBreak aware of calling using super. (@​koic)
  • Add new Lint/HeredocMethodCallPosition cop. (@​maxh)

Bug fixes

  • Do not annotate message with cop name in JSON output. ([@​elebow][])
  • #6914: Fix an error for Rails/RedundantAllowNil when with interpolations. ([@​Blue-Pix][])
  • #6888: Fix an error for Rails/ActiveRecordOverride when no parent_class present. ([@​diachini][])
  • #6941: Add missing absence validations to Rails/Validation. ([@​jmanian][])
  • #6926: Allow nil values to unset config defaults. ([@​dduugg][])
  • #6946: Allow Rails/ReflectionClassName to use string interpolation for class_name. ([@​r7kamura][])
  • #6778: Fix a false positive in Style/HashSyntax cop when a hash key is an interpolated string and EnforcedStyle is ruby19_no_mixed_keys. ([@​tatsuyafw][])
  • #6902: Fix a bug where Naming/RescuedExceptionsVariableName would handle an only first rescue for multiple rescue groups. ([@​tatsuyafw][])
  • #6860: Prevent auto-correct conflict of Style/InverseMethods and Style/Not. ([@​hoshinotsuyoshi][])
  • #6935: Layout/AccessModifierIndentation should ignore access modifiers that apply to specific methods. ([@​deivid-rodriguez][])
  • #6956: Prevent auto-correct confliction of Lint/Lambda and Lint/UnusedBlockArgument. (@​koic)
  • #6915: Fix false positive in Style/SafeNavigation when a modifier if is safe guarding a method call being passed to break, fail, next, raise, return, throw, and yield. ([@​rrosenblum][])
  • #6822: Fix Lint/LiteralInInterpolation autocorrection for single quotes. ([@​hoshinotsuyoshi][])
  • #6985: Fix an incorrect auto-correct for Lint/LiteralInInterpolation if contains array percent literal. ([@​yakout][])

Changes

  • #6966: Mark Rails/TimeZone as unsafe. ([@​vfonic][])
  • #5977: Remove Performance cops. (@​koic)
  • Add auto-correction to Naming/RescuedExceptionsVariableName. ([@​anthony-robin][])
  • #6903: Handle variables prefixed with _ in Naming/RescuedExceptionsVariableName cop. ([@​anthony-robin][])
  • #6917: Bump Bundler dependency to >= 1.15.0. (@​koic)
  • Add --auto-gen-only-exclude to the command outputted in rubocop_todo.yml if the option is specified. ([@​dvandersluis][])
  • #6887: Allow Lint/UnderscorePrefixedVariableName cop to be configured to allow use of block keyword args. ([@​dduugg][])
  • #6885: Revert adding psych >= 3.1 as runtime dependency. ([@​andreaseger][])
  • Rename Layout/FirstParameterIndentation to Layout/IndentFirstArgument. (@​maxh)
  • Extract method call argument alignment behavior from Layout/AlignParameters into Layout/AlignArguments. (@​maxh)
  • Rename IndentArray and IndentHash to IndentFirstArrayElement and IndentFirstHashElement. (@​maxh)
Commits
  • 9790976 Cut 0.68
  • 0391069 Add HeredocMethodCallPosition cop
  • 557ad20 [Fix #6822] Fix Lint/LiteralInInterpolation autocorrection for single quotes ...
  • 6b68976 Fix a typo for Layout/IndentFirstParameter
  • 17cdf5a [Fix #6985] Fix Lint/LiteralInInterpolation's autocorrect (#6986)
  • 666587c NodePattern: Fix $<>
  • 87a6ec4 Add always_braces to Style/BlockDelimiters
  • b1510dd Fix edge case bugs for HeredocArgumentClosingParenthesis
  • 184c2a1 Rename IndentArray and IndentHash to IndentFirst*Element
  • 326da99 Add obsolete message for renaming Layout/FirstParameterIndentation
  • 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 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.

@david942j david942j merged commit 0a08ff4 into master Apr 29, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-0.68.0 branch April 29, 2019 22:19
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.

2 participants