Skip to content

Bump rubocop-rspec from 2.23.2 to 2.24.0

George Koltsov requested to merge dependabot-bundler-rubocop-rspec-2.24.0 into main

Bumps rubocop-rspec from 2.23.2 to 2.24.0.

Release notes

Sourced from rubocop-rspec's releases.

RuboCop RSpec v2.24.0

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. (@​ydah)
  • Add new RSpec/Eq cop. (@​ydah)
  • Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops. (@​r7kamura)
  • Add support RSpec/Rails/HttpStatus when have_http_status with string argument. (@​ydah)
  • Fix an infinite loop error when RSpec/ExcessiveDocstringSpacing finds a description with non-ASCII leading/trailing whitespace. (@​bcgraham)
  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when return values declared between stubs. (@​marocchino)
  • Fix a false positive RSpec/Focus when chained method call and inside define method. (@​ydah)
Changelog

Sourced from rubocop-rspec's changelog.

2.24.0 (2023-09-08)

  • Split RSpec/FilePath into RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat. RSpec/FilePath cop is enabled by default, the two new cops are pending and need to be enabled explicitly. ([@​ydah])
  • Add new RSpec/Eq cop. ([@​ydah])
  • Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops. ([@​r7kamura])
  • Add support RSpec/Rails/HttpStatus when have_http_status with string argument. ([@​ydah])
  • Fix an infinite loop error when RSpec/ExcessiveDocstringSpacing finds a description with non-ASCII leading/trailing whitespace. ([@​bcgraham])
  • Fix an incorrect autocorrect for RSpec/ReceiveMessages when return values declared between stubs. ([@​marocchino])
  • Fix a false positive RSpec/Focus when chained method call and inside define method. ([@​ydah])
Commits
  • 7488573 Merge pull request #1708 from rubocop/release
  • 9d219df Bump version to v2.24.0
  • 97269bc Merge pull request #1497 from r7kamura/feature/metadata-style
  • 54d7b8e Add RSpec/MetadataStyle and RSpec/EmptyMetadata cops
  • 9fc5ca4 Merge pull request #1707 from rubocop/dependabot/github_actions/actions/check...
  • abb6c80 Bump actions/checkout from 3 to 4
  • 041b1e6 Merge pull request #1706 from rubocop/clarify-eq-cop-documentation
  • 60c0644 Docs: Avoid confusion with be_truthy, etc.
  • 86a1f33 Merge pull request #1704 from rubocop/fix/398
  • b4c93e5 Fix a false positive RSpec/Focus when chained method call and inside define...
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • @dependabot-bot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports