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.52.1 to 0.53.0 #95

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps rubocop from 0.52.1 to 0.53.0.

Release notes

Sourced from rubocop's releases.

RuboCop 0.53.0

New features

  • #3666: Add new Naming/UncommunicativeBlockParamName cop. ([garettarrowood][])
  • #3666: Add new Naming/UncommunicativeMethodParamName cop. ([garettarrowood][])
  • #5356: Add new Lint/UnneededCopEnableDirective cop. ([garettarrowood][])
  • #5248: Add new Lint/BigDecimalNew cop. ([koic][])
  • Add new Style/TrailingBodyOnClass cop. ([garettarrowood][])
  • Add new Style/TrailingBodyOnModule cop. ([garettarrowood][])
  • #3394: Add new Style/TrailingCommmaInArrayLiteral cop. ([garettarrowood][])
  • #3394: Add new Style/TrailingCommmaInHashLiteral cop. ([garettarrowood][])
  • #5319: Add new Security/Open cop. ([mame][])
  • Add EnforcedStyleForEmptyBrackets configuration to Layout/SpaceInsideReferenceBrackets.([garettarrowood][])
  • #5050: Add auto-correction to Style/ModuleFunction. ([garettarrowood][])
  • #5358: --no-auto-gen-timestamp CLI option suppresses the inclusion of the date and time it was generated in auto-generated config. ([dominicsayers][])
  • #4274: Add new Layout/EmptyComment cop. ([koic][])
  • #4477: Add new configuration directive: inherit_mode for merging arrays. ([leklund][])
  • #5532: Include .axlsx file by default. ([georf][])
  • #5490: Add new Lint/OrderedMagicComments cop. ([koic][])
  • #4008: Add new Style/ExpandPathArguments cop. ([koic][])
  • #4812: Add beginning_only and ending_only style options to Layout/EmptyLinesAroundClassBody cop. ([jmks][])
  • #5591: Include .arb file by default. ([deivid-rodriguez][])
  • #5473: Use gems.locked or Gemfile.lock to determine the best TargetRailsVersion when it is not specified in the config. ([roberts1000][])
  • Add new Naming/MemoizedInstanceVariableName cop. ([satyap][])
  • #5376: Add new Style/EmptyLineAfterGuardClause cop. ([unkmas][])
  • Add new Rails/ActiveRecordAliases cop. ([elebow][])

Bug fixes

  • #4105: Fix Lint/IndentationWidth when Lint/EndAlignment is configured with start_of_line. ([brandonweiss][])
  • #5453: Fix erroneous downcase in Performance/Casecmp auto-correction. ([walinga][])
  • #5343: Fix offense detection in Style/TrailingMethodEndStatement. ([garettarrowood][])
  • #5334: Fix semicolon removal for Style/TrailingBodyOnMethodDefinition autocorrection. ([garettarrowood][])
  • #5350: Fix Metric/LineLength false offenses for URLs in double quotes. ([garettarrowood][])
  • #5333: Fix Layout/EmptyLinesAroundArguments false positives for inline access modifiers. ([garettarrowood][])
  • #5339: Fix Layout/EmptyLinesAroundArguments false positives for multiline heredoc arguments. ([garettarrowood][])
  • #5383: Fix Rails/Presence false detection of receiver for locally defined blank? & present? methods. ([garettarrowood][])
  • #5314: Fix false positives for Lint/NestedPercentLiteral when percent characters are nested. ([asherkach][])
  • #5357: Fix Lint/InterpolationCheck false positives on escaped interpolations. ([pocke][])
  • #5409: Fix multiline indent for Style/SymbolArray and Style/WordArray autocorrect. ([flyerhzm][])
  • #5393: Fix Rails/Delegate's false positive with a method call with arguments. ([pocke][])
  • #5348: Fix false positive for Style/SafeNavigation when safe guarding more comparison methods. ([rrosenblum][])
  • #4889: Auto-correcting Style/SafeNavigation will add safe navigation to all methods in a method chain. ([rrosenblum][])
  • #5287: Do not register an offense in Style/SafeNavigation if there is an unsafe method used in a method chain. ([rrosenblum][])
  • #5401: Fix Style/RedundantReturn to trigger when begin-end, rescue, and ensure blocks present. ([asherkach][])
  • #5426: Make Rails/InverseOf accept inverse_of: nil to opt-out. ([wata727][])
  • #5448: Improve Rails/LexicallyScopedActionFilter. ([wata727][])
  • #3947: Fix false positive for Rails/FilePath when using Rails.root.join in string interpolation of argument. ([koic][])
  • #5479: Fix false positives for Rails/Presence when using with elsif. ([wata727][])
  • #5427: Fix exception when executing from a different drive on Windows. ([orgads][])
    ... (truncated)
Changelog

Sourced from rubocop's changelog.

0.53.0 (2018-03-05)

New features

  • #3666: Add new Naming/UncommunicativeBlockParamName cop. ([garettarrowood][])
  • #3666: Add new Naming/UncommunicativeMethodParamName cop. ([garettarrowood][])
  • #5356: Add new Lint/UnneededCopEnableDirective cop. ([garettarrowood][])
  • #5248: Add new Lint/BigDecimalNew cop. ([koic][])
  • Add new Style/TrailingBodyOnClass cop. ([garettarrowood][])
  • Add new Style/TrailingBodyOnModule cop. ([garettarrowood][])
  • #3394: Add new Style/TrailingCommaInArrayLiteral cop. ([garettarrowood][])
  • #3394: Add new Style/TrailingCommaInHashLiteral cop. ([garettarrowood][])
  • #5319: Add new Security/Open cop. ([mame][])
  • Add EnforcedStyleForEmptyBrackets configuration to Layout/SpaceInsideReferenceBrackets.([garettarrowood][])
  • #5050: Add auto-correction to Style/ModuleFunction. ([garettarrowood][])
  • #5358: --no-auto-gen-timestamp CLI option suppresses the inclusion of the date and time it was generated in auto-generated config. ([dominicsayers][])
  • #4274: Add new Layout/EmptyComment cop. ([koic][])
  • #4477: Add new configuration directive: inherit_mode for merging arrays. ([leklund][])
  • #5532: Include .axlsx file by default. ([georf][])
  • #5490: Add new Lint/OrderedMagicComments cop. ([koic][])
  • #4008: Add new Style/ExpandPathArguments cop. ([koic][])
  • #4812: Add beginning_only and ending_only style options to Layout/EmptyLinesAroundClassBody cop. ([jmks][])
  • #5591: Include .arb file by default. ([deivid-rodriguez][])
  • #5473: Use gems.locked or Gemfile.lock to determine the best TargetRailsVersion when it is not specified in the config. ([roberts1000][])
  • Add new Naming/MemoizedInstanceVariableName cop. ([satyap][])
  • #5376: Add new Style/EmptyLineAfterGuardClause cop. ([unkmas][])
  • Add new Rails/ActiveRecordAliases cop. ([elebow][])

Bug fixes

  • #4105: Fix Lint/IndentationWidth when Lint/EndAlignment is configured with start_of_line. ([brandonweiss][])
  • #5453: Fix erroneous downcase in Performance/Casecmp auto-correction. ([walinga][])
  • #5343: Fix offense detection in Style/TrailingMethodEndStatement. ([garettarrowood][])
  • #5334: Fix semicolon removal for Style/TrailingBodyOnMethodDefinition autocorrection. ([garettarrowood][])
  • #5350: Fix Metric/LineLength false offenses for URLs in double quotes. ([garettarrowood][])
  • #5333: Fix Layout/EmptyLinesAroundArguments false positives for inline access modifiers. ([garettarrowood][])
  • #5339: Fix Layout/EmptyLinesAroundArguments false positives for multiline heredoc arguments. ([garettarrowood][])
  • #5383: Fix Rails/Presence false detection of receiver for locally defined blank? & present? methods. ([garettarrowood][])
  • #5314: Fix false positives for Lint/NestedPercentLiteral when percent characters are nested. ([asherkach][])
  • #5357: Fix Lint/InterpolationCheck false positives on escaped interpolations. ([pocke][])
  • #5409: Fix multiline indent for Style/SymbolArray and Style/WordArray autocorrect. ([flyerhzm][])
  • #5393: Fix Rails/Delegate's false positive with a method call with arguments. ([pocke][])
  • #5348: Fix false positive for Style/SafeNavigation when safe guarding more comparison methods. ([rrosenblum][])
  • #4889: Auto-correcting Style/SafeNavigation will add safe navigation to all methods in a method chain. ([rrosenblum][])
  • #5287: Do not register an offense in Style/SafeNavigation if there is an unsafe method used in a method chain. ([rrosenblum][])
  • #5401: Fix Style/RedundantReturn to trigger when begin-end, rescue, and ensure blocks present. ([asherkach][])
  • #5426: Make Rails/InverseOf accept inverse_of: nil to opt-out. ([wata727][])
  • #5448: Improve Rails/LexicallyScopedActionFilter. ([wata727][])
  • #3947: Fix false positive for Rails/FilePath when using Rails.root.join in string interpolation of argument. ([koic][])
  • #5479: Fix false positives for Rails/Presence when using with elsif. ([wata727][])
    ... (truncated)
Commits
  • b65c4d5 Cut 0.53.0
  • c59b1e7 Add Rails/ActiveRecordAliases cop (#5592)
  • 6c655da [Fix #5534] Remove empty line after Style/EachWithObject autocorrect (#5535)
  • 07c57cb Change the highlighting of Lint/SafeNavigationChain
  • 2f62833 Remove auto-correction from SafeNavigationChain
  • a101329 Modify SafeNavigation to allow method chaining
  • 900ae13 Better error messages for MemoizedInstanceVariableName cop
  • 1a9b8c8 [Fix #5615] Fix false positive Rails/FilePath when using File::SEPARATOR ...
  • 6c3ea47 Deprecate safe_level of ERB.new in Ruby 2.6
  • 2b2f795 [Fix #5376] Add EmptyLineAfterGuardClause cop (#5522)
  • 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.

If you'd like to skip this version, you can just close this PR. If you have any feedback just mention @dependabot in the comments below.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

@dependabot-preview
Copy link
Author

Superseded by #147.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/rubocop-0.53.0 branch April 2, 2018 07:17
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.

1 participant