#12518: Add new Lint/ItWithoutArgumentsInBlock cop. (@koic)
Bug fixes
#12434: Fix a false positive for Lint/LiteralAssignmentInCondition when using interpolated string or xstring literals. (@koic)
#12435: Fix a false positive for Lint/SelfAssignment when using attribute assignment with method call with arguments. (@koic)
#12444: Fix false positive for Style/HashEachMethods when receiver literal is not a hash literal. (@koic)
#12524: Fix a false positive for Style/MethodCallWithArgsParentheses when EnforcedStyle: omit_parentheses and parens in when clause is used to pass an argument. (@koic)
#12505: Fix a false positive for Style/RedundantParentheses when using parenthesized lambda or proc with do...end block. (@koic)
#12442: Fix an incorrect autocorrect for Style/CombinableLoops when looping over the same data as previous loop in do...end and {...} blocks. (@koic)
#12432: Fix a false positive for Lint/LiteralAssignmentInCondition when using parallel assignment with splat operator in block of guard condition. (@koic)
#12441: Fix false positives for Style/HashEachMethods when using destructed block arguments. (@koic)
#12436: Fix false positives for Style/RedundantParentheses when a part of range is a parenthesized condition. (@koic)
#12429: Fix incorrect autocorrect for Style/MapToHash when using dot method calls for to_h. (@koic)
#12488: Make Lint/HashCompareByIdentity aware of safe navigation operator. (@koic)
#12489: Make Lint/NextWithoutAccumulator aware of safe navigation operator. (@koic)
#12490: Make Lint/NumberConversion aware of safe navigation operator. (@koic)
#12491: Make Lint/RedundantWithIndex aware of safe navigation operator. (@koic)
#12492: Make Lint/RedundantWithObject aware of safe navigation operator. (@koic)
#12493: Make Lint/UnmodifiedReduceAccumulator aware of safe navigation operator. (@koic)
#12473: Make Style/ClassCheck aware of safe navigation operator. (@koic)
#12445: Make Style/CollectionCompact aware of safe navigation operator. (@koic)
#12474: Make Style/ConcatArrayLiterals aware of safe navigation operator. (@koic)
#12476: Make Style/DateTime aware of safe navigation operator. (@koic)
#12479: Make Style/EachWithObject aware of safe navigation operator. (@koic)
#12446: Make Style/HashExcept aware of safe navigation operator. (@koic)
#12447: Make Style/MapCompactWithConditionalBlock aware of safe navigation operator. (@koic)
#12484: Make Style/Next aware of safe navigation operator. (@koic)
#12486: Make Style/RedundantArgument aware of safe navigation operator. (@koic)
#12454: Make Style/RedundantFetchBlock aware of safe navigation operator. (@koic)
#12495: Make Layout/RedundantLineBreak aware of safe navigation operator. (@koic)
#12455: Make Style/RedundantSortBy aware of safe navigation operator. (@koic)
#12456: Make Style/RedundantSortBy aware of safe navigation operator. (@koic)
#12480: Make Style/ExactRegexpMatch aware of safe navigation operator. (@koic)
#12457: Make Style/Sample aware of safe navigation operator. (@koic)
#12458: Make Style/SelectByRegexp cops aware of safe navigation operator. (@koic)
#12494: Make Layout/SingleLineBlockChain aware of safe navigation operator. (@koic)
#12461: Make Style/StringChars aware of safe navigation operator. (@koic)
#12468: Make Style/Strip aware of safe navigation operator. (@koic)
#12469: Make Style/UnpackFirst aware of safe navigation operator. (@koic)
Changes
#12522: Make Style/MethodCallWithoutArgsParentheses allow the parenthesized it method in a block. (@koic)
#12523: Make Style/RedundantSelf allow the self.it method in a block. (@koic)
#12372: Fix a false negative for Lint/Debugger when used within method arguments a begin...end block. (@koic)
#12378: Fix a false negative for Style/Semicolon when a semicolon at the beginning of a lambda block. (@koic)
#12146: Fix a false positive for Lint/FloatComparison when comparing against zero. (@earlopain)
#12404: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue in do-end numbered block in a method. (@koic)
#12374: Fix a false positive for Layout/SpaceBeforeSemicolon when a space between an opening lambda brace and a semicolon. (@koic)
#12326: Fix an error for Style/RedundantDoubleSplatHashBraces when method call for parenthesized no hash double double splat. (@koic)
#12361: Fix an incorrect autocorrect for Naming/BlockForwarding and Style/ArgumentsForwarding when autocorrection conflicts for anonymous arguments. (@koic)
#12324: Fix an error for Layout/RescueEnsureAlignment when using rescue in do...end block assigned to object attribute. (@koic)
#12322: Fix an error for Style/CombinableLoops when looping over the same data for the third consecutive time or more. (@koic)
#12366: Fix a false negative for Layout/ExtraSpacing when a file has exactly two comments. (@eugeneius)
#12373: Fix a false negative for Lint/SymbolConversion when using string interpolation. (@earlopain)
#12402: Fix false negatives for Style/RedundantLineContinuation when redundant line continuations for a block are used, especially without parentheses around first argument. (@koic)
#12311: Fix false negatives for Style/RedundantParentheses when parentheses around logical operator keywords in method definition. (@koic)
#12394: Fix false negatives for Style/RedundantReturn when lambda (->) ending with return. (@koic)
#12377: Fix false positives for Lint/Void when a collection literal that includes non-literal elements in a method definition. (@koic)
#12407: Fix an incorrect autocorrect for Style/MapToHash with Layout/SingleLineBlockChain. (@koic)
#12409: Fix an incorrect autocorrect for Lint/SafeNavigationChain when ordinary method chain exists after safe navigation leading dot method call. (@koic)
#12363: Fix incorrect rendering of HTML character entities in HTMLFormatter formatter. (@koic)
#12424: Make Style/HashEachMethods aware of safe navigation operator. (@koic)
#12413: Make Style/InverseMethods aware of safe navigation operator. (@koic)
#12408: Make Style/MapToHash aware of safe navigation operator. (@koic)
Changes
#12328: Make Style/AutoResourceCleanup aware of Tempfile.open. (@koic)
#12412: Enhance Lint/RedundantSafeNavigation to handle conversion methods with defaults. (@fatkodima)
#12410: Enhance Lint/SelfAssignment to check attribute assignment and key assignment. (@fatkodima)
#12370: Make Style/HashEachMethods aware of unused block value. (@koic)
#12380: Make Style/RedundantParentheses aware of lambda or proc. (@koic)
#12421: Make Style/SelfAssignment aware of %, ^, <<, and >> operators. (@koic)
#12337: Supports EnforcedStyleForRationalLiterals option for Layout/SpaceAroundOperators. (@koic)
#12296: Support RedundantRestArgumentNames, RedundantKeywordRestArgumentNames, and RedundantBlockArgumentNames options for Style/ArgumentsForwarding. (@koic)
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
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu cancel merge
Cancels automatic merging of this PR
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
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.22.1 → 2.23.1) · Repo · Changelog
Release Notes
2.23.1
2.23.0
2.22.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 46 commits:
Cut 2.23.1
Update Changelog
Merge pull request #1220 from andyw8/patch-1
Merge pull request #1222 from rubocop/fix-where_not-for-implicit-receiver
[Fix #1221] Fix bug in Rails/WhereNot
Use RuboCop Performance 1.20
`after_generator` config should only be for development
[Fix #1218] Fix a typo
Switch back docs version to master
Cut 2.23.0
Update Changelog
Merge pull request #1204 from koic/make_some_cops_aware_of_safe_navigation_operator
Make some cops aware of safe navigation operator
Merge pull request #1216 from fatkodima/pluck_in_where-ids
Update `Rails/PluckInWhere` to check for `.ids` call
Merge pull request #1209 from fatkodima/pluck_in_where-where-not
Support `where.not` for `Rails/PluckInWhere`
Merge pull request #1181 from r7kamura/nokogiri-html-parse
Merge pull request #1208 from fatkodima/fix-where-missing-error
Fix an error for `Rails/WhereMissing` where join method is called without arguments
Support `Nokogiri::HTML.parse` and `Nokogiri::HTML5.parse` on `Rails/ResponseParsedBody`
Merge pull request #1190 from koic/fix_false_negatives_for_rails_pluck
[Fix #1189] Fix false negatives for `Rails/Pluck`
Merge pull request #1187 from koic/migrate_to_gha_from_circleci
Migrate to GitHub Actions from CircleCI
Suppress a new RuboCop offense
Merge pull request #1185 from masato-bkn/adjust-rails-redundant-active-record-all-method
Remove NOTE tag from `Rails/RedundantActiveRecordAllMethod` description for readability
Merge pull request #1183 from Dania02525/feature/support_postgis_adapter
Switch back docs version to master
Cut 2.22.2
Update Changelog
Merge pull request #1174 from koic/fix_error_for_rails_redundant_active_record_all_method
support postGIS adapter for postgreSQL
Merge pull request #1171 from masato-bkn/restrict-offense-to-model-receiver
Merge pull request #1178 from koic/require_rubocop_ast_1_30
Require RuboCop AST 1.30.0+
[Docs] Add missing spaces
Suppress a new RuboCop offense
Use RuboCop RSpec 2.25
Add a project spec
Merge pull request #1175 from koic/fix_an_error_for_rails_unknown_env
[Fix #1173] Fix an error for `Rails/RedundantActiveRecordAllMethod` cop
[Fix #1172] Fix an error for `Rails/UnknownEnv`
Change `Rails/RedundantActiveRecordAllMethod` to ignore `delete_all` and `destroy_all` when receiver is an association
Switch back docs version to master
✳️ rubocop (1.57.2 → 1.59.0) · Repo · Changelog
Release Notes
1.59.0
1.58.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.
↗️ json (indirect, 2.6.3 → 2.7.1) · Repo · Changelog
Release Notes
2.7.1
2.7.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.
↗️ parallel (indirect, 1.23.0 → 1.24.0) · Repo
Commits
See the full diff on Github. The new version differs by 5 commits:
v1.24.0
Merge pull request #340 from grosser/grosser/order
polish
Merge pull request #339 from shaicoleman/finish-in-order
Add :finish_in_order option
↗️ regexp_parser (indirect, 2.8.2 → 2.8.3) · Repo · Changelog
Release Notes
2.8.3 (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:
Release v2.8.3
Handle leading 0s in group refs, fixes #88
Update comment
Update github actions
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