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-rails
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.31.0
Choose a base ref
...
head repository: rubocop/rubocop-rails
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.32.0
Choose a head ref
  • 11 commits
  • 13 files changed
  • 4 contributors

Commits on Apr 1, 2025

  1. Configuration menu
    Copy the full SHA
    e6f1eda View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. Use RuboCop::AST::Node#any_def_type? method

    Follow-up to rubocop/rubocop-ast#377
    
    This PR suppresses the following new offenses:
    
    ```console
    $ bundle exec rubocop
    (snip)
    
    lib/rubocop/cop/rails/three_state_boolean_column.rb:48:43:
    C: [Correctable] InternalAffairs/NodeTypeGroup: Use :any_def instead of individually listing group types.
                def_node = node.each_ancestor(:def, :defs).first
                                              ^^^^^^^^^^^
    
    301 files inspected, 1 offense detected, 1 offense autocorrectable
    ```
    koic committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    fb10659 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2025

  1. Remove redundant require 'English'

    Follow-up to d4164a2
    
    `$RS` is no longer used.
    koic committed Apr 6, 2025
    Configuration menu
    Copy the full SHA
    9196e3e View commit details
    Browse the repository at this point in the history

Commits on May 8, 2025

  1. Fix Rails/TimeZone cop error on invalid string literal encoding

    In some cases (e.g. for testing purposes) we might to want
    to use invalid string literal -- in that case IMO we should
    not register an offense.
    viralpraxis committed May 8, 2025
    Configuration menu
    Copy the full SHA
    b17bfb7 View commit details
    Browse the repository at this point in the history
  2. [Fix #1477] Fix an error for Rails/SchemaComment when the comment i…

    …s passed as a local variable
    
    To do that, be more specific about what type you expect to call blank? on (strings only).
    
    Caused by #1467
    Earlopain committed May 8, 2025
    Configuration menu
    Copy the full SHA
    43427f6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1479 from Earlopain/schema-comment-local-var

    [Fix #1477] Fix an error for `Rails/SchemaComment` when the comment is passed as a local variable
    koic authored May 8, 2025
    Configuration menu
    Copy the full SHA
    2a44746 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2025

  1. Merge pull request #1475 from viralpraxis/fix-rails-time-zone-cop-err…

    …or-on-invalid-string-literal-encoding
    
    Fix `Rails/TimeZone` cop error on invalid string literal encoding
    koic authored May 9, 2025
    Configuration menu
    Copy the full SHA
    e97c93f View commit details
    Browse the repository at this point in the history

Commits on May 12, 2025

  1. Configuration menu
    Copy the full SHA
    1126d68 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2025

  1. Merge pull request #1476 from tdeo/packwerk_globs

    Use glob patterns compatible with Packwerk and engines
    koic authored May 17, 2025
    Configuration menu
    Copy the full SHA
    d848db1 View commit details
    Browse the repository at this point in the history
  2. Update Changelog

    koic committed May 17, 2025
    Configuration menu
    Copy the full SHA
    9e3d25e View commit details
    Browse the repository at this point in the history
  3. Cut 2.32.0

    koic committed May 17, 2025
    Configuration menu
    Copy the full SHA
    ddcc231 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy