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.42.0 to 0.50.0 #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 6, 2019

Bumps rubocop from 0.42.0 to 0.50.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.50

New features

  • #4464: Add EnforcedStyleForEmptyBraces parameter to Layout/SpaceBeforeBlockBraces cop. ([@​palkan][])
  • #4453: New cop Style/RedundantConditional checks for conditionals that return true/false. ([@​petehamilton][])
  • #4448: Add new TapFormatter. ([@​cyberdelia][])
  • Add new Style/HeredocDelimiters cop. ([@​drenmi][])
  • #4153: New cop Lint/ReturnInVoidContext checks for the use of a return with a value in a context where it will be ignored. ([@​harold-s][])
  • Add auto-correct support to Lint/ScriptPermission. ([@​rrosenblum][])
  • #4514: Add configuration options to Style/YodaCondition to support checking all comparison operators or equality operators only. ([@​smakagon][])
  • Add new Lint/BooleanSymbol cop. ([@​droptheplot][])
  • Make Rails/PluralizationGrammar use singular methods for -1 / -1.0. ([@​promisedlandt][])
  • #4541: Add new Rails/HasManyOrHasOneDependent cop. ([@​oboxodo][])
  • Add new Style/Dir cop. ([@​drenmi][])
  • Add new Style/HeredocDelimiterCase cop. ([@​drenmi][])
  • #2943: Add new Lint/RescueWithoutErrorClass cop. ([@​drenmi][])
  • #4568: Fix autocorrection for Style/TrailingUnderscoreVariable. ([@​smakagon][])
  • #4586: Add new Performance/UnfreezeString cop. ([@​pocke][])
  • #2976: Add Whitelist configuration option to Style/NestedParenthesizedCalls cop. ([@​drenmi][])
  • #3965: Add new Style/DoublePipeEquals cop. ([@​donjar][])
  • Make rake new_cop create parent directories if they do not already exist. ([@​highb][])
  • #4368: Make Performance/HashEachMethod inspect send nodes with any receiver. ([@​gohdaniel15][])
  • #4508: Add new Style/ReturnNil cop. ([@​donjar][])
  • #4629: Add Metrics/MethodLength cop for define_method. ([@​jekuta][])
  • #4702: Add new Lint/UriEscapeUnescape cop. ([@​koic][])
  • #4696: Add new Performance/UriDefaultParser cop. ([@​koic][])
  • #4694: Add new Lint/UriRegexp cop. ([@​koic][])
  • Add new Style/MinMax cop. ([@​drenmi][])
  • #4720: Add new Bundler/InsecureProtocolSource cop. ([@​koic][])
  • #4708: Add new Lint/RedundantWithIndex cop`. ([@koic][])

Bug fixes

  • #4709: Use cached remote config on network failure. ([@kristjan][])
  • #4688: Accept yoda condition which isn't commutative. ([@fujimura][])
  • #4676: Make Style/RedundantConditional cop work with elsif. ([@akhramov][])
  • #4656: Modify Style/ConditionalAssignment autocorrection to work with unbracketed arrays. ([@akhramov][])
  • #4615: Don't consider <=> a comparison method. ([@iGEL][])
  • #4664: Fix typos in Rails/HttpPositionalArguments. ([@JoeCohen][])
  • #4618: Fix Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). ([@barthez][])
  • #4604: Fix Style/LambdaCall to autocorrect obj.call to obj.. ([@iGEL][])
  • #4443: Prevent Style/YodaCondition from breaking not LITERAL. ([@pocke][])
  • #4434: Prevent bad auto-correct in Style/Alias for non-literal arguments. ([@Drenmi][])
  • #4451: Make Style/AndOr cop aware of comparison methods. ([@Drenmi][])
  • #4457: Fix false negative in Lint/Void with initialize and setter methods. ([@pocke][])
  • #4418: Register an offense in Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. ([@rrosenblum][])
  • #4491: Prevent bad auto-correct in Style/EmptyElse for nested if. ([@pocke][])
  • #4485: Handle 304 status for remote config files. ([@daniloisr][])
  • #4529: Make Lint/UnreachableCode aware of if and case. ([@​pocke][])
  • #4469: Include permissions in file cache. ([@​pocke][])
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.50.0 (2017-09-14)

New features

  • #4464: Add EnforcedStyleForEmptyBraces parameter to Layout/SpaceBeforeBlockBraces cop. ([@​palkan][])
  • #4453: New cop Style/RedundantConditional checks for conditionals that return true/false. ([@​petehamilton][])
  • #4448: Add new TapFormatter. ([@​cyberdelia][])
  • #4467: Add new Style/HeredocDelimiters cop(Note: This cop was renamed to Naming/HeredocDelimiterNaming). ([@​drenmi][])
  • #4153: New cop Lint/ReturnInVoidContext checks for the use of a return with a value in a context where it will be ignored. ([@​harold-s][])
  • #4506: Add auto-correct support to Lint/ScriptPermission. ([@​rrosenblum][])
  • #4514: Add configuration options to Style/YodaCondition to support checking all comparison operators or equality operators only. ([@​smakagon][])
  • #4515: Add new Lint/BooleanSymbol cop. ([@​droptheplot][])
  • #4535: Make Rails/PluralizationGrammar use singular methods for -1 / -1.0. ([@​promisedlandt][])
  • #4541: Add new Rails/HasManyOrHasOneDependent cop. ([@​oboxodo][])
  • #4552: Add new Style/Dir cop. ([@​drenmi][])
  • #4548: Add new Style/HeredocDelimiterCase cop(Note: This cop is renamed to Naming/HeredocDelimiterCase). ([@​drenmi][])
  • #2943: Add new Lint/RescueWithoutErrorClass cop. ([@​drenmi][])
  • #4568: Fix autocorrection for Style/TrailingUnderscoreVariable. ([@​smakagon][])
  • #4586: Add new Performance/UnfreezeString cop. ([@​pocke][])
  • #2976: Add Whitelist configuration option to Style/NestedParenthesizedCalls cop. ([@​drenmi][])
  • #3965: Add new Style/OrAssignment cop. ([@​donjar][])
  • #4655: Make rake new_cop create parent directories if they do not already exist. ([@​highb][])
  • #4368: Make Performance/HashEachMethod inspect send nodes with any receiver. ([@​gohdaniel15][])
  • #4508: Add new Style/ReturnNil cop. ([@​donjar][])
  • #4629: Add Metrics/MethodLength cop for define_method. ([@​jekuta][])
  • #4702: Add new Lint/UriEscapeUnescape cop. ([@​koic][])
  • #4696: Add new Performance/UriDefaultParser cop. ([@​koic][])
  • #4694: Add new Lint/UriRegexp cop. ([@​koic][])
  • #4711: Add new Style/MinMax cop. ([@​drenmi][])
  • #4720: Add new Bundler/InsecureProtocolSource cop. ([@​koic][])
  • #4708: Add new Lint/RedundantWithIndex cop. ([@​koic][])
  • #4480: Add new Lint/InterpolationCheck cop. ([@​GauthamGoli][])
  • #4628: Add new Lint/NestedPercentLiteral cop. ([@​asherkach][])

Bug fixes

  • #4709: Use cached remote config on network failure. ([@​kristjan][])
  • #4688: Accept yoda condition which isn't commutative. ([@​fujimura][])
  • #4676: Make Style/RedundantConditional cop work with elsif. ([@​akhramov][])
  • #4656: Modify Style/ConditionalAssignment autocorrection to work with unbracketed arrays. ([@​akhramov][])
  • #4615: Don't consider <=> a comparison method. ([@​iGEL][])
  • #4664: Fix typos in Rails/HttpPositionalArguments. ([@​JoeCohen][])
  • #4618: Fix Lint/FormatParameterMismatch false positive if format string includes %%5B (CGI encoded left bracket). ([@​barthez][])
  • #4604: Fix Style/LambdaCall to autocorrect obj.call to obj.. ([@​iGEL][])
  • #4443: Prevent Style/YodaCondition from breaking not LITERAL. ([@​pocke][])
  • #4434: Prevent bad auto-correct in Style/Alias for non-literal arguments. ([@​drenmi][])
  • #4451: Make Style/AndOr cop aware of comparison methods. ([@​drenmi][])
  • #4457: Fix false negative in Lint/Void with initialize and setter methods. ([@​pocke][])
  • #4418: Register an offense in Style/ConditionalAssignment when the assignment line is the longest line, and it does not exceed the max line length. ([@​rrosenblum][])
  • #4491: Prevent bad auto-correct in Style/EmptyElse for nested if. ([@​pocke][])
... (truncated)
Commits

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

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2019
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.

0 participants