-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Comparing changes
Open a pull request
base repository: rubocop/rubocop
base: v1.79.1
head repository: rubocop/rubocop
compare: v1.79.2
- 19 commits
- 27 files changed
- 6 contributors
Commits on Jul 31, 2025
-
Register offense for parentheses around method calls with blocks in S…
…tyle/RedundantParentheses
Configuration menu - View commit details
-
Copy full SHA for 868c1a3 - Browse repository at this point
Copy the full SHA 868c1a3View commit details
Commits on Aug 1, 2025
-
Merge pull request #14407 from lovro-bikic/redundant-parentheses-fals…
…e-negative-method-block Register offense for parentheses around method calls with blocks in `Style/RedundantParentheses`
Configuration menu - View commit details
-
Copy full SHA for 177ea7e - Browse repository at this point
Copy the full SHA 177ea7eView commit details -
Fix false-positive for
Layout/EmptyLinesAfterModuleInclusion
when i……nclusion is called with modifier
Configuration menu - View commit details
-
Copy full SHA for 7726d73 - Browse repository at this point
Copy the full SHA 7726d73View commit details -
Merge pull request #14408 from r7kamura/inclusion-modifier
Fix false-positive for `Layout/EmptyLinesAfterModuleInclusion` when inclusion is called with modifier
Configuration menu - View commit details
-
Copy full SHA for 9423ef4 - Browse repository at this point
Copy the full SHA 9423ef4View commit details -
[Fix #14402] Fix false positives for
Lint/UselessAssignment
This PR fixes false positives for `Lint/UselessAssignment` when duplicate assignments appear in `if` branch inside a loop and the variable is used outside `while` loop. Fixes #14402.
Configuration menu - View commit details
-
Copy full SHA for 89427ce - Browse repository at this point
Copy the full SHA 89427ceView commit details -
Merge pull request #14409 from koic/fix_false_positives_for_lint_usel…
…ess_assignment [Fix #14402] Fix false positives for `Lint/UselessAssignment`
Configuration menu - View commit details
-
Copy full SHA for 3432c6d - Browse repository at this point
Copy the full SHA 3432c6dView commit details
Commits on Aug 2, 2025
-
[Fix #14411] Fix false negatives for
Layout/EmptyLinesAroundClassBody
This PR fixes false negatives for `Layout/EmptyLinesAroundClassBody` when a class body starts with a blank line and defines a multiline superclass. Fixes #14411.
Configuration menu - View commit details
-
Copy full SHA for 5eba5ed - Browse repository at this point
Copy the full SHA 5eba5edView commit details -
Merge pull request #14412 from koic/fix_false_negatives_for_layout_em…
…pty_lines_around_class_body [Fix #14411] Fix false negatives for `Layout/EmptyLinesAroundClassBody`
Configuration menu - View commit details
-
Copy full SHA for e213b02 - Browse repository at this point
Copy the full SHA e213b02View commit details
Commits on Aug 3, 2025
-
[Fix #11664] Cache wasn't getting used when using parallelization
If you had a formatter that is autoloaded, the LOADED_FEATURES at the beggining of the execution does not have it and this is used for the saving of the cache This causes problems because after the first call when running the inspection of the files, it gets loaded and the main process reads the cache that the parallel process created with this new cache key, causing a invalidation. We make a memoization to fix the issue so the cache key remains consistent throughout the run.
Configuration menu - View commit details
-
Copy full SHA for 86fe848 - Browse repository at this point
Copy the full SHA 86fe848View commit details
Commits on Aug 4, 2025
-
Merge pull request #14414 from jvlara/fix/correct-cache-usage-on-auto…
…load-formatters [Fix #11664] Cache wasn't getting used when using parallelization with custom formatters in certain cases
Configuration menu - View commit details
-
Copy full SHA for eb470ce - Browse repository at this point
Copy the full SHA eb470ceView commit details -
[Fix #14416] Fix false positives for
Style/MapToHash
This PR fixes false positives for `Style/MapToHash` when using `to_h` with block argument. Fixes #14416.
Configuration menu - View commit details
-
Copy full SHA for a805ea3 - Browse repository at this point
Copy the full SHA a805ea3View commit details -
Fix false positives for
Style/MapToSet
This PR fixes false positives for `Style/MapToSet` when using `to_set` with block argument. This is an issue similar to #14417.
Configuration menu - View commit details
-
Copy full SHA for d7b9750 - Browse repository at this point
Copy the full SHA d7b9750View commit details
Commits on Aug 5, 2025
-
Merge pull request #14417 from koic/fix_false_positives_for_style_map…
…_to_hash [Fix #14416] Fix false positives for `Style/MapToHash`
Configuration menu - View commit details
-
Copy full SHA for f807efa - Browse repository at this point
Copy the full SHA f807efaView commit details -
Merge pull request #14418 from koic/fix_false_positives_for_style_map…
…_to_set Fix false positives for `Style/MapToSet`
Configuration menu - View commit details
-
Copy full SHA for 2bf71f1 - Browse repository at this point
Copy the full SHA 2bf71f1View commit details -
[Fix #14420] Fix false positives for
Style/SafeNavigation
This PR fixes false positives for `Style/SafeNavigation` when ternary expression with operator method call with method chain. Fixes #14420.
Configuration menu - View commit details
-
Copy full SHA for 9faac23 - Browse repository at this point
Copy the full SHA 9faac23View commit details -
[Fix #14413] Fix a false positive for `Layout/EmptyLinesAroundArgumen…
…ts` with multiline strings that contain only whitespace The previous implementation was doing a bunch of work to decide if a line was supposed to be considered or not. For example, Module.new with method definitions may contain newlines that should be ignored. This new implementation only considers the ranges between arguments. The old implementationseemed to have issues with array-style method calls. To be honest, I did not try to understand the original implementation.
Configuration menu - View commit details
-
Copy full SHA for bf3806e - Browse repository at this point
Copy the full SHA bf3806eView commit details -
Fix flaky spec for
rubocop_extra_features
It's not safe to assume that it is always nil when the test starts since other tests could already have accessed it. I believe it's also not testing much, except that this method is indeed using a instance variable, so I opted to remove the test. Writing something that really tests this seems very difficult. Followup to #14414
Configuration menu - View commit details
-
Copy full SHA for a62c3a9 - Browse repository at this point
Copy the full SHA a62c3a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ccba99f - Browse repository at this point
Copy the full SHA ccba99fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 517485a - Browse repository at this point
Copy the full SHA 517485aView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.79.1...v1.79.2