Update rubocop 1.72.2 → 1.73.0 (minor) #742
Closed
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 (1.72.2 → 1.73.0) · Repo · Changelog
Release Notes
1.73.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 58 commits:
Cut 1.73
Update Changelog
Introduce EnforcedStyleForMultiline "diff_comma"
Fix false positives for `Style/EndlessMethod`
Add partial autocorrect support for Lint/LiteralAsCondition
[Fix #12692] Fix `Style/AccessorGrouping` with constants
[Fix #11024] add `require_single_line` to `Style/EndlessMethod`
[Fix #11024] Add `require_always` option to `Style/EndlessMethod`
Make `CopsDocumentationGenerator` support plugin system for extensions
Update `Style/RedundantCondition` cop to detect conditional expressions where the true branch is `true` and suggest replacing them with a logical OR
Merge pull request #13906 from dvandersluis/issue/13900
Automate the process of GH release creation
[Fix #13900] Fix infinite loop between `Layout/EmptyLinesAroundAccessModifier` and `Layout/EmptyLinesAroundBlockBody` with `EnforcedStyle: no_empty_lines`
Merge pull request #13907 from Earlopain/autocorrect-string-concat-numblock
Don't offer autocorrect for `Style/StringConcatenation` when numblocks are used
Merge pull request #13905 from Earlopain/lint-duplicate-methods-dead-code
Remove unnecessary `possible_dsl?` in `Lint/DuplicateMethods`
Merge pull request #13903 from Earlopain/internal-affairs-config
Move internal affairs config into proper config file
Allow merging of configured arrays and non-arrays
Add `Reference` to common params
Update spec to include `Reference` & `StyleGuide`
Use `gem` instead of `Gem.try_activate`
Fix false negative for `Style/RedundantSelfAssignment` when the method receives a block
Merge pull request #13901 from vlad-pisanov/vp_doc_typo
Fix typo in `Lint/RedundantTypeConversion` documentation.
[Fix #13818] Fix false positives for `Lint/Void`
Update `Lint/RedundantTypeConversion` to not register an offense when given a constructor with `exception: false`
Fix autocorrection for `Layout/LineLength` with interpolated strings when not on the first line
[Fix #13876] Don't consider `pp` for `Lint/RedundantRequireStatement`
[Fix #13885] Update `Style/HashExcept` and `Style/HashSlice` to not register an offense if selecting over the hash value
Don't link to Changelog.md on GitHub
Merge pull request #13896 from Earlopain/trivial-accessor-instance-eval-numblock
Fix a false positive for `Style/TrivialAccessors` with `instance_eval` and numblocks
[Docs] Improve the extensions docs
Merge pull request #13895 from viralpraxis/fix-plugin-docs-missing-yaml-colon
Fix plugin docs missing YAML colon
[Doc] Update the Plugin Migration Guide
Use `RuboCop::AST::BlockNode#keywords?`
Merge pull request #13888 from dvandersluis/improve-line-end-concatenation-message
Improve offense message for `Style/LineEndConcatenation`
Merge pull request #13883 from dvandersluis/issue/13882
[Fix #13882] Fix `Style/RedundantFormat` for annotated template strings with missing hash keys
Merge pull request #13875 from Earlopain/remove-regexp-parser-workaround
Merge pull request #13881 from dvandersluis/issue/13880
[Fix #13880] Fix `Style/RedundantFormat` when given double-splatted arguments
[Fix #12948] Add `ForbiddenNames` configuration to `Naming/VariableName` to specify names that are forbidden
[Fix #13826] Fix false positives for regex cops when `Lint/MixedCaseRange` is enabled
Merge pull request #13873 from dvandersluis/fix/13870
Prevent `version_spec` from leaking `ConfigLoader.default_configuration` changes
Merge pull request #13872 from p-linnane/rm-extra-tick
plugin/load_error: remove extra tick
Merge pull request #13869 from Earlopain/plugin-no-bundler
[Fix #13867] Fix an error for plugins when not running RuboCop through Bundler
[Fix #13866] Tweak the offense message of `Style/RedundantFormat`
Merge pull request #13864 from Uaitt/correct-typo-in-plugin-migration-giude
Correct a typo in the new plugin migration guide
Reset the docs version
Release Notes
1.38.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 9 commits:
Cut 1.38.1
Update Changelog
[Fix #360] Fix an error when the `Array` core class contains a writer method
Fix a build error
Use RuboCop RSpec 3.5 for development
Suppress RuboCop's warnings
Fix a build error
Suppress RuboCop's offenses
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