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 1.4.2 to 1.5.1 #3111

Merged
merged 1 commit into from Dec 3, 2020
Merged

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps rubocop from 1.4.2 to 1.5.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.5.0

New features

  • #9112: Add new cop Lint/UnexpectedBlockArity. (@dvandersluis)
  • #9010: Metrics/ParameterLists supports MaxOptionalParameters config parameter. (@fatkodima)
  • #9114: Support auto-correction for Style/SoleNestedConditional. (@koic)
  • #8564: Metrics/AbcSize: Add optional discount for repeated "attributes". (@marcandre)

Bug fixes

  • #8820: Fixes IfWithSemicolon autocorrection when elsif is present. (@adrian-rivera, @dvandersluis)
  • #9113: Fix a false positive for Style/MethodCallWithoutArgsParentheses when assigning to a default argument with the same name. (@koic)
  • #9115: Fix a false positive for Style/FirstArgumentIndentation when argument has expected indent width and the method is preceded by splat for EnforcedStyle: consistent_relative_to_receiver. (@koic)
  • #9128: Fix an incorrect auto-correct for Style/ClassAndModuleChildren when namespace is defined as a class in the same file. (@koic)
  • #9105: Fix an incorrect auto-correct for Style/RedundantCondition when using operator method in else. (@koic)
  • #9096: Fix #9095 use merged_config instead of config for pending new cop check. (@ThomasKoppensteiner)
  • #8053: Fix an incorrect auto-correct for Style/AndOr when or precedes and. (@koic)
  • #9097: Fix a false positive for Layout/EmptyLinesAroundArguments when blank line is inserted between method with arguments and receiver. (@koic)

Changes

  • #9122: Added tip message if any gems are loaded that have RuboCop extensions. (@dvandersluis)
  • #9104: Preset some stdlib method names for Naming/VariableNumber. (@koic)
  • #9127: Update Style/SymbolProc to be aware of numblocks. (@dvandersluis)
  • #9102: Upgrade regexp_parser to 2.0. (@knu)
  • #9100: Update ConfigObsoletion so that parameters can be deprecated but still accepted. (@dvandersluis)
  • #9108: Update Lint/UnmodifiedReduceAccumulator to handle numblocks and more than 2 arguments. (@dvandersluis)
  • #9098: Update Metrics/BlockLength and Metrics/MethodLength to use IgnoredMethods instead of ExcludedMethods in configuration. The previous key is retained for backwards compatibility. (@dvandersluis)
  • #9098: Update IgnoredMethods so that every cop that uses it will accept both strings and regexes in the configuration. (@dvandersluis)
Changelog

Sourced from rubocop's changelog.

1.5.1 (2020-12-02)

Bug fixes

  • #8684: Fix an error for Lint/InterpolationCheck cop. ([@tejasbubane][])
  • #9145: Fix issues with SuggestExtensions when bundler is not available, or when there is no gemfile. ([@dvandersluis][])
  • #9140: Fix an error for Layout/EmptyLinesAroundArguments when multiline style argument for method call without selector. ([@koic][])
  • #9136: Fix AllowedIdentifiers in Naming/VariableNumber to include variable assignments. ([@PhilCoggins][])

1.5.0 (2020-12-01)

New features

  • #9112: Add new cop Lint/UnexpectedBlockArity. ([@dvandersluis][])
  • #9010: Metrics/ParameterLists supports MaxOptionalParameters config parameter. ([@fatkodima][])
  • #9114: Support auto-correction for Style/SoleNestedConditional. ([@koic][])
  • #8564: Metrics/AbcSize: Add optional discount for repeated "attributes". ([@marcandre][])

Bug fixes

  • #8820: Fixes IfWithSemicolon autocorrection when elsif is present. ([@adrian-rivera][], [@dvandersluis][])
  • #9113: Fix a false positive for Style/MethodCallWithoutArgsParentheses when assigning to a default argument with the same name. ([@koic][])
  • #9115: Fix a false positive for Style/FirstArgumentIndentation when argument has expected indent width and the method is preceded by splat for EnforcedStyle: consistent_relative_to_receiver. ([@koic][])
  • #9128: Fix an incorrect auto-correct for Style/ClassAndModuleChildren when namespace is defined as a class in the same file. ([@koic][])
  • #9105: Fix an incorrect auto-correct for Style/RedundantCondition when using operator method in else. ([@koic][])
  • #9096: Fix #9095 use merged_config instead of config for pending new cop check. ([@ThomasKoppensteiner][])
  • #8053: Fix an incorrect auto-correct for Style/AndOr when or precedes and. ([@koic][])
  • #9097: Fix a false positive for Layout/EmptyLinesAroundArguments when blank line is inserted between method with arguments and receiver. ([@koic][])

Changes

  • #9122: Added tip message if any gems are loaded that have RuboCop extensions. ([@dvandersluis][])
  • #9104: Preset some stdlib method names for Naming/VariableNumber. ([@koic][])
  • #9127: Update Style/SymbolProc to be aware of numblocks. ([@dvandersluis][])
  • #9102: Upgrade regexp_parser to 2.0. ([@knu][])
  • #9100: Update ConfigObsoletion so that parameters can be deprecated but still accepted. ([@dvandersluis][])
  • #9108: Update Lint/UnmodifiedReduceAccumulator to handle numblocks and more than 2 arguments. ([@dvandersluis][])
  • #9098: Update Metrics/BlockLength and Metrics/MethodLength to use IgnoredMethods instead of ExcludedMethods in configuration. The previous key is retained for backwards compatibility. ([@dvandersluis][])
  • #9098: Update IgnoredMethods so that every cop that uses it will accept both strings and regexes in the configuration. ([@dvandersluis][])
Commits
  • a9bc979 Cut 1.5.1
  • b551064 Update Changelog
  • 004bb5a [Fix #9145] Fix issues with SuggestExtensions when bundler is not available, ...
  • 0849d36 [Fix #9140] Fix an error for Layout/EmptyLinesAroundArguments
  • c0f6b9d [Fix #8684] Fix an error for Lint/InterpolationCheck cop
  • dd4bf2b Fix rubocop failure introduced in 9a8777f
  • c21fe12 Add tests and documentation for SuggestExtensions
  • 9a8777f AllowedIdentifiers now also checks variable assignments (#9136)
  • 18348ef Fix changelog
  • 3d1d441 Fix the release notes
  • 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 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.4.2...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@andrew andrew merged commit ae3f71e into master Dec 3, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-1.5.1 branch December 3, 2020 14:59
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.

None yet

1 participant