Skip to content

Conversation

@depfu
Copy link
Contributor

@depfu depfu bot commented May 14, 2018

We've upgraded a dependency and all tests pass. \o/

name version specification new version
rubocop ~> 0.55.0 0.56.0

You should probably take a good look at this before merging this pull request, of course.

What changed?

✳️ rubocop ( → 0.56.0) · Repo · Changelog

Release Notes

From the Github release:

New features

  • #5848: Add new Performance/InefficientHashSearch cop. (@JacobEvelyn)
  • #5801: Add new Rails/RefuteMethods cop. (@koic)
  • #5805: Add new Rails/AssertNot cop. (@composerinteralia)
  • #4136: Allow more robust Layout/ClosingParenthesisIndentation detection including method chaining. (@jfelchner)
  • #5699: Add consistent_relative_to_receiver style option to Layout/FirstParameterIndentation. (@jfelchner)
  • #5821: Support AR::Migration#up_only for Rails/ReversibleMigration cop. (@koic)
  • #5800: Don't show a stracktrace for invalid command-line params. (@shanecav84)
  • #5845: Add new Lint/ErbNewArguments cop. (@koic)
  • #5871: Add new Lint/SplatKeywordArguments cop. (@koic)
  • #4247: Remove hard-coded file patterns and use only Include, Exclude and the new RubyInterpreters parameters for file selection. (@jonas054)

Bug fixes

  • Fix bug in Style/EmptyMethod which concatenated the method name and first argument if no method def parentheses are used. (@thomasbrus)
  • #5819: Fix Rails/SaveBang when using negated if. (@Edouard-chin)
  • #5286: Fix Lint/SafeNavigationChain not detecting chained operators after block. (@Darhazer)
  • Fix bug where Lint/SafeNavigationConsistency registers multiple offenses for the same method call. (@rrosenblum)
  • #5713: Fix Style/CommentAnnotation reporting only the first of multiple consecutive offending lines. (@svendittmer)
  • #5791: Fix exception in Lint/SafeNavigationConsistency when there is code around the condition. (@rrosenblum)
  • #5784: Fix a false positive for Rails/HasManyOrHasOneDependent when using nested with_options. (@koic)
  • #4666: --stdin always treats input as Ruby source irregardless of filename. (@PointlessOne)
  • Fix auto-correction for Style/MethodCallWithArgsParentheses adding extra parentheses if the method argument was already parenthesized. (@dvandersluis)
  • #5668: Fix an issue where files with unknown extensions, listed in AllCops/Include were not inspected when passing the file name as an option. (@drenmi)
  • #5809: Fix exception Lint/PercentStringArray and Lint/PercentSymbolArray when the inspected file is binary encoded. (@akhramov)
  • #5840: Do not register an offense for methods that nil responds to in Lint/SafeNavigationConsistency. (@rrosenblum)
  • #5862: Fix an incorrect auto-correct for Lint/LiteralInInterpolation if contains numbers. (@koic)
  • #5868: Fix Rails/CreateTableWithTimestamps when using hash options. (@wata727)
  • #5708: Fix exception in Lint/UnneededCopEnableDirective for instruction '# rubocop:enable all'. (@balbesina)
  • Fix auto-correction of Rails/HttpPositionalArgumnets to use session instead of header. (@rrosenblum)

Changes

  • Split Style/MethodMissing into two cops, Style/MethodMissingSuper and Style/MissingRespondToMissing. (@rrosenblum)
  • #5757: Add AllowInMultilineConditions option to Style/ParenthesesAroundCondition cop. (@Darhazer)
  • #5806: Fix Layout/SpaceInsideReferenceBrackets when assigning a reference bracket to a reference bracket. (@joshuapinter)
  • #5082: Allow caching together with --auto-correct. (@jonas054)
  • Add try! to the list of whitelisted methods for Lint/SafeNavigationChain and Style/SafeNavigation. (@rrosenblum)
  • #5886: Move Style/EmptyLineAfterGuardClause cop to Layout department. (@koic)
Commits

See the full diff on Github. The new version differs by 60 commits:


Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

Depfu Status

@coveralls
Copy link

Pull Request Test Coverage Report for Build 622

  • 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 ?%

Totals Coverage Status
Change from base Build 618: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

1 similar comment
@coveralls
Copy link

coveralls commented May 14, 2018

Pull Request Test Coverage Report for Build 622

  • 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 ?%

Totals Coverage Status
Change from base Build 618: 0.0%
Covered Lines:
Relevant Lines: 0

💛 - Coveralls

@pboling pboling merged commit 5a3d40c into master May 25, 2018
@depfu depfu bot deleted the depfu/update/rubocop-0.56.0 branch May 25, 2018 10:17
@pboling pboling added this to the 2.0.0 milestone Oct 13, 2018
@pboling pboling self-assigned this Oct 13, 2018
@pboling pboling added in Changelog Has been added to Changelog and removed good first issue labels Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

depfu in Changelog Has been added to Changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants