Update rubocop-rspec 2.23.2 → 2.24.1 (minor) #154
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-rspec (2.23.2 → 2.24.1) · Repo · Changelog
Release Notes
2.24.1
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 35 commits:
Merge pull request #1727 from rubocop/release
Bump version to v2.24.1
Merge pull request #1718 from rubocop/fix-braking
Fix an error when using `RSpec/FilePath` and revert to enabled by default
Merge pull request #1721 from rubocop/fix-project-spec
Add test for does not use consecutive whitespaces
Fix errors in changelog_spec tests
Switch docs version back
Merge pull request #1708 from rubocop/release
Bump version to v2.24.0
Merge pull request #1497 from r7kamura/feature/metadata-style
Add `RSpec/MetadataStyle` and `RSpec/EmptyMetadata` cops
Merge pull request #1707 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
Merge pull request #1706 from rubocop/clarify-eq-cop-documentation
Docs: Avoid confusion with be_truthy, etc.
Merge pull request #1704 from rubocop/fix/398
Fix a false positive `RSpec/Focus` when chained method call and inside define method
Merge pull request #1703 from rubocop/resolve/1702
Add support `RSpec/Rails/HttpStatus` when `have_http_status` with string argument
Merge pull request #1698 from rubocop/split-file-path-cop
Split `RSpec/FilePath` into `RSpec/SpecFilePathSuffix` and `RSpec/SpecFilePathFormat`
Add configuration option `IgnoreMetadata`
Add `RSpec/SpecFilePathFormat` cop
Add `RSpec/SpecFilePathSuffix` cop
Merge pull request #1682 from rubocop/add-eq
Merge branch 'master' into add-eq
Add new `RSpec/Eq` cop
Merge pull request #1697 from marocchino/fix-receive-messages-autocorrect
Fix autocorrect in `RSpec/ReceiveMessages`
Merge pull request #1696 from bcgraham/fix-nb-space-infinite-loop
Fix infinite loop in ExcessiveDocstringSpacing
Merge pull request #1680 from rubocop/use_offense
Merge pull request #1686 from rubocop/add-test-for-negation-be-valid-multiple-expectations
Use offense instead of violation
✳️ rubocop (1.56.2 → 1.56.3) · Repo · Changelog
Release Notes
1.56.3
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
Cut 1.56.3
Move a changelog entry
Update Changelog
Try avoiding project_root leak to fix flaky error
Fix isolated test files should not break isolation.
Fix shadowing of FileFinder stop_dir in isolated tests.
[Fix #12151] Make `Layout/EmptyLineAfterGuardClause` allow `:nocov:` directive
Constantize fixed arrays of `Style/SymbolArray`
Use RuboCop RSpec 2.24
[Fix #12195] Fix a false negative for `Layout/SpaceAfterNot`
[Fix #12181] Fix an incorrect autocorrect for `Lint/UselessAssignment`
[Fix #12171] Fix a false positive for `Style/ArrayIntersect`
[Docs] Tweak the doc for `Style/YodaExpression`
[Fix #12182] Fix an error for `Lint/UselessAssignment`
Merge pull request #12193 from ymap/fix_a_false_positive_for_layout_redundant_line_break
[Fix #12192] Fix a false positive for `Layout/RedundantLineBreak`
Merge pull request #12191 from koic/fix_a_false_positive_for_layout_space_around_operators
Merge pull request #12185 from tagliala/bugfix/add-minimum-required-ruby-version-to-layout-heredoc-indentation
[Fix #12190] Fix a false positive for `Layout/SpaceAroundOperators`
Set target version for `Layout/HeredocIndentation`
Merge pull request #12188 from ymap/fix_an_incorrect_autocorrect_for_style_sole_nested_conditional
Merge pull request #12189 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
[Fix rubocop#12187] Fix an incorrect autocorrect for `Style/SoleNestedConditional`
Remove comments in `Style/InvertibleUnlessCondition` for Rails
Merge pull request #12183 from koic/fix_an_incorrrect_autocorrect_for_style_multiline_ternary_operator
Fix an incorrect autocorrect for `Style/MultilineTernaryOperator`
[Docs] Add Helix to the LSP doc
Merge pull request #12174 from koic/fix_a_false_positive_for_style_empty_case_condition
Merge pull request #12169 from owst/fix_bug_in_style_arguments_forwarding_with_duplicate_sends
[Fix #12168]: Fix bug in `Style/ArgumentsForwarding`
[Fix #12172] Fix a false positive for `Style/EmptyCaseCondition`
Merge pull request #12170 from koic/make_internal_affairs_redundant_method_dispatch_node_aware_of_method_p
Make `InternalAffairs/RedundantMethodDispatchNode` aware of `method?`
[Fix #12162] Fix an error for `Bundler/DuplicatedGroup`
Switch back the docs version
Release Notes
2.19.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 36 commits:
Merge pull request #70 from rubocop/bump-version
Bump version v2.19.0
Merge pull request #66 from rubocop/fix/50
Fix an incorrect autocorrect for `Capybara/CurrentPathExpectation`
Merge pull request #69 from rubocop/fix-project-spec
Merge pull request #61 from rubocop/feature/58
Add new `Capybara/ClickLinkOrButtonStyle` cop
Merge pull request #63 from rubocop/new_cop_have_selector
Improve for project_spec
Add new `Capybara/RSpec/HaveSelector` cop
Merge pull request #67 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
Merge pull request #65 from rubocop/fix-specific-finders
Fix a false positive for `Capybara/SpecificFinders` when `find` with kind option
Merge pull request #64 from rubocop/fix-invalid-document
Fix an errors in `Capybara/SpecificFinders` documentation
Merge pull request #62 from rubocop/use_offense
Use offense instead of violation
Merge pull request #59 from rubocop/add-danger-for-enabled-true-cop
Add a Danger check to prevent review approval for cops that have become `Enabled: true`
Merge pull request #55 from rubocop/feature/predicate_matcher
Add new `Capybara/RSpec/PredicateMatcher` cop
Merge pull request #52 from rubocop/add_syntaxhighlight
Merge pull request #53 from rubocop/common-ascii
Merge pull request #54 from rubocop/add_link
Add a link to Capybara in the documentation
Use U+002d instead of U+2013
Add syntax highlighting to README
Merge pull request #51 from rubocop/remove-redundant-config-metadata
Remove redundant config metadata
Merge pull request #46 from rubocop/change_drop_ruby_2_6_support
Merge pull request #49 from rubocop/internally-enable-pending-cops
Add missing pending rubocop-rspec cops in v2.20.0
Drop Ruby 2.6 runtime support
Merge pull request #45 from rubocop/switch-doc-version-back
Switch docs version back
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 26 commits:
Merge pull request #67 from rubocop/bump-version
Bump version to v2.24.0
Merge pull request #52 from owst/add_id_sequence_cop
Add new `FactoryBot/IdSequence` cop
Merge pull request #69 from rubocop/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
Merge pull request #55 from rubocop/ydah/fix/53
Change `FactoryBot/AssociationStyle`, `FactoryBot/AttributeDefinedStatically`, `FactoryBot/CreateList` and `FactoryBot/FactoryClassName` to work with minitest style directory
Merge pull request #68 from rubocop/fix-offense
Fix rubocop offense
Merge pull request #59 from rubocop/ydah/fix/54
Merge pull request #65 from rubocop/use_offense
Use offense instead of violation
Fix a false positive for `FactoryBot/AssociationStyle` when `EnforcedStyle: Explicit` and using trait within trait
Merge pull request #60 from rubocop/ydah/fix/58
Merge pull request #63 from rubocop/add-danger-for-enabled-true-cop
Add a Danger check to prevent review approval for cops that have become `Enabled: true`
Fix a false positive for `FactoryBot/AssociationStyle` when `association` is called in trait block and column name is keyword
Merge pull request #51 from rubocop/ydah/refactor
Remove unnecessary `$`
Merge pull request #48 from rubocop/add-support-case-CreateList
Change `FactoryBot/CreateList` so that it is not an offense if not repeated multiple times
Merge pull request #47 from rubocop/fix-association-style-with-expicit-straregy-option
Fix AssociationStyle to ignore strategy: :build
Merge pull request #46 from tagliala/chore/provide-examples-for-association-style-with-traits
Add an example for an association with factory
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