Update rubocop-rails 2.30.3 → 2.31.0 (minor)#1445
Closed
depfu[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-rails (2.30.3 → 2.31.0) · Repo · Changelog
Release Notes
2.31.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 13 commits:
Cut 2.31.0Update ChangelogMerge pull request #1469 from hatsu38/fix-broken-Rails_ArelStar-adocMerge pull request #1471 from koic/support_itblock_in_rails_copsSupport `it` block parameter in `Rails` copsMerge pull request #1460 from Earlopain/future-proof-rails-output[Fix #1353] Fix incorrect escaping of asterisk in docs and commentsSuppress RuboCop's offenseMerge pull request #1467 from Earlopain/less-rails-extensionsMerge pull request #1466 from davidrunger/avoid-warnings-about-redefined-methodsAvoid warnings about redefined methods in EnforceSuperclass moduleDon't load the active_support `blank` core extensionSwitch back docs version to master✳️ rubocop (1.74.0 → 1.75.1) · Repo · Changelog
Release Notes
1.75.1
1.75.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 67 commits:
Cut 1.75.1Update ChangelogRename `allow_named_parameter` to `only_numbered_parameters` in `Style/ItBlockParameter`Merge pull request #14039 from lovro-bikic/adjust-raise-args-docsUpdate Style/RaiseArgs docsReset the docs versionCut 1.75Update ChangelogFix handling of long heredoc lines with SplitStrings enabledFix comment autocorrection for Style/IfInsideElseAdd `AllowConsecutiveConditionals` setting to `Style/Next` to allow consecutive conditional statementsFix false negative for Lint/ShadowingOuterLocalVariable[Fix #13597] Add new `Style/ItBlockParameter` cop[Fixes #12358] Add `does` as a forbidden prefix to `Naming/PredicateName`Enable reusable Prism parse result for Ruby LSP add-onTweak the output of `rubocop -V` when `TargetRubyVersion` <= 3.2Merge pull request #14035 from Earlopain/ruby-3.4-proper-support[Fix #13617] Proper support for Ruby 3.4Merge pull request #14034 from dvandersluis/shared-examples-consistencyConsistently use `shared_examples` in specsSupport TargetRubyVersion 3.5 (experimental)Merge pull request #14028 from vlad-pisanov/vp_multiline_parameter_breaks_1Fix false negative for `Layout/MultilineMethodParameterLineBreaks` when class method definitions are usedMerge pull request #14027 from vlad-pisanov/vp_line_length_defs_1Fix false negative for `Layout/LineLength` when autocorrecting class method definitionsMerge pull request #14016 from dvandersluis/redundant-format-constUpdate `Style/RedundantFormat` to register offenses when the only argument to `format` or `sprintf` is a constantMerge pull request #14024 from lovro-bikic/redundant-parentheses-for-chained-andOffend parentheses for chained && expressionsMerge pull request #14022 from koic/fix_an_error_for_style_hash_fetch_chainMerge pull request #14023 from koic/support_itblock_in_internal_affairs_copsSupport `it` block parameter in `InternalAffairs` copsFix an error for `Style/HashFetchChain`Support `it` block parameter in `Metrics` copsSupport `it` block parameter in `Lint` copsSupport `it` block parameter in `Layout` copsSupport `it` block parameter in `Style` copsMerge pull request #14012 from lovro-bikic/sole-nested-conditional-incorrect-autocorrectsFix incorrect autocorrections for Style/SoleNestedConditionalAllow cop renames to trigger warnings instead of fatal errorsHighlight a console error message[Fix #12049] Add new `Style/HashDig` cop to detect method chains that can be replaced with a single call to `dig`[Doc] Tweak an example in the "Plugin Migration Guide"Merge pull request #14002 from dvandersluis/fix-broken-prism-specsRemove `broken_on: :prism` from specsMerge pull request #14004 from Shopify/vs-perform-initial-indexing-before-watched-files[Fix #14000] Perform initial indexing before triggering watched file notificationsRemove duplicate security issue linkMerge pull request #13997 from Earlopain/stale-tweaksAllow free-form issue creationMerge pull request #13996 from eugeneius/lint_useless_assignment_different_branchTweak stale close messageImmediately remove stale label on comment[Fix #13990] Fix a false positive for Lint/UselessAssignmentMerge pull request #13922 from tejasbubane/fix-13621[Doc] Tweak the doc of `Layout/RedundantLineBreak`[Doc] Tweak navigation of docs[Fix #13986] Add support for `Array#intersection` to `Style/ArrayIntersect`Improve documentation for `Lint/RaiseException`Use `RuboCop::AST::IfNode#then?`[Doc] Tweak the doc of formattersMerge pull request #13968 from viralpraxis/fix-internal-affairs-redundant-described-class-as-subject-cop-error-on-missing-describe[Fix #13621] Add `ForbiddenIdentifiers` and `ForbiddenPatterns` to `Naming/MethodName` copFix InternalAffairs/RedundantDescribedClassAsSubject cop error on missing describeMerge pull request #13983 from dvandersluis/issue/8099[Fix #8099] Fix infinite loop between `Layout/SpaceAroundOperators` and `Layout/HashAlignment` with `EnforcedHashRocketStyle` being an array containing `table`Reset the docs versionCommits
See the full diff on Github. The new version differs by 10 commits:
Bump version.Update CI matrix, remove redundant `context`s from specs (#42)Replace bacon with rspec (#41)Use latest ruby versions on test job (#39)Bump actions/checkout (#38)Use `require_relative` instead of `require` (#37)Update Rubies in CI (#35)Fix usage example for Sexp (#36)Fix broken linkFixnum is now spelled Integer (#33)Sorry, we couldn't find anything useful about this release.
Release Notes
3.3.7.4 (from changelog)
3.3.7.3 (from changelog)
3.3.7.2 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 20 commits:
Update changelog.Bump version- lexer-strings.rb: Avoid an exception on utf8 surrogate pair codepoints (#1051)- builder.rb: emit `kwargs` node for `indexasgn` when opted in (#1053)- builder.rb: correctly handle `...` forwarding to super with explicit block (#1049)Supress warnings during parsing (#1013)- numbered parameters are valid for pattern matching pinning (#1060)Update changelog.Update changelog.Bump version* Bump maintenance branches to 3.2.8 and 3.1.7 (#1074)Tweak a terminologyDocument parser/prism migration pathUpdate changelog.Update changelog.Bump version.+ add prism-specific node types (#1071)Document the current state of the project in the readme (#1069)- builder.rb: fix hash value omission considering some local vars as constants (#1064)Update changelog.Release Notes
1.43.0
1.42.0
1.41.0
1.40.0
1.39.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 31 commits:
Add release notesCut 1.43.0Update ChangelogUse the `prism` translation layer to analyze Ruby 3.4 by defaultAdd `prism` as a dependencyRestore docs/antora.ymlCut 1.42.0Update ChangelogSupport `Prism::Translation::Parser35` for Ruby 3.5 parserRemove a bit of backwards compat codeRemove prism skips in testsStop using `Parser::CurrentRuby`Restore docs/antora.ymlCut 1.41.0Update ChangelogAdd support for `itblock` node for Ruby 3.4 (#365)Revert "Don't show a deprecation warning for `EnsureNode#branch` just yet"Restore docs/antora.ymlCut 1.40.0Update ChangelogEnforce a minimum version for prismUse the custom builder provided by prismAdd a release note of 1.39.0Restore docs/antora.ymlCut 1.39.0Update ChangelogModify `def_callback` code to be easier to understandEnable reusable Prism parse result (#359)[Fix #348] Automate the process of GitHub release creationFix current Rubocop offenses (#362)Restore docs/antora.yml🆕 prism (added, 1.4.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