Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rubocop/rubocop
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.79.1
Choose a base ref
...
head repository: rubocop/rubocop
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.79.2
Choose a head ref
  • 19 commits
  • 27 files changed
  • 6 contributors

Commits on Jul 31, 2025

  1. Register offense for parentheses around method calls with blocks in S…

    …tyle/RedundantParentheses
    lovro-bikic committed Jul 31, 2025
    Configuration menu
    Copy the full SHA
    868c1a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. 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`
    koic authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    177ea7e View commit details
    Browse the repository at this point in the history
  2. Fix false-positive for Layout/EmptyLinesAfterModuleInclusion when i…

    …nclusion is called with modifier
    r7kamura committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    7726d73 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #14408 from r7kamura/inclusion-modifier

    Fix false-positive for `Layout/EmptyLinesAfterModuleInclusion` when inclusion is called with modifier
    koic authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    9423ef4 View commit details
    Browse the repository at this point in the history
  4. [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.
    koic committed Aug 1, 2025
    Configuration menu
    Copy the full SHA
    89427ce View commit details
    Browse the repository at this point in the history
  5. Merge pull request #14409 from koic/fix_false_positives_for_lint_usel…

    …ess_assignment
    
    [Fix #14402] Fix false positives for `Lint/UselessAssignment`
    koic authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    3432c6d View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2025

  1. [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.
    koic committed Aug 2, 2025
    Configuration menu
    Copy the full SHA
    5eba5ed View commit details
    Browse the repository at this point in the history
  2. 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`
    koic authored Aug 2, 2025
    Configuration menu
    Copy the full SHA
    e213b02 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2025

  1. [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.
    jvlara committed Aug 3, 2025
    Configuration menu
    Copy the full SHA
    86fe848 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2025

  1. 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
    koic authored Aug 4, 2025
    Configuration menu
    Copy the full SHA
    eb470ce View commit details
    Browse the repository at this point in the history
  2. [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.
    koic committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    a805ea3 View commit details
    Browse the repository at this point in the history
  3. 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.
    koic committed Aug 4, 2025
    Configuration menu
    Copy the full SHA
    d7b9750 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2025

  1. Merge pull request #14417 from koic/fix_false_positives_for_style_map…

    …_to_hash
    
    [Fix #14416] Fix false positives for `Style/MapToHash`
    koic authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    f807efa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #14418 from koic/fix_false_positives_for_style_map…

    …_to_set
    
    Fix false positives for `Style/MapToSet`
    koic authored Aug 5, 2025
    Configuration menu
    Copy the full SHA
    2bf71f1 View commit details
    Browse the repository at this point in the history
  3. [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.
    koic authored and bbatsov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    9faac23 View commit details
    Browse the repository at this point in the history
  4. [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.
    Earlopain authored and bbatsov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    bf3806e View commit details
    Browse the repository at this point in the history
  5. 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
    Earlopain authored and bbatsov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    a62c3a9 View commit details
    Browse the repository at this point in the history
  6. Update Changelog

    bbatsov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    ccba99f View commit details
    Browse the repository at this point in the history
  7. Cut 1.79.2

    bbatsov committed Aug 5, 2025
    Configuration menu
    Copy the full SHA
    517485a View commit details
    Browse the repository at this point in the history
Loading