Update rubocop-rails 2.27.0 → 2.28.0 (minor) #1572
Open
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.27.0 → 2.28.0) · Repo · Changelog
Release Notes
2.28.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 20 commits:
Cut 2.28.0
Update Changelog
Merge pull request #1383 from koic/intro_migrated_schema_version
Introduce `AllCops: MigratedSchemaVersion` config
Merge pull request #1398 from viralpraxis/fix-rails-file-path-cop-error-on-join-method-implicit-receiver
Fix `Rails/FilePath` cop error on `join` method with implicit receiver
Merge pull request #1399 from viralpraxis/fix-rails-file-path-cop-error-on-extra-operations-in-rails-root-interpolation
Fix `Rails/FilePath` cop error in case of extra operations in `Rails.root` interpolation
Merge pull request #1392 from viralpraxis/fix-rails-file-path-cop-error-with-rescued-rails-root
Fix `Rails/FilePath` cop error with rescued `Rails.root`
Apply `rubocop --auto-gen-config`
Merge pull request #1390 from masato-bkn/fix_incorrect_autocorrect_for_rails_select_map
Fix an incorrect autocorrect for `Rails/SelectMap` when `select` has no receiver and method chains are used
Merge pull request #1388 from masato-bkn/modify_rails_pluck_to_ignore_map_when_used_inside_block
Modify `Rails/Pluck` to ignore `map/collect` when used inside blocks to prevent potential N+1 queries
Use RuboCop Performance 1.23 for development
Suppress a RuboCop offense
Merge pull request #1382 from masato-bkn/fix-redundant_active_record_all_method
Fix false negatives for `Rails/RedundantActiveRecordAllMethod` when using `all` method in block
Switch back docs version to master
✳️ rubocop (1.68.0 → 1.69.2) · Repo · Changelog
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
3.1.9 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 15 commits:
CI: Disable benchmarking of some versions on Ruby
Bump up to v3.1.9
CHANGES: Add v3.1.9 entries
Accept no digits in the fractional part (#302)
Merge pull request #305 from nobu/c2x-pedantic
Fix extra semicolon outside of a function in `NO_SANITIZE`
Merge pull request #296 from franzliedke/patch-1
Merge pull request #303 from nobu/extconf
Reduce unnecessary checks
Merge pull request #299 from anakinj/minimal-typo-fix
Minor typo fix
Merge pull request #298 from ruby/remove-custom-runner
Use macos-14 instead of macos-arm-oss
Fix indentation [ci skip]
Extend docs for round(0)
Release Notes
2.9.1
2.9.0
2.8.2
2.8.1
2.8.0
2.7.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
Release Notes
3.3.6.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 4 commits:
Update changelog.
Bump version.
* Bump maintenance branches to 3.3.6 (#1045)
Update changelog.
Release Notes
2.10.0 (from changelog)
2.9.3 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 9 commits:
Release v2.10.0
Add referenced_expressions
Fix char, codepoint for single digit hex escapes
Do dogfooding while linting ...
Release v2.9.3
Test some more edge cases
Merge pull request #94 from dvandersluis/dvandersluis-patch-1
Disable brittle cop
Update scanner.rl to not treat lookbehinds with literal `<` characters as named groups.
Release Notes
1.37.0 (from changelog)
1.36.2 (from changelog)
1.36.1 (from changelog)
1.36.0 (from changelog)
1.35.0 (from changelog)
1.34.1 (from changelog)
1.34.0 (from changelog)
1.33.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 46 commits:
Cut 1.37.0
Update Changelog
Make `RuboCop::AST::IfNode` support `then?`
Add `StrNode#single_quoted?`, `StrNode#double_quoted?` and `StrNode#percent_literal?` to simplify checking for string delimiters
Add missing Changelog entry
Use `loc_is?`
Add `Node#loc_is?` for easier test of locations
Improve doc
Fix doc
Restore docs/antora.yml
Cut 1.36.2
Update Changelog
Handle anonymous splats in `MlhsNode`
Avoid a RuboCop's error when running `rubocop`
Restore docs/antora.yml
Cut 1.36.1
Update Changelog
Don't show a deprecation warning for `EnsureNode#branch` just yet
Fix typo in node_pattern_compiler.adoc (#338)
Restore docs/antora.yml
Cut 1.36.0
Update Changelog
Deprecate `EnsureNode#body` in favour of `EnsureNode#branch`.
Restore docs/antora.yml
Cut 1.35.0
Update Changelog
Add `BeginNode` for `kwbegin` nodes.
Add `EnsureNode#rescue_node`.
Restore docs/antora.yml
Cut 1.34.1
Update Changelog
[Fix #331] Fix crash in `OpAsgnNode#name` when the lhs is a `send` or `csend` node.
Fix docs for `masgn`.
Add `Node#type?` to reduce complexity of checking against multiple node types.
Define `GROUP_FOR_TYPE` for specifying the node types for each group predicate (`argument_type?`, etc.).
Extend `Node#const_name` to `casgn` nodes.
Restore docs/antora.yml
Cut 1.34.0
Update Changelog
Introduce `lhs` and `rhs` aliases to assignment nodes for consistency.
Restore docs/antora.yml
Cut 1.33.1
Add Changelog entry
Allow `non_bare_access_modifier_declaration?` to handle modifiers with multiple arguments.
Enable JRuby
Restore docs/antora.yml
Release Notes
3.1.3 (from changelog)
3.1.2 (from changelog)
3.1.1 (from changelog)
3.1.0 (from changelog)
3.0.1 (from changelog)
3.0.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 54 commits:
Release v3.1.3
CI: Deactivate jruby till jar-dependencies issue is sorted out
CI: Add Ruby 3.4
Add Encoding note to README and CHANGELOG
Merge pull request #28 from Earlopain/invalid-encoding-stuff
Handle invalid encoded strings
Add link to terminal-emoji-width.rb
Release v3.1.2
Use :all regex for Emoji pre-selection
Performance: Use bytesize for an extra boost when string is only ASCII
Performance: Speed up if string is only common narrow characters
Refactor: Improve code quality, handle overwrite option differently
Release v3.1.1
Improve VS16 matching
README: rgi_at uses EAW
Release v3.1.0
Don't mix raw and escapd Unicode chars in regex
Implement :rgi_at mode for Apple_Terminal
Rename :basic mode to :vs16
Improve README Emoji mode table
Remove RGI qualification stuff to make things simpler
Add script to visually measure/compare Emoji widths
Improve Emoji handling:
Release v3.0.1
Add foot
Add WezTerm to Emoji support list
Release v3.0.0
Bump unicode-emoji to 4.0 since REGEX_EMOJI_KEYCAP is used …
Release v3.0.0.pre
Improve README intro
Include keycaps in direct basic emoji check
Try to detect terminal's Emoji support level automatically (from ENV vars)
Improve CHANGELOG
Add link to CHANGELOG
Deprecate third and fourth parameter
Finish keyword arguments API
Improve README
Moving display width args slowly to kwargs
Simplify Emoji handling in :basic mode
Simplify Emoji option
Add reline_ext
Tweak README
Properly set default hash
Remain compatible with older Ruby
Remove defined check when requiring from string_ext
Fix gemspec to only require version/constants
Add LINE SEPARATOR and PARAGRAPH SEPARATOR as zero-width
Performance tweaks
Use two different indexes for both ambiguous widths
Private-use characters are considered ambiguous (were given width 1 before)
Fix that a few ignorables were not part of the index
Rework Emoji support …
Reactivate Windows CI for Ruby 3.3
Simplify README
🆕 unicode-emoji (added, 4.0.4)
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