Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Mar 19, 2019

Bumps rubocop from 0.65.0 to 0.66.0.

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][])
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 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.

@indocomsoft indocomsoft temporarily deployed to dutycommit-pr-277 March 19, 2019 07:09 Inactive
@coveralls
Copy link

coveralls commented Mar 19, 2019

Pull Request Test Coverage Report for Build 2123

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.46%

Totals Coverage Status
Change from base Build 2121: 0.0%
Covered Lines: 545
Relevant Lines: 565

💛 - Coveralls

@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rubocop-0.66.0 branch from 9aee6ea to 3f9d74c Compare March 20, 2019 06:49
@indocomsoft indocomsoft temporarily deployed to dutycommit-pr-277 March 20, 2019 06:49 Inactive
@dependabot-preview dependabot-preview bot force-pushed the dependabot/bundler/rubocop-0.66.0 branch from 3f9d74c to d92c2a4 Compare March 22, 2019 09:44
@indocomsoft indocomsoft temporarily deployed to dutycommit-pr-277 March 22, 2019 09:44 Inactive
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.65.0 to 0.66.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.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@indocomsoft indocomsoft merged commit a0d2004 into master Mar 23, 2019
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-0.66.0 branch March 23, 2019 16:31
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.

4 participants