chef / ohai

Ohai profiles your system and emits JSON
https://docs.chef.io/ohai.html
Apache License 2.0
681 stars 450 forks source link

Update rubocop-performance requirement from 1.15.0 to 1.15.2 #1777

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on rubocop-performance to permit the latest version.

Release notes

Sourced from rubocop-performance's releases.

RuboCop Performance 1.15.2

Bug fixes

  • #313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. (@​koic)
  • #321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. (@​koic)
  • #314: Fix Performance/RegexpMatch to handle ::Regexp. (@​fatkodima)

Changes

Changelog

Sourced from rubocop-performance's changelog.

1.15.2 (2022-12-25)

Bug fixes

  • #313: Fix a false negative for Performance/RedundantStringChars when using str.chars.last without argument. ([@​koic][])
  • #321: Fix a false positive for Performance/Sum when using TargetRubyVersion is 2.3 or lower. ([@​koic][])
  • #314: Fix Performance/RegexpMatch to handle ::Regexp. ([@​fatkodima][])

Changes

1.15.1 (2022-11-16)

Bug fixes

  • #309: Fix an error for Performance/MapCompact when using map(&:do_something).compact and there is a line break after map.compact and assigning with ||=. ([@​koic][])

Changes

  • #307: Support autocorrection even if reject is used on Performance/Count. ([@​r7kamura][])

1.15.0 (2022-09-10)

New features

  • #305: Support numbered parameter for Performance/RedundantSortBlock, Performance/SortReverse, and Performance/TimesMap cops. ([@​koic][])

Bug fixes

  • #299: Fix incorrect documentation URLs when using rubocop --show-docs-url. ([@​r7kamura][])

Changes

  • #297: Support autocorrection on Performance/RedundantMatch when receiver is a Regexp literal. ([@​r7kamura][])

1.14.3 (2022-07-17)

Bug fixes

  • #296: Fix a false negative for Performance/StringIdentifierArgument when using instance_variable_defined?. ([@​koic][])
  • #294: Fix a false negative for Performance/ChainArrayAllocation when using array.first(do_something).uniq. ([@​koic][])

1.14.2 (2022-06-08)

Bug fixes

  • #292: Fix a false positive for Performance/RegexpMatch when TargetRubyVersion: 2.3. ([@​koic][])

1.14.1 (2022-06-05)

... (truncated)

Commits
  • d48e8a5 Cut 1.15.2
  • 2e411c9 Update Changelog
  • f2b4bd7 Use RuboCop RSpec 2.16
  • dd328c0 Merge pull request #321 from koic/fix_a_false_positive_for_performance_sum
  • febf747 Fix a false positive for Performance/Sum
  • a5ebbc9 Merge pull request #315 from koic/fix_a_false_negative_for_performance_redund...
  • 832b08c Merge pull request #317 from rubocop/dependabot/github_actions/actions/setup-...
  • a8c96d7 Merge pull request #319 from fatkodima/string_include-not-match
  • a88d9ef Extend Performance/StringInclude to handle !~
  • 9d2ac69 Merge pull request #320 from fatkodima/regexp_match-regexp-cbase
  • Additional commits viewable in compare view


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 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)
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information