Update rubocop-performance 1.24.0 → 1.26.1 (minor) #605
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-performance (1.24.0 → 1.26.1) · Repo · Changelog
Release Notes
1.26.1
1.26.0
1.25.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 49 commits:
Cut 1.26.1Update ChangelogMerge pull request #521 from Earlopain/disable-bigdecimal[Fix #520] Disable `Performance/BigDecimalWithNumericArgument` by defaultMerge pull request #518 from koic/fix_false_positives_for_performance_redundant_string_chars[Fix #517] Fix false positives for `Performance/RedundantStringChars`Tweak bug report templateSuppress RuboCop's offenseSwitch back docs version to masterCut 1.26.0Update ChangelogFix typosMerge pull request #514 from Earlopain/ci-jrbuy-10Merge pull request #513 from Earlopain/sync-spellcheckingCI against the latest stable JRuby versionRemove misspell from CIRun codespell with `bundle exec rake`Merge pull request #512 from Earlopain/start-end-negationDetect negated conditions with `Performance/DoubleStartEndWith`Merge pull request #511 from rubocop/dependabot/github_actions/actions/checkout-5Bump actions/checkout from 4 to 5Merge pull request #445 from a-lavis/block_given_with_explicit_block_incompatible_with_block_forwardingMerge pull request #504 from lovro-bikic/performance-count-multiline-callFix autocorrection syntax error for Performance/Count with multiline callsMerge pull request #503 from viralpraxis/actualize-referencesActualize referencesMerge pull request #502 from viralpraxis/actualize-performance-sum-cop-reference-uriActualize `Performance/Cop` reference URISuppress RuboCop's warning and offenseMerge pull request #501 from jbpextra/master[Fix rubocop#500] Mark Performance/MapCompact cop as unsafeMerge pull request #498 from viralpraxis/fix-performance-count-cop-error-on-empty-selector-blockFix `Performance/Count` cop error on empty selector blockUse `RuboCop::AST::Node#any_def_type?` methodSwitch back docs version to masterCut 1.25.0Update ChangelogMerge pull request #496 from koic/support_itblock_in_performance_copsSupport `it` block parameter in `Performance` copsMerge pull request #494 from dvandersluis/fixed-size-blocksFix `Performance/FixedSize` false positive when `count` is called with a `numblock`Merge pull request #493 from koic/fix_false_positives_for_performance_string_identifier_argument[Fix #492] Fix false positives for `Performance/StringIdentifierArgument`Automate the process of GitHub release creationMerge pull request #488 from Earlopain/collection-literal-ruby34Use extended `CopsDocumentationGenerator`[Fix #482] Change `Performance/CollectionLiteralInLoop` to not register offenses for `Array#include?` that are optimized directly in Ruby.Enable `InternalAffairs/CopEnabled` copSwitch back docs version to master✳️ rubocop (1.74.0 → 1.81.7) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
2.16.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 50 commits:
Release 2.16.0Deprecate `JSON::State#[]` and `JSON::State#[]=`Get rid of JSON.deep_const_get (private API)Tentative fix for RHEL8 compilerMicro-optimize `rstring_cache_fetch`Extract `JSON_CPU_LITTLE_ENDIAN_64BITS` definitionext/json/ext/json.h: Add missing newline at end of fileFix duplicate 'inline' declaration specifierparser.c: Always inline `json_eat_whitespace`parser.c: use `rb_str_to_interned_str` over `rb_funcall`parser.c: Extract `json_string_cacheable_p`parser.c: simplify sorted insert loop in rstring_cache_fetchMerge pull request #890 from byroot/remove-useless-checkparser.c: Skip checking for escape sequences in `rstring_cache_fetch`Merge pull request #889 from byroot/cleanup-macrosCentralize macro definitionsAvoid power_assert 3.0 on Ruby 3.0 and olderMerge pull request #877 from byroot/json-coder-encodingInvoke `as_json` callback for strings with invalid encodingUpdate changelogUpdate changelogMerge pull request #887 from byroot/improve-consecutive-digitsEnable JSON_DEBUG for parser/extconf.rbEnable JSON_DEBUG for parser/extconf.rbparser.c: Appease GCC warningMerge pull request #886 from byroot/parser-whitespace-switchparser.c: Use SWAR to skip consecutive spacesMerge pull request #885 from byroot/parse-digits-swarUse SWAR for parsing integers on little endian machinesparser.c: Introduce `rest()` helperAdd test coverage for T_BIGNUM parsingMerge pull request #884 from byroot/refactor-parser-peekparser.c: Introduce `peek()` and `eos()` helpersMerge pull request #883 from byroot/refactor-number-parsingparser.c: Extract json_parse_digitsparser.c: Extract `json_parse_number`Merge pull request #882 from rhenium/ky/generate-fix-fbuffer-leakFix memory leak when exception is raised during JSON generation part 2Merge pull request #880 from nobu/typo-legalMerge pull request #879 from nobu/dependsUpdate depend files[DOC] Fix typos in LEGALMerge pull request #875 from RubyElders/ryu-float-parserAdd ryu float parser.Fix GeneratorError messages to be UTF-8 encodedMerge pull request #824 from samyron/sm/java-vector-simdUse Vector API in the Java Extensionparser.c: Fix indentation in json_decode_integerMerge pull request #876 from byroot/isalpha-localeUse locale indepenent version of `islapha`Release Notes
1.48.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 5 commits:
Cut 1.48.0Update ChangelogSupport Ruby 4.0 (#391)Remove `bundler` gem from Gemfile (#390)Restore docs/antora.ymlDepfu 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.All Depfu comment commands