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.40.0 to 0.57.2 #2

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 Dec 21, 2019

Bumps rubocop from 0.40.0 to 0.57.2.

Release notes

Sourced from rubocop's releases.

RuboCop 0.57.2

Bug fixes

  • #5968: Prevent Layout/ClosingHeredocIndentation from raising an error on << heredocs. (@​dvandersluis)
  • #5965: Prevent Layout/ClosingHeredocIndentation from raising an error on heredocs containing only a newline. (@​drenmi)
  • Prevent a crash in Layout/IndentationConsistency cop triggered by an empty expression string interpolation. (@​alexander-lazarov)
  • #5951: Prevent Style/MethodCallWithArgsParentheses from raising an error in certain cases. (@​drenmi)

RuboCop 0.57.1

Bug fixes

  • #5963: Allow Performance/ReverseEach to apply to any receiver. (@​dvandersluis)
  • #5917: Fix erroneous warning for inherit_mode directive. (@​jonas054)
  • #5380: Fix false negative in Layout/IndentationWidth when an access modifier section has an invalid indentation body. (@​tatsuyafw)
  • #5909: Even when a module has no public methods, Layout/IndentationConsistency should still register an offense for private methods. (@​jaredbeck)
  • #5958: Handle empty method body in Rails/BulkChangeTable. (@​wata727)
  • #5954: Make Style/UnneededCondition cop accepts a case of condition and if_branch are same when using elsif branch. (@​koic)

RuboCop 0.57

New features

  • #5881: Add new Rails/BulkChangeTable cop. (@​wata727)
  • #5444: Add new Style/AccessModifierDeclarations cop. ([@​brandonweiss][])
  • #5803: Add new Style/UnneededCondition cop. ([@​balbesina][])
  • #5406: Add new Layout/ClosingHeredocIndentation cop. ([@​siggymcfried][])
  • #5823: Add new slashes style to Rails/FilePath since Ruby accepts forward slashes even on Windows. ([@​sunny][])
  • New cop Layout/LeadingBlankLines checks for empty lines at the beginning of a file. ([@​rrosenblum][])

Bug fixes

  • #5897: Fix Style/SymbolArray and Style/WordArray not working on arrays of size 1. ([@​TikiTDO][])
  • #5894: Fix Rails/AssertNot to allow it to have failure message. (@​koic)
  • #5888: Do not register an offense for headers or env keyword arguments in Rails/HttpPositionalArguments. ([@​rrosenblum][])
  • Fix the indentation of autocorrected closing squiggly heredocs. ([@​garettarrowood][])
  • #5908: Fix Style/BracesAroundHashParameters auto-correct going past the end of the file when the closing curly brace is on the last line of a file. ([@​EiNSTeiN-][])
  • Fix a bug where Style/FrozenStringLiteralComment would be added to the second line if the first line is empty. ([@​rrosenblum][])
  • #5914: Make Layout/SpaceInsideReferenceBrackets aware of no_space when using nested reference brackets. (@​koic)
  • #5799: Fix false positive in Style/MixinGrouping when method named include accepts block. ([@​Darhazer][])
... (truncated)
Changelog

Sourced from rubocop's changelog.

0.57.2 (2018-06-12)

Bug fixes

  • #5968: Prevent Layout/ClosingHeredocIndentation from raising an error on << heredocs. (@​dvandersluis)
  • #5965: Prevent Layout/ClosingHeredocIndentation from raising an error on heredocs containing only a newline. (@​drenmi)
  • Prevent a crash in Layout/IndentationConsistency cop triggered by an empty expression string interpolation. (@​alexander-lazarov)
  • #5951: Prevent Style/MethodCallWithArgsParentheses from raising an error in certain cases. (@​drenmi)

0.57.1 (2018-06-07)

Bug fixes

  • #5963: Allow Performance/ReverseEach to apply to any receiver. (@​dvandersluis)
  • #5917: Fix erroneous warning for inherit_mode directive. (@​jonas054)
  • #5380: Fix false negative in Layout/IndentationWidth when an access modifier section has an invalid indentation body. (@​tatsuyafw)
  • #5909: Even when a module has no public methods, Layout/IndentationConsistency should still register an offense for private methods. (@​jaredbeck)
  • #5958: Handle empty method body in Rails/BulkChangeTable. (@​wata727)
  • #5954: Make Style/UnneededCondition cop accepts a case of condition and if_branch are same when using elsif branch. (@​koic)

0.57.0 (2018-06-06)

New features

  • #5881: Add new Rails/BulkChangeTable cop. (@​wata727)
  • #5444: Add new Style/AccessModifierDeclarations cop. ([@​brandonweiss][])
  • #5803: Add new Style/UnneededCondition cop. ([@​balbesina][])
  • #5406: Add new Layout/ClosingHeredocIndentation cop. ([@​siegfault][])
  • #5823: Add new slashes style to Rails/FilePath since Ruby accepts forward slashes even on Windows. ([@​sunny][])
  • New cop Layout/LeadingBlankLines checks for empty lines at the beginning of a file. ([@​rrosenblum][])

Bug fixes

  • #5897: Fix Style/SymbolArray and Style/WordArray not working on arrays of size 1. ([@​TikiTDO][])
  • #5894: Fix Rails/AssertNot to allow it to have failure message. (@​koic)
  • #5888: Do not register an offense for headers or env keyword arguments in Rails/HttpPositionalArguments. ([@​rrosenblum][])
  • Fix the indentation of autocorrected closing squiggly heredocs. ([@​garettarrowood][])
  • #5908: Fix Style/BracesAroundHashParameters auto-correct going past the end of the file when the closing curly brace is on the last line of a file. ([@​EiNSTeiN-][])
  • Fix a bug where Style/FrozenStringLiteralComment would be added to the second line if the first line is empty. ([@​rrosenblum][])
  • #5914: Make Layout/SpaceInsideReferenceBrackets aware of no_space when using nested reference brackets. (@​koic)
  • #5799: Fix false positive in Style/MixinGrouping when method named include accepts block. ([@​Darhazer][])

Changes

  • #5937: Add new --fix-layout/-x command line alias. ([@​scottmatthewman][])
  • #5887: Remove Lint/SplatKeywordArguments cop. (@​koic)
  • #5761: Add httpdate to accepted Rails/TimeZone methods. ([@​cupakromer][])
  • #5899: Add xmlschema to accepted Rails/TimeZone methods. (@​koic)
  • #5906: Move REPL command from rake repl task to bin/console command. (@​koic)
  • #5917: Let inherit_mode work for default configuration too. (@​jonas054)
... (truncated)
Commits
  • 57565ec Cut 0.57.2
  • 2ad683b [Fix #5968] Don't consider << heredocs for Layout/ClosingHeredocIndentation
  • ecb8349 Restyle example formatting for Layout/FirstParameterIndentation
  • aa6804e [Fix #5951] Prevent Style/MethodCallWithArgsParentheses from raising error in...
  • aab0516 Improve usage of offense matchers and heredocs in specs
  • ded14d8 Change the URL of "About pull requests" [ci skip]
  • cffc20e Prevent a crash in Layout/IndentationConsistency cop
  • c7f41e7 [Fix #5965] Prevent Layout/ClosingHeredocIndentation from raising an error ...
  • bef6666 Merge pull request #5969 from alfonsojimenez/master
  • cd5514f Fixing typo in Layout/ClosingHeredocIndentation
  • 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

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 Dec 21, 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