Update rubocop-rails 2.23.1 → 2.24.0 (minor) #380
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.23.1 → 2.24.0) · Repo · Changelog
Release Notes
2.24.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 22 commits:
Cut v2.24.0
Update Changelog
Merge pull request #1245 from koic/support_prism
Support Prism as a Ruby parser
Use RuboCop RSpec 2.27
Use `stub_const`
Merge pull request #1241 from Earlopain/fix-error-for-where-exists
Fix an error for `Rails/WhereExists` with `EnforcedStyle: where` and implicit recievers
Remove redundant `expect_no_offenses` keyword arguments
Merge pull request #1235 from ymap/fix_an_incorrect_autocorrect_for_rails_find_by
[Fix #1234] Fix an incorrect autocorrect for `Rails/FindBy`
Fix an incorrect example for `Rails/ReversibleMigration`
Merge pull request #1231 from r7kamura/dangerous-object-id
Remove `object_id` from `Rails/DangerousColumnNames` targets
Merge pull request #1229 from markokajzer/master
Make `Rails/EnvironmentVariableAccess` aware of initializers.
Use RuboCop RSpec 2.26
Raise an exception if automation task `system` fails
Merge pull request #1176 from masato-bkn/refactor/redundant_active_record_all_method_spec
Merge pull request #1223 from koic/ci_against_ruby_3_3
CI against Ruby 3.3
Switch back docs version to master
✳️ rubocop (1.62.0 → 1.62.1) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by 38 commits:
Cut 1.62.1
Update Changelog
Fix an error for `Lint/UselessTimes` when no block is present
Fix an infinite loop for `Style/RaiseArgs` with `EnforcedStyle: compact` when passing than 2 arguments to `raise`
Merge pull request #12771 from Earlopain/node-matcher-directive-followup
Merge pull request #12773 from Earlopain/fix-error-for-style-for
Merge pull request #12772 from Earlopain/fix-error-for-style-class-vars
Fix an error for `Style/For` with `EnforcedStyle: for` when no receiver
Fix an error for `Style/ClassVars` when calling `class_variable_set` without arguments
Merge pull request #12770 from Earlopain/fix-an-error-for-lint-redundant-with-index
Merge pull request #12768 from Earlopain/fix-false-positive-for-style-nil-comparison
Fix a wrong offense message for `InternalAffairs/NodeMatcherDirective`
Fix a false positive for `Style/NilComparison` without receiver
Fix an error for `Lint/RedundantWithIndex` when there is no receiver
Fix an infinite loop for `Style/MultilineMethodSignature` when line break after def
Merge pull request #12765 from Earlopain/fix-an-error-for-layout-multiline-method-call-indentation
Merge pull request #12764 from Earlopain/false-negative-for-layout-empty-line-after-magic-comment
Fix an error for `Layout/MultilineMethodCallIndentation` with safe navigation and assignment method
[Fix #12710] Fix a false negative for `Layout/EmptyLineAfterMagicComment` when the file is comments only
[Docs] Tweak the Prism docs
[Fix #12758] Fix false positives for `Layout/RedundantLineBreak`
Merge pull request #12760 from Earlopain/fix-12663
[Fix #12761] Fix a false positive for `Style/HashEachMethods`
Merge pull request #12753 from Earlopain/fix-12665
[Fix #12665] Fix infinite loop for `InternalAffairs/NodeMatcherDirective` with class methods
[Fix #12663] Prevent `Lint/Syntax` being disabled by directive comments
Fix an incorrect issue number of Prism
[Docs] Expand a bit the history section
Skip `LineLength` phase on `--auto-gen-only-exclude`
Expand configuration docs re: finding target Ruby in *.gemspec file
Only parse target Ruby from gemspec if array elements are strings
Merge pull request #12755 from viralpraxis/fix-redundant-current-directory-in-path-cop-failure-on-require-relative-without-arguments
Fix `RedundantCurrentDirectoryInPath` cop exception
Merge pull request #12752 from Earlopain/error-required-ruby-version
Merge pull request #12751 from Earlopain/fix-12703
Fix an error for `Gemspec/RequiredRubyVersion` when the file is empty
[Fix #12703] Fix an error for `Lint/MixedCaseRange` with invalid byte sequence in UTF-8
Switch back the docs version
Commits
See the full diff on Github. The new version differs by 3 commits:
Cut 1.31.2
Improve error message when passing wrong `parser_engine` and accept strings
Restore docs/antora.yml
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