Update rubocop-performance 1.23.1 → 1.24.0 (minor) #559
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.23.1 → 1.24.0) · Repo · Changelog
Release Notes
1.24.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 24 commits:
Cut 1.24.0
Update Changelog
Merge pull request #490 from koic/pluginfy_with_lint_roller
Pluginfy RuboCop Performance
Suppress redundant configuration logging for rubocop-performace
Avoid unnecessary `send`
Explicit default `Performance/Sum` cop config for the spec
Suppress RuboCop's offenses
Merge pull request #462 from corsonknowles/add_performance_use_zip_to_wrap_arrays
Merge pull request #489 from dvandersluis/use-node-groups
Use node groups in node patterns to replace unions of types
Use `Node#any_block_type?`
Fix a build error
Remove a redundant config in spec_helper.rb
Merge pull request #487 from Earlopain/missing-restrict-on-send
Add missing `RESTRICT_ON_SEND` for two cops
Apply `bundle exec rubocop --regenerate-todo`
Merge pull request #486 from viralpraxis/remove-commited-rubocop-performance-gem
Remove accidentally commited built gem
Add new `ZipWithoutBlock` cop
Merge pull request #484 from viralpraxis/fix-performance-case-when-splat-cop-error-on-when-without-body
Fix `Performance/CaseWhenSplat` cop error on `when` node without body
Remove a useless constant
Switch back docs version to master
✳️ rubocop (1.71.1 → 1.72.1) · Repo · Changelog
Release Notes
1.72.1
1.72.0
1.71.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 70 commits:
Cut 1.72.1
Update Changelog
Make plugin load error messages more user-friendly
[Fix #13839] Fix false positives for `Lint/RedundantTypeConversion`
Extension plugin is loaded automatically with `require 'rubocop/rspec/support'`
[Fix #13836] Fix an error for `Style/RedundantParentheses`
Reset docs version
Cut 1.72
Update Changelog
Allow `RuboCop::ConfigLoader.inject_defaults!` to accept `Pathname` instances
Add new `Lint/UselessConstantScoping` cop
Merge pull request #13829 from dvandersluis/redundant-format-literals
Update `Style/RedundantFormat` to register an offense for `format` arguments that can be easily inlined
Merge pull request #13824 from koic/fix_incorrect_plugin_exception_name
Merge pull request #13822 from Shopify/vs-fix-undefined-method-logger
Fix undefined method Logger when processing watched file notifications
Fix incorrect plugin exception name
Fix unexpected removal of plugin configuration value
Merge pull request #13817 from dvandersluis/format-parameter-mismatch-bug
Remove useless `File.join`
Fix false positive for format specifier with non-numeric precision
[Fix #12672] Fix false positives for `Lint/FormatParameterMismatch` when the width value is interpolated
[Fix #13661] Make server mode detect local paths in `inherit_from` and `require`
Suppress `warning: fiddle/import is found in fiddle`
Merge pull request #13815 from koic/make_suggest_extensions_aware_of_plugin_extensions
Make `SuggestExtensions` aware of plugin extensions
[Fix #13811] Fix false negatives for `Style/RedundantParentheses`
[Fix #13800] Add new `Lint/SuppressedExceptionInNumberConversion` cop
[Fix #13808] Fix false negatives for `Style/RedundantParentheses`
Make the language_server-protocol dependency version stricter
Merge pull request #13809 from koic/fix_false_negative_for_style_redundant_parentheses
[Fix #13807] Fix false negatives for `Style/RedundantParentheses`
Centralize `RuboCop::LSP.enable` activation and rename adapter class
Make the lint_roller dependency version stricter
[Fix #6012] Support RuboCop extension plugin
Merge pull request #13799 from dvandersluis/issue/12795
[Fix #12795] Fix `Layout/BlockAlignment` for blocks that are the body of an endless method
Merge pull request #13798 from dvandersluis/issue/11655
[Fix #11655] Add `--ignore-disable-comments` to Basic Usage documentation
Merge pull request #13797 from koic/remove_useless_suppressed_webmock_warning
Remove useless suppressed WebMock warning
Add new `Lint/RedundantLiteralConversion` cop
Naming/PredicateName: Optionally use Sorbet to detect predicate methods (#13721)
Fix `Style/RedundantFormat` offenses
Add new `Style/RedundantFormat` cop to check for uses of `format` or `sprintf` with only a single string argument
Merge pull request #13796 from dvandersluis/fix/empty-lines-around-method-body-endless
Fix crash in `Layout/EmptyLinesAroundMethodBody` for endless methods
Suppress redundant default configuration logging from `inject_defaults!`
Suppress redundant default configuration logging from `InternalAffairs/UndefinedConfig`
Suppress redundant configuration logging for internal affairs
Apply `InternalAffairs/LocationExists` corrections
Add new `InternalAffairs/LocationExists` cop to check for code that can be replaced with `Node#loc?` or `Node#loc_is?`
Add new `Lint/CopDirectiveSyntax` cop
Reset the docs version
Cut 1.71.2
Update Changelog
Merge pull request #13785 from viralpraxis/fix-style-each-with-object-cop-error-in-case-of-single-block-argument
Fix `Style/EachWithObject` cop error in case if single block argument
[Fix #13787] Fix incorrect autocorrect for `Style/ExplicitBlockArgument`
Merge pull request #13409 from pCosta99/issue/13395
Merge pull request #13784 from koic/stablize_help_command_line_option_test
Stabilize `help` command line option test
Merge pull request #13783 from Earlopain/lint-void-numblock
Merge pull request #13782 from Earlopain/else-alignment-numblock
Fix a false positive for `Lint/Void` when `each` numblock with conditional expressions that has multiple statements
Fix an error `Layout/ElseAlignment` when `else` is part of a numblock
[Docs] Remove redundant `@example` YARD tag from some cop docs
Merge pull request #13781 from Earlopain/unmod-reduce-acc-numblock
Fix a false positive for `Lint/UnmodifiedReduceAccumulator` when omitting the accumulator in a nested numblock
Reset the docs version
Release Notes
2.10.1 (from changelog)
2.10.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 61 commits:
Release 2.10.1
Merge pull request #749 from byroot/fix-state-roundtrip
Fix a compatibility issue with `MultiJson.dump(obj, pretty: true)`
Update changelog
Release 2.10.0
Apply recent C optimizations to Java encoder (#725)
Skip installing ragel on CI
Merge pull request #745 from etiennebarrie/optimize-symbol-generation
Merge pull request #746 from etiennebarrie/fix-json-coder-NaN-Infinity
Optimize Symbol generation in strict mode
Fix JSON::Coder to call as_json proc for NaN and Infinity
Merge pull request #744 from eregon/optimize-utf8_to_json
Optimize and cleanup #utf8_to_json
Refactor further to expose the simpler escape search possible
Merge pull request #742 from byroot/refactor-convert-utf8
Refactor convert_UTF8_to_JSON to split searching and escaping code
Merge pull request #741 from nobu/ctype-plain-char
Avoid plain char for ctype macros
Merge pull request #740 from Edouard-chin/ec-minor-fixed
Few doc tweaks:
Make benchmarks JRuby compatible
Update changelog
Merge pull request #718 from etiennebarrie/json-coder
Allow JSON::Fragment to be used even in strict mode
Introduce JSON::Coder
Update gemspec URIs
Add some JSON::Fragment documentation
Merge pull request #735 from tompng/fix_invalid_number
Reject invalid number: `-` `-.1` `-e0`
Merge pull request #734 from tompng/error_on_invalid_comments
Merge pull request #733 from tompng/unicode_escape_fix
Raise parse error on invalid comments
Fix parsing incomplete unicode escape "\uaaa"
Fix JSON::Fragment#to_json signature
Merge pull request #732 from etiennebarrie/fragment
Introduce JSON::Fragment
Fix a regression in the parser with leading /
Merge pull request #731 from byroot/arm64-ci
Test on aarch64 Ubuntu
json_string_unescape: use memchr to search for backslashes
Cleanup json_decode_float
parser.c: Pass the JSON_ParserConfig pointer
Use RSTRING_END
Replace fbuffer by stack buffers or RB_ALLOCV in parser.c
Implement write barriers for ParserConfig objects
Cleanup c ext Rakefile
Merge pull request #729 from byroot/handrolled
Finalize Kevin's handrolled parser.
Initial handrolled parser
Refactor JSONFixturesTest
Removed unnecessary sections
Fix a method redefinition warning in C parser
Merge pull request #728 from byroot/refactor-parser
Refactor JSON::Ext::Parser to split configuration and parsing state
Merge pull request #727 from etiennebarrie/remove-State-_generate
Remove Generator::State#_generate
Merge pull request #726 from ruby/support-bundled-gems
Refactor to omit JSON::GenericObject tests
Require "date"
Merge pull request #724 from byroot/lookup-3
Improve lookup tables for string escaping.
Release Notes
3.3.7.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 5 commits:
Update changelog.
Bump version.
* parser/current: add -dev prefix to 3.4 branch (#1067)
* parser/current: bump 3.2 branch to 3.2.7 (#1066)
Update changelog.
🆕 lint_roller (added, 1.1.0)
Depfu 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