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.46.0 to ~> 0.66.0 #609

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.66

New features

  • #6393: Add AllowBracesOnProceduralOneLiners option to fine-tune Style/BlockDelimiter's semantic mode. (@​davearonson)
  • #6383: Add AllowBeforeTrailingComments option on Layout/ExtraSpacing cop. (@​davearonson)
  • New cop Lint/SafeNavigationWithEmpty checks for foo&.empty? in conditionals. (@​rspeicher)
  • Add new Style/ConstantVisibility cop for enforcing visibility declarations of class and module constants. (@​drenmi)
  • #6378: Add Lint/ToJSON cop to enforce an argument when overriding #to_json. (@​allcentury)
  • #6346: Add auto-correction to Rails/TimeZone. (@​dcluna)
  • #6840: Node patterns now allow unlimited elements after .... (@​marcandre)

Bug fixes

  • #4321: Fix false offense for Style/RedundantSelf when the method is also defined on Kernel. (@​mikegee)
  • #6821: Fix false negative for Rails/LinkToBlank when _blank is a symbol. ([@​Intrepidd][])
  • #6699: Fix infinite loop for Layout/IndentationWidth and Layout/IndentationConsistency when bad modifier indentation before good method definition. ([@​koic][])
  • #6777: Fix a false positive for Style/TrivialAccessors when using trivial reader/writer methods at the top level. ([@​koic][])
  • #6799: Fix errors for Style/ConditionalAssignment, Style/IdenticalConditionalBranches, Lint/ElseLayout, and Layout/IndentationWidth with empty braces. ([@​pocke][])
  • #6802: Fix auto-correction for Style/SymbolArray with array contains interpolation when EnforcedStyle is brackets. ([@​pocke][])
  • #6797: Fix false negative for Layout/SpaceAroundBlockParameters on block parameter with parens. ([@​pocke][])
  • #6798: Fix infinite loop for Layout/SpaceAroundBlockParameters with EnforcedStyleInsidePipes: :space. ([@​pocke][])
  • #6803: Fix error for Style/NumericLiterals on a literal that contains spaces. ([@​pocke][])
  • #6801: Fix auto-correction for Style/Lambda with no-space argument. ([@​pocke][])
  • #6804: Fix auto-correction of Style/NumericLiterals on numeric literal with exponent. ([@​pocke][])
  • #6800: Fix an incorrect auto-correct for Rails/Validation when method arguments are enclosed in parentheses. ([@​koic][])
  • #6808: Prevent false positive in Naming/ConstantName when assigning a frozen range. (@​drenmi)
  • Fix the calculation of Metrics/AbcSize. Comparison methods and else branches add to the comparison count. ([@​rrosenblum][])
  • #6791: Allow Rails/ReflectionClassName to use symbol argument for class_name. ([@​unasuke][])
  • #5465: Fix Layout/ClassStructure to allow grouping macros by their visibility. ([@​gprado][])
  • #6461: Restrict Ctrl-C handling to RuboCop's loop and simplify it to a single phase. ([@​deivid-rodriguez][])

Changes

  • Add $stdout/$stderr and STDOUT/STDERR method calls to Rails/Output. ([@​elebow][])
  • #6688: Add iterator? to deprecated methods and prefer block_given? instead. ([@​tejasbubane][])
  • #6806: Remove powerpack dependency. ([@​dduugg][])
  • #6810: Exclude gemspec file by default for Metrics/BlockLength cop. ([@​koic][])
  • #6813: Allow unicode/display_width dependency version 1.5.0. ([@​tagliala][])
  • Make Style/RedundantFreeze aware of methods that will produce frozen objects. ([@​rrosenblum][])
  • #6675: Avoid printing deprecation warnings about constants. ([@​elmasantos][])
  • #6746: Avoid offense on $stderr.puts with no arguments. ([@​luciamo][])
  • Replace md5 with sha1 for FIPS compliance. ([@​dirtyharrycallahan][])
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.66.0 (2019-03-18)

New features

  • #6393: Add AllowBracesOnProceduralOneLiners option to fine-tune Style/BlockDelimiter's semantic mode. (@​davearonson)
  • #6383: Add AllowBeforeTrailingComments option on Layout/ExtraSpacing cop. (@​davearonson)
  • New cop Lint/SafeNavigationWithEmpty checks for foo&.empty? in conditionals. (@​rspeicher)
  • Add new Style/ConstantVisibility cop for enforcing visibility declarations of class and module constants. (@​drenmi)
  • #6378: Add Lint/ToJSON cop to enforce an argument when overriding #to_json. (@​allcentury)
  • #6346: Add auto-correction to Rails/TimeZone. (@​dcluna)
  • #6840: Node patterns now allow unlimited elements after .... (@​marcandre)

Bug fixes

  • #4321: Fix false offense for Style/RedundantSelf when the method is also defined on Kernel. (@​mikegee)
  • #6821: Fix false negative for Rails/LinkToBlank when _blank is a symbol. ([@​Intrepidd][])
  • #6699: Fix infinite loop for Layout/IndentationWidth and Layout/IndentationConsistency when bad modifier indentation before good method definition. ([@​koic][])
  • #6777: Fix a false positive for Style/TrivialAccessors when using trivial reader/writer methods at the top level. ([@​koic][])
  • #6799: Fix errors for Style/ConditionalAssignment, Style/IdenticalConditionalBranches, Lint/ElseLayout, and Layout/IndentationWidth with empty braces. ([@​pocke][])
  • #6802: Fix auto-correction for Style/SymbolArray with array contains interpolation when EnforcedStyle is brackets. ([@​pocke][])
  • #6797: Fix false negative for Layout/SpaceAroundBlockParameters on block parameter with parens. ([@​pocke][])
  • #6798: Fix infinite loop for Layout/SpaceAroundBlockParameters with EnforcedStyleInsidePipes: :space. ([@​pocke][])
  • #6803: Fix error for Style/NumericLiterals on a literal that contains spaces. ([@​pocke][])
  • #6801: Fix auto-correction for Style/Lambda with no-space argument. ([@​pocke][])
  • #6804: Fix auto-correction of Style/NumericLiterals on numeric literal with exponent. ([@​pocke][])
  • #6800: Fix an incorrect auto-correct for Rails/Validation when method arguments are enclosed in parentheses. ([@​koic][])
  • #6808: Prevent false positive in Naming/ConstantName when assigning a frozen range. (@​drenmi)
  • Fix the calculation of Metrics/AbcSize. Comparison methods and else branches add to the comparison count. ([@​rrosenblum][])
  • #6791: Allow Rails/ReflectionClassName to use symbol argument for class_name. ([@​unasuke][])
  • #5465: Fix Layout/ClassStructure to allow grouping macros by their visibility. ([@​gprado][])
  • #6461: Restrict Ctrl-C handling to RuboCop's loop and simplify it to a single phase. ([@​deivid-rodriguez][])

Changes

  • Add $stdout/$stderr and STDOUT/STDERR method calls to Rails/Output. ([@​elebow][])
  • #6688: Add iterator? to deprecated methods and prefer block_given? instead. ([@​tejasbubane][])
  • #6806: Remove powerpack dependency. ([@​dduugg][])
  • #6810: Exclude gemspec file by default for Metrics/BlockLength cop. ([@​koic][])
  • #6813: Allow unicode/display_width dependency version 1.5.0. ([@​tagliala][])
  • Make Style/RedundantFreeze aware of methods that will produce frozen objects. ([@​rrosenblum][])
  • #6675: Avoid printing deprecation warnings about constants. ([@​elmasantos][])
  • #6746: Avoid offense on $stderr.puts with no arguments. ([@​luciamo][])
  • Replace md5 with sha1 for FIPS compliance. ([@​dirtyharrycallahan][])

0.65.0 (2019-02-19)

New features

  • #6126: Add an experimental strict mode to Style/MutableConstant that will freeze all constants, rather than just literals. ([@​rrosenblum][])
  • Add IncludedMacros to Style/MethodCallWithArgsParentheses to allow including specific macros when IgnoreMacros is true. ([@​maxh][])
... (truncated)
Commits
  • 2e96953 Cut 0.66
  • a5041a5 Tweak a few changelog entries
  • 7c82792 Unlimited terms after ellipsis (#6843)
  • 706dc52 Insert a newline at EOF of CHANGELOG.md
  • 5892ed9 [Fix #6393] Add AllowBracesOnProceduralOneLiners option to Style/BlockDelimit...
  • 90e4a27 Add IncludedMacros config option to MethodCallWithArgsParentheses
  • 0161216 Make Style/RedundantFreeze aware of methods that will produce frozen object...
  • f7566d6 Replace md5 with sha1 for FIPS compliance
  • 6ae6a35 Fix the changelog
  • 6b91f43 [Fix #6383] Add AllowBeforeTrailingComments option to Layout/ExtraSpacing cop...
  • 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 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.

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

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 18, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #611.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-tw-0.66.0 branch April 5, 2019 13:16
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.

None yet

1 participant