Update rubocop-rails 2.34.0 → 2.34.3 (patch) #632
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.34.0 → 2.34.3) · Repo · Changelog
Release Notes
2.34.3
2.34.2
2.34.1
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 30 commits:
Cut 2.34.3Update ChangelogBump license years to 2026Merge pull request #1575 from ydakuka/fix-typos-and-improve-naming-inclusive-language-configFix typos and improve `Naming/InclusiveLanguage` configurationCI against Ruby 4.0Use RuboCop RSpec 3.8.0 for developmentReset the docs versionMerge pull request #1573 from koic/fix_an_error_for_rails_select_mapFix an error for `Rails/SelectMap`Merge pull request #1570 from koic/fix_an_error_for_rails_select_map_cop[Fix #1569] Fix an error in `Rails/SelectMap`Cut 2.34.2Update ChangelogMerge pull request #1567 from koic/make_rails_presence_allow_index_access_methods[Fix #1565] Make `Rails/Presence` allow index access methodsMerge pull request #1566 from rubocop/dependabot/github_actions/actions/checkout-6Bump actions/checkout from 5 to 6Switch back docs version to masterCut 2.34.1Update ChangelogMerge pull request #1562 from koic/fix_incorrect_autocorrect_for_rails_redirect_back_or_to_copMerge pull request #1560 from davidenglishmusic/presence-cop-comparison-assignment-false-positives[Fix #1561] Fix incorrect autocorrect for `Rails/RedirectBackOrTo`Merge pull request #1559 from koic/fix_incorrect_autocorrect_for_rails_redirect_back_or_to[Fix #1557] Fix false positives for Rails/Presence with comparison and assignment operators[Fix #1558] Fix incorrect autocorrect for `Rails/RedirectBackOrTo`Merge pull request #1556 from koic/fix_an_error_for_rails_envFix an error for `Rails/Env`Switch back docs version to master✳️ rubocop (1.82.1 → 1.84.0) · Repo · Changelog
Release Notes
1.84.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 71 commits:
Cut 1.84Fix broken exampleAllow references to be redirectsUpdate Changelog[Fix #10956] Preserve source tabs in Clang and Tap formatters when displaying offense highlightMerge pull request #14798 from lovro-bikic/fix-14691Add AllowedMethods configuration to Style/ModuleMemberExistenceCheckMerge pull request #14799 from HariprasanthMS/bug_14716[Fix #14716] Fix infinite loop for Layout/LineLength with SplitStringsFix [#14691] Recognize Forwardable methods in Lint/DuplicateMethodsAdd `require: false` to rubocop-* in Gemfile[Doc] Fix quotes in the documentation for `Lint/UselessOr`Merge pull request #14796 from lovro-bikic/fix-14788-logical-assignmentFix [#14788] Handle logical and operator assignment nodes in variable branch handlingUse `start_with?`[Docs] Fix some typosAdd some specs to `Lint/UselessSetterCall`Add support for squish and squish! applied to heredoc to Layout/HeredocIndentation[Fix #14516] Add `AllowImplicitArrayLiterals` to `Layout/FirstArrayElementLineBreak`Add support for other Module member existence methods to Style/ModuleMemberExistenceCheckMake `Lint/RedundantSplatExpansion` aware of constant assignment[Fix rubocop#12295] Fix `Layout/FirstArgumentIndentation` to correct entire method calls and chains for nested calls[Fix rubocop#12051] Add new `Style/NegativeArrayIndex` cop to enforce using negative array indices instead of calculating array length minus a value. The cop handles both simple index patterns and range patterns, and recognizes preserving methods and their combinations[Fix rubocop#9373] Fix an infinite loop error for `Layout/IndentationWidth` when autocorrecting mixed tabs and spaces in blocks. Fix an infinite loop error for `Layout/DefEndAlignment` and `Layout/IndentationStyle` when autocorrecting mixed tabs and spaces. Autocorrection for tabs is disabled in `AlignmentCorrector` for indentation offenses, but enabled for `align_end`[Fix rubocop#12343] Add new `Style/EmptyClassStyle` cop to enforce consistent style for empty class definitions. The cop can enforce either a two-line class definition or `Class.new` for classes with no body[Fix rubocop#14779] Fix autocorrect crash with `ruby_extractor` when using `offset: 0` and different source buffers[Fix rubocop#12527] Fix `Offense#highlighted_area` to return a valid `Parser::Source::Range`Merge pull request #14790 from viralpraxis/fix-an-error-for-style-hash-lookup-method-copFix an error for `Style/HashLookupMethod` copMerge pull request #14786 from ydakuka/14783/fix-incorrect-autocorrect-for-style-hash-syntax[Fix rubocop#14783] Fix incorrect autocorrect for `Style/HashSyntax` when shorthand syntax is used in condition of `if`/`unless`/`while`/`until`[Doc] Tweak the doc of `Lint/ToJSON`Move changelog entry to correct directoryAdd new `Style/ReverseFind` copImproved the remote configuration file name on the cache location.Add new `Style/HashLookupMethod` copFix an error for `Style/GuardClause`Merge pull request #14767 from MikeMcQuaid/indentation_width_relative_to_receiverAdd Layout/IndentationWidth relative_to_receiver style[Doc] Make example indentations consistentDrop `prism_spec` from the default Rake taskAdd some specs for `Lint/RedundantSplatExpansion`Merge pull request #14778 from wktk/fix-json-load-false-positiveFix `Security/JSONLoad` false positive with multiple optionsMerge pull request #14777 from koic/use_rubocop_rspec_to_3_9_in_developmentUse RuboCop RSpec 3.9 for developmentAdd tests for push/pop directive fixMerge pull request #14775 from koic/expand_method_names_in_lint_struct_new_overrideExpand method names in `Lint/StructNewOverride`Merge pull request #14765 from fatkodima/class_structure-constants-in-categoriesAvoid deprecated method of RuboCop ASTMerge pull request #14770 from koic/make_style_access_modifier_declarations_aware_of_sclassMake `Style/AccessModifierDeclarations` aware of self classMerge pull request #14766 from ydakuka/14763/fix-infinite-loop-indentation-width-with-indented-internal-methods[Fix rubocop#14763] Fix an infinite loop error for `Layout/IndentationWidth` and `Layout/IndentationConsistency` when using `EnforcedStyle: indented_internal_methods` with method chain blocks[Fix #14697] Allow non-method calls in `Categories` for `Layout/ClassStructure`Bump license years to 2026Merge pull request #14762 from koic/fix_false_negative_for_style_redundant_condition_copFix false negatives for `Style/RedundantCondition`Remove redundant RuboCop config in .rubocop.ymlFix typosFix accept verb formFix article usage in "registers offense"Fix "register an offense" verb formMerge pull request #14722 from koic/support_ruby_41Support `TargetRubyVersion 4.1`Merge pull request #14752 from sakuro/fix/force-default-config-regression[Fix #14751] Fix --force-default-config regressionMerge pull request #14749 from koic/make_ruby_4_0_non_experimentalMake Ruby 4.0 non-experimentalReset the docs versionRelease Notes
4.0.1
4.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 40 commits:
Bump version to v4.0.1 (#477)Remove "Which version should you select" section (#476)Remove unused variable (and add test for it) (#475)Merge pull request #474 from ruby/exclude-dependabot-updateExclude dependabot updates from release noteBump version to v4.0.0 (#472)Deprecate ludcmp, jacobian and newton (#471)Remove deprecated method BigDecimal#precs (#470)Better rounding of BigMath.atan(nearly_one, prec) (#469)Merge pull request #468 from ruby/dependabot/github_actions/step-security/harden-runner-2.14.0Bump step-security/harden-runner from 2.13.3 to 2.14.0Implement BigMath.frexp and ldexp with exponent of 10 (#448)Fix lgamma precision when gamma(negative_x).abs nearly equals 1 (#467)Fix lgamma precision around 1 and 2 (#466)Fix inaccurate calculation (last digit) and add a workaround for add/sub hang bug (#465)Merge pull request #463 from tas50/masterFix typos + improve copy/paste in readmeImplement BigMath.gamma and BigMath.lgamma (#451)Implement BigMath.erf(x, prec) and BigMath.erfc(x, prec) (#357)Merge pull request #461 from ruby/dependabot/github_actions/step-security/harden-runner-2.13.3Merge pull request #462 from ruby/dependabot/github_actions/actions/checkout-6.0.1Bump actions/checkout from 6.0.0 to 6.0.1Bump step-security/harden-runner from 2.13.2 to 2.13.3Cast divmod quotient to int (#312)Change remainder/modulo/divmod test of +0/-0 type tolerant (#460)Add missing BigMath test for jruby (#459)Merge pull request #457 from ruby/dependabot/github_actions/actions/checkout-6.0.0Bump actions/checkout from 5.0.1 to 6.0.0Merge pull request #456 from ruby/dependabot/github_actions/actions/checkout-6.0.0Bump actions/checkout from 5.0.0 to 6.0.0Don't use assert_separatly if not needed (#455)Bump step-security/harden-runner from 2.13.1 to 2.13.2 (#454)Fix incorrect exception when exponent is fractional for Infinity base (#453)Make BigMath.exp and log also a module_method (#452)Add missing bigmath precision test, add missing indent (#450)Merge pull request #449 from ruby/update-actionsUpdate the latest versions of actionsFix fast-path of frac and _decimal_shift affected by BigDecimal.limit (#447)Implement major math functions (#336)Fix x**y, x.power(y, 0) and x.sqrt(0) calculates huge digits if precision limit is huge (#445)Release Notes
1.14.8
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 18 commits:
Bump to 1.14.9Merge pull request #726 from byroot/fstr-compatMerge branch 'master' into fstr-compatRemove testing for EOL Rubies 3.1 + 3.0Merge remote-tracking branch 'olleolleolle/patch-1'Merge pull request #724 from lee266/fix/i18n-locale-thread-variableFix compatibility with `--enable-frozen-string-literal`Merge pull request #722 from taketo1113/ci-ruby-3.4CI: Fix rails version specification in gemfiles to run with the specified minor versionCI: Add ruby 3.4 to CI Matrixfix: I18n.locale reset in Fiber context by using Thread#thread_variable_{get,set}Delete gemfiles/Gemfile.rails-6.1.xDelete gemfiles/Gemfile.rails-6.0.xCI: Omit the 6.x versions of RailsCI: Use actions/checkout@v5Merge pull request #708 from voxik/add-require-pathnameMerge pull request #713 from Earlopain/cgi-ruby-3.5Remove unused `cgi` requireRelease Notes
3.3.10.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 4 commits:
Bump version* Bump maintenance branches to 3.2.10 (#1085)Relax Bundler version for development (#1086)Update changelog.Release Notes
1.8.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
1.49.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 1.49.0Update ChangelogCI against Ruby 4.0 (#398)Support Ruby 4.1rubocop -abundle exec rubocop --auto-gen-configAdd missing relnotesRemove CI workaround for Ruby 2.7 (#395)Suppress RuboCop's offenseDon't require prism translation parser classes (#393)Suppress RuboCop's offenseBump actions/checkout from 5 to 6 (#392)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