Update rubocop-rails 2.27.0 → 2.29.0 (minor) #547
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.29.0) · Repo · Changelog
Release Notes
2.29.0
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 57 commits:
Cut 2.29.0
Update Changelog
Merge pull request #1414 from viralpraxis/fix-rails-http-positional-arguments-cop-false-positives-on-forwarded-args
Merge pull request #1412 from koic/add_new_rails_strong_parameters_expect_cop
Merge pull request #1411 from koic/make_registered_cops_aware_of_all_cops_migrated_schema_version
Fix `Rails/HttpPositionalArguments` cop false positives with arguments forwarding
Add new `Rails/StrongParametersExpect` cop
Add missing `Include` paths for `Rails/MultipleRoutePaths`
[Fix #1410] Make registered cops aware of `AllCops: MigratedSchemaVersion`
Merge pull request #1407 from koic/add_new_rails_multiple_route_paths_cop
Merge pull request #1409 from Earlopain/reversible-migration-error
Fix an error for `Rails/ReversibleMigration` when calling `drop_table` without any arguments
Remove a useless constant
Add new `Rails/MultipleRoutePaths` cop
Merge pull request #1406 from eugeneius/index_by_index_with_enclosing_block
Merge pull request #1405 from eugeneius/index_with_hash_literal_without_braces
Fix autocorrection for `Rails/IndexBy` and `Rails/IndexWith` when `map { ... }.to_h` is enclosed in another block
Fix autocorrection for `Rails/IndexWith` when the value is a hash literal without braces
Remove a useless gem file
Merge pull request #1404 from eugeneius/index_by_index_with_numblock
Use RuboCop RSpec 3.3 for development
Bump license years to 2025
Update `Rails/IndexBy` and `Rails/IndexWith` to support numbered block parameters
Merge pull request #1403 from koic/ci_against_ruby_34
CI against Ruby 3.4
Merge pull request #1402 from Earlopain/ci-sync
Merge pull request #1397 from mterada1228/fix-rails-timezone
Fix an incorrect autocorrect for `Rails/TimeZone` when Time.new has a string argument
Various other small workflow changes from rubocop
Add options to the actions-codespell configuration to check hidden files and file name
Improve the configuration options of the yamllint-github-action
CI: Move internal_investigation to linting.yml
CI: Consistent naming of steps
Add GitHub token permissions for workflows
Suppress RuboCop offenses
Fix a typo
Switch back docs version to master
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.69.2 → 1.70.0) · Repo · Changelog
Release Notes
1.70.0
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
1.3.5
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 6 commits:
Release concurrent-ruby 1.3.5 and concurrent-ruby-edge 0.7.2
chore: fix typos (#1076)
Set rake-compiler source and target to Java 8 (#1071)
Improve ancestor classes spec
Avoid error when member is present on ancestor class
Remove dependency on logger
Release Notes
3.3.7.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 10 commits:
Update changelog.
Bump version.
update CI config (bump JRuby version, drop MRI 3.0 branch) (#1062)
* Bump maintenance branches to 3.3.7 (#1061)
Revert "* bump 3.4 branch, remove 3.0 from CI (EOL) (#1057)" (#1058)
* bump 3.4 branch, remove 3.0 from CI (EOL) (#1057)
* assert that version-specific checks actually run against at least one version (#1050)
+ ruby34.y: reject `return` in singleton class (#1048)
- Fix `ruby-parse` with a folder ending in `.rb` (#1047)
Update changelog.
Release Notes
3.1.4 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 3 commits:
Release v3.1.4
CI: Add jruby and Ruby 3.4 on Windows
Fix and improve handling of Skin Tone Modifiers:
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