-
-
Notifications
You must be signed in to change notification settings - Fork 274
Comparing changes
Open a pull request
base repository: rubocop/rubocop-rails
base: v2.30.3
head repository: rubocop/rubocop-rails
compare: v2.31.0
- 14 commits
- 34 files changed
- 4 contributors
Commits on Feb 28, 2025
-
Future-proof
Rails/Output
foritblock
This way it's just checking for a block body instead of caring about the specific type
Configuration menu - View commit details
-
Copy full SHA for 84d09f5 - Browse repository at this point
Copy the full SHA 84d09f5View commit details
Commits on Mar 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 332ef79 - Browse repository at this point
Copy the full SHA 332ef79View commit details
Commits on Mar 12, 2025
-
Don't load the active_support
blank
core extensionRubocop already defined its own `blank?` method (🙁), so ruby always warns when it is loaded again. There's no real point in using the extension though, so just not using it seems ideal.
Configuration menu - View commit details
-
Copy full SHA for d66f688 - Browse repository at this point
Copy the full SHA d66f688View commit details -
Avoid warnings about redefined methods in EnforceSuperclass module
Fix #1465 This change avoids the printing of warnings about some methods (`included`, `on_class`, and `on_send`) of the `RuboCop::Cop::EnforceSuperclass` module being redefined. These warnings are printed because, in addition to the definition of that module here in `rubocop-rails`, that module is first [also defined in `rubocop`][1]. (The module has been extracted to `rubocop-rails`, but is also left in `rubocop`, for backwards compatibility.) [1]: https://github.com/rubocop/rubocop/blob/v1.73.2/lib/rubocop/cop/mixin/enforce_superclass.rb This change avoids the warnings by first undefining the `RuboCop::Cop::EnforceSuperclass` module (the one from `rubocop`) before then redefining that module here in `rubocop-rails`.
Configuration menu - View commit details
-
Copy full SHA for f5c8ee8 - Browse repository at this point
Copy the full SHA f5c8ee8View commit details
Commits on Mar 14, 2025
-
Merge pull request #1466 from davidrunger/avoid-warnings-about-redefi…
…ned-methods Avoid warnings about redefined methods in EnforceSuperclass module
Configuration menu - View commit details
-
Copy full SHA for 2c65962 - Browse repository at this point
Copy the full SHA 2c65962View commit details
Commits on Mar 15, 2025
-
Merge pull request #1467 from Earlopain/less-rails-extensions
Don't load the active_support `blank` core extension
Configuration menu - View commit details
-
Copy full SHA for 8056bdc - Browse repository at this point
Copy the full SHA 8056bdcView commit details
Commits on Mar 26, 2025
-
This commit suppresses the following RuboCop's offense: ```console $ bundle exec rubocop (snip) lib/rubocop/cop/rails/eager_evaluation_log_message.rb:48:23: C: [Correctable] Style/RedundantFormat: Use MSG directly instead of format. message = format(MSG) ^^^^^^^^^^^ 301 files inspected, 1 offense detected, 1 offense autocorrectable ```
Configuration menu - View commit details
-
Copy full SHA for 930584a - Browse repository at this point
Copy the full SHA 930584aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c222756 - Browse repository at this point
Copy the full SHA c222756View commit details
Commits on Mar 27, 2025
-
Merge pull request #1460 from Earlopain/future-proof-rails-output
Future-proof `Rails/Output` for `itblock`
Configuration menu - View commit details
-
Copy full SHA for 3fbbca6 - Browse repository at this point
Copy the full SHA 3fbbca6View commit details -
Support
it
block parameter inRails
copsThis PR supports `it` block parameter in `Rails` cops. Closes #1413
Configuration menu - View commit details
-
Copy full SHA for 72155fd - Browse repository at this point
Copy the full SHA 72155fdView commit details
Commits on Mar 28, 2025
-
Merge pull request #1471 from koic/support_itblock_in_rails_cops
Support `it` block parameter in `Rails` cops
Configuration menu - View commit details
-
Copy full SHA for 2420d70 - Browse repository at this point
Copy the full SHA 2420d70View commit details
Commits on Mar 29, 2025
-
Merge pull request #1469 from hatsu38/fix-broken-Rails_ArelStar-adoc
[Fix #1353] Fix incorrect escaping of asterisk in docs and comments
Configuration menu - View commit details
-
Copy full SHA for 6b32cfb - Browse repository at this point
Copy the full SHA 6b32cfbView commit details
Commits on Apr 1, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 85f2a72 - Browse repository at this point
Copy the full SHA 85f2a72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87dd3e3 - Browse repository at this point
Copy the full SHA 87dd3e3View 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 v2.30.3...v2.31.0