Update rubocop requirement to 0.58.2

Updates the requirements on rubocop to permit the latest version.

Release notes

Sourced from rubocop's releases.

RuboCop 0.58.2

Changes

New features

  • #6105: Support {a,b} file name globs in Exclude and Include config. ([mikeyhew][])

  • #6116: Add ip to allowed names of Naming/UncommunicativeMethodParamName cop in default config. ([nijikon][])

Bug fixes

  • #6103: Fix a false positive for Layout/IndentationWidth when multiple modifiers are used in a block and a method call is made at end of the block. ([koic][])
  • #6084: Fix Naming/MemoizedInstanceVariableName cop to allow methods to have leading underscores. ([kenman345][])
  • #6098: Fix an error for Layout/ClassStructure when there is a comment in the macro method to be auto-correct. ([koic][])
  • #6115: Fix a false positive for Lint/OrderedMagicComments when using { encoding: Encoding::SJIS } hash object after frozen_string_literal magic comment. ([koic][])

[mikeyhew]: https://github.com/mikeyhew [nijikon]: https://github.com/nijikon [koic]: https://github.com/koic [kenman345]: https://github.com/kenman345

Changelog

Sourced from rubocop's changelog.

0.58.2 (2018-07-23)

Changes

New features

  • #6105: Support {a,b} file name globs in Exclude and Include config. ([mikeyhew][])

  • #6116: Add ip to allowed names of Naming/UncommunicativeMethodParamName cop in default config. ([nijikon][])

Bug fixes

  • #6103: Fix a false positive for Layout/IndentationWidth when multiple modifiers are used in a block and a method call is made at end of the block. ([koic][])
  • #6084: Fix Naming/MemoizedInstanceVariableName cop to allow methods to have leading underscores. ([kenman345][])
  • #6098: Fix an error for Layout/ClassStructure when there is a comment in the macro method to be auto-correct. ([koic][])
  • #6115: Fix a false positive for Lint/OrderedMagicComments when using { encoding: Encoding::SJIS } hash object after frozen_string_literal magic comment. ([koic][])

0.58.1 (2018-07-10)

Bug fixes

  • #6071: Fix auto-correct Style/MethodCallWithArgsParentheses when arguments are method calls. ([maxh][])
  • Fix Style/RedundantParentheses with hash literal as first argument to super. ([maxh][])
  • #6086: Fix an error for Gemspec/OrderedDependencies when using method call to gem names in gemspec. ([koic][])
  • #6089: Make Rails/BulkChangeTable aware of variable table name. ([wata727][])
  • #6088: Fix an error for Layout/MultilineAssignmentLayout cop when using multi-line block defines on separate lines. ([koic][])
  • #6092: Don't use the broken parser 2.5.1.1 version. ([bbatsov][])

0.58.0 (2018-07-07)

New features

  • #5973: Add new Style/IpAddresses cop. ([dvandersluis][])
  • #5843: Add configuration options to Naming/MemoizedInstanceVariableName cop to allow leading underscores. ([leklund][])
  • #5843: Add EnforcedStyleForLeadingUnderscores to Naming/MemoizedInstanceVariableName cop to allow leading underscores. ([leklund][])
  • Performance/Sample will now register an offense when using shuffle followed by at or slice. ([rrosenblum][])

Bug fixes

  • #5987: Suppress errors when using ERB template in Rails/BulkChangeTable. ([wata727][])
  • #4878: Fix false positive in Layout/IndentationWidth when multiple modifiers and def are on the same line. ([tatsuyafw][])
  • #5966: Fix a false positive for Layout/ClosingHeredocIndentation when heredoc content is outdented compared to the closing. ([koic][])
  • Fix auto-correct support check for custom cops on --auto-gen-config. ([r7kamura][])
  • Fix exception that occurs when auto-correcting a modifier if statement in Style/UnneededCondition. ([rrosenblum][])
  • #6025: Fix an incorrect auto-correct for Lint/UnneededCondition when using if_branch in else branch. ([koic][])
  • #6029: Fix a false positive for Lint/ShadowedArgument when reassigning to splat variable. ([koic][])
  • #6035: Fix error on autocorrection when Layout/LeadingBlankLines is the first cop to act. ([Vasfed][])
  • #6036: Make Rails/BulkChangeTable aware of string table name. ([wata727][])
  • #5467: Fix a false negative for Style/MultipleComparison when multiple comparison is not part of a conditional. ([koic][])
  • #6042: Fix Lint/RedundantWithObject error on missing parameter to each_with_object. ([Vasfed][])
... (truncated)
Commits

Merge request reports

Loading