Update rubocop 1.81.1 → 1.81.7 (patch) #323
Open
+5
−5
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 (1.81.1 → 1.81.7) · Repo · Changelog
Release Notes
1.81.7
1.81.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 69 commits:
Cut 1.81.7Update ChangelogRemove uselsss code from `Lint/Debugger`Skip unnecessary logic in `Style/Semicolon`[Docs] Tweak the doc for `Lint/MissingCopEnableDirective`Reuse `s.version` in gemspecFix an error for `Style/SoleNestedConditional`Remove `bundler` gem from GemfileMerge pull request #14629 from koic/fix_false_positives_for_style_float_divisionMerge pull request #14627 from koic/fix_false_positives_for_style_constant_visibility[Fix #14628] Fix false positives for `Style/FloatDivision`[Fix #14626] Fix false positives for `Style/ConstantVisibility`Merge pull request #14624 from Earlopain/naming-method-name-alias-interpolationMerge pull request #14623 from koic/fix_an_error_for_naming_predicate_method[Fix #14622] Fix an error for `Naming/MethodName` when the first argument to `alias` contains interpolation[Fix #14621] Fix an error for `Naming/PredicateMethod`Merge pull request #14617 from Fryguy/handle_gemfile_errorsHandle non-specific issues with the Gemfile to allow fallbackRun `references:verify` task before version bumpMerge pull request #14614 from viralpraxis/actualize-rubygems-repository-uriActualize RubyGems repository URI[Fix #14597] Fix an infinite loop error for `Layout/HashAlignment`Reset the docs versionCut 1.81.6Update broken linkUpdate ChangelogMerge pull request #14611 from r7kamura/CopDirectiveSyntax-comment-improveImprove `Lint/CopDirectiveSyntax` cop documentation examplesMerge pull request #14606 from dvandersluis/issue/14605Merge pull request #14608 from dvandersluis/issue/14604[Fix #14604] Fix `Style/RedundantFormat` false positive when a interpolated value is given to a specifier with a width or precision[Fix #14605] Fix false positive for `Lint/EmptyInterpolation` when interpolation is inside a `%W` literalMerge pull request #14607 from dvandersluis/redundant-format-control-charsFix `Style/RedundantFormat` handling control characters like `\n`Merge pull request #14603 from koic/fix_false_positives_for_style_endless_method_cop[Fix #14602] Fix false positives for `Style/EndlessMethod`Merge pull request #14601 from Zopolis4/engineFix typo in spec/rubocop/cop/style/multiline_if_then_spec.rbRemove useless code from `Layout/HashAlignment`Merge pull request #14600 from Earlopain/json-security-improveMerge pull request #14596 from viralpraxis/change-lint-constant-overriden-in-rescue-to-detect-any-constant-assignment[Fix #14552] Improve `Security/JSONLoad` documentation and implementationChange `Lint/ConstantOverwrittenInRescue` to detect any constant assignmentMerge pull request #14599 from martinemde/martinemde/multi-line-regex-conditional-inFix crash on multi-line regex in conditionalMerge pull request #14595 from koic/fix_false_positives_for_style_endless_method_cop[Fix #14594] Fix false positives for `Style/EndlessMethod`Merge pull request #14593 from koic/remove_workaround_for_ruby_27_ciRemove CI workaround for Ruby 2.7Merge pull request #14589 from ltickett/inc-mlal-supported-typesInclude Layout/MultilineAssignmentLayout SupportedTypes in docsFix an incorrect pull request numberMerge pull request #14590 from koic/fix_an_error_for_lint_self_assignment[Fix #14587] Fix an error for `Lint/SelfAssignment`[Fix #14582] Tweak the offense message in `Style/OneLineConditional`Tweak bug report templateUse `RuboCop::AST::ResbodyNode#exceptions`Merge pull request #14577 from koic/fix_incorrect_autocorrect_for_style_semicolonFix an incorrect autocorrect for `Style/Semicolon`Merge pull request #14575 from viralpraxis/enhance-constant-overwritten-in-rescue-to-detect-nested-constant-nameEnhance `Lint/ConstantOverwrittenInRescue` to detect offenses within nested constantsMerge pull request #14574 from koic/fix_false_positive_for_style_redundant_interpolationFix false positives for `Style/RedundantInterpolation`[Fix #14572] Fix an error for `Style/ArrayIntersect`Merge pull request #14568 from koic/make_style_lambda_call_autocorrection_contextualMake `Style/LambdaCall` autocorrection contextualMerge pull request #14566 from viralpraxis/enhance-constant-overwritten-in-rescue-to-detect-fully-qualified-constant-nameEnhance `Lint::ConstantOverwrittenInRescue` to detect offenses within fully qualified constantsReset the docs versionRelease Notes
2.16.0
2.15.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 53 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 2.15.2Merge pull request #874 from byroot/coder-reset-nestingFix concurrent usage of JSON::Coder#dumpRelease Notes
3.3.10.0 (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* Bump maintenance branches to 3.3.10 (#1083)Use `Prism::Translation::ParserCurrent` in prism docs (#1073)Update changelog.Release Notes
1.6.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 18 commits:
Merge pull request #3683 from ruby/bump-versionBump to v1.6.0Merge pull request #3679 from Earlopain/parse-as-currentAdd support for `Prism.parse(foo, version: "current")`Merge pull request #3680 from tenderlove/trusted-publishersuse bundler cache instead of bundle installAdd npm publishing workflowAdd crates.io publishing workflowAdd gem publishing workflowMerge pull request #3682 from froydnj/froydnj-unsigned-shift-constantexplicitly cast constants in initializers as wellexplicitly cast shifted constant to unsigned to avoid undefined behaviorMerge pull request #3677 from ruby/dependabot/maven/java-wasm/java-deps-28fddb034aMerge pull request #3678 from ruby/dependabot/bundler/gemfiles/typecheck/ruby-deps-d1823ef2f3Bump sorbetBump the java-deps group in /java-wasm with 3 updatesMerge pull request #3676 from bugtender/fix-broken-links-in-design-docFix broken tdop links in docs/design.mdRelease 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