deivid-rodriguez / byebug

Debugging in Ruby 2
BSD 2-Clause "Simplified" License
3.34k stars 328 forks source link

Bump rubocop-performance from 1.7.0 to 1.8.1 #728

Closed dependabot-preview[bot] closed 4 years ago

dependabot-preview[bot] commented 4 years ago

Bumps rubocop-performance from 1.7.0 to 1.8.1.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.8.1

Bug fixes

  • #164: Fix an error for Performance/CollectionLiteralInLoop when a method from Enumerable is called with no receiver. (@eugeneius)
  • #165: Fix a false positive for Performance/Sum when using initial value argument is a variable. (@koic)

Changes

  • #163: Change Performance/Detect to also detect offenses when index 0 or -1 is used instead (ie. detect{ ... }[0]). (@dvandersluis)
  • #168: Extend Performance/Sum to register an offense for inject(&:+). (@eugeneius)

RuboCop Performance 1.8.0

New features

Bug fixes

  • #159: Fix a false positive for Performance/AncestorsInclude when receiver is a variable. (@koic)

Changes

  • #157: Extend Performance/Detect cop with check for filter method and Performance/Count cop with checks for find_all and filter methods. (@fatkodima)
  • #154: Require RuboCop 0.87 or higher. (@koic)

RuboCop Performance 1.7.1

Bug fixes

  • #147: Fix an error for Performance/AncestorsInclude when using ancestors.include? without receiver. (@koic)
  • #150: Fix an incorrect autocorrect for Performance/BigDecimalWithNumericArgument when a precision is specified. (@eugeneius)

Changes

  • #149: Mark Performance/AncestorsInclude as unsafe. (@eugeneius)
  • #145: Mark Performance/StringInclude as SafeAutocorrect: false and disable autocorrect by default. (@koic)
Changelog

Sourced from rubocop-performance's changelog.

1.8.1 (2020-09-19)

Bug fixes

  • #164: Fix an error for Performance/CollectionLiteralInLoop when a method from Enumerable is called with no receiver. ([@eugeneius][])
  • #165: Fix a false positive for Performance/Sum when using initial value argument is a variable. ([@koic][])

Changes

  • #163: Change Performance/Detect to also detect offenses when index 0 or -1 is used instead (ie. detect{ ... }[0]). ([@dvandersluis][])
  • #168: Extend Performance/Sum to register an offense for inject(&:+). ([@eugeneius][])

1.8.0 (2020-09-04)

New features

Bug fixes

  • #159: Fix a false positive for Performance/AncestorsInclude when receiver is a variable. ([@koic][])

Changes

  • #157: Extend Performance/Detect cop with check for filter method and Performance/Count cop with checks for find_all and filter methods. ([@fatkodima][])
  • #154: Require RuboCop 0.87 or higher. ([@koic][])

1.7.1 (2020-07-18)

Bug fixes

  • #147: Fix an error for Performance/AncestorsInclude when using ancestors.include? without receiver. ([@koic][])
  • #150: Fix an incorrect autocorrect for Performance/BigDecimalWithNumericArgument when a precision is specified. ([@eugeneius][])

Changes

  • #149: Mark Performance/AncestorsInclude as unsafe. ([@eugeneius][])
  • #145: Mark Performance/StringInclude as SafeAutocorrect: false and disable autocorrect by default. ([@koic][])
Commits
  • 5d5de8b Cut 1.8.1
  • 4bfca8f Merge pull request #168 from eugeneius/sum_block_pass
  • 19223fc Handle inject(&:+) in Performance/Sum
  • 6d7e45f Merge pull request #167 from dvandersluis/detect-indexed
  • 627f47d Bump rubocop-ast requirement to >= 0.4.0
  • 3823409 [Fix #163] Detect array indexes for Performance/Detect
  • a117b59 Merge pull request #166 from koic/fix_false_positive_for_performance_sum
  • 61578d9 [Fix #165] Fix a false positive for Performance/Sum
  • 5da259b Merge pull request #164 from eugeneius/collection_literal_in_loop_no_receiver
  • 1c23eba Handle Enumerable methods called with no receiver
  • 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 all status checks pass Dependabot will automatically merge this pull request.


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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)
dependabot-preview[bot] commented 4 years ago

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.