Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rubocop-rspec 2.23.2 → 2.26.1 (minor) #446

Merged
merged 2 commits into from
Feb 23, 2024

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jan 6, 2024

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.26.1) · Repo · Changelog

Release Notes

2.26.1

  • Fix an error for RSpec/SharedExamples when using examples without argument. (@ydah)

2.26.0

  • Add new RSpec/RedundantPredicateMatcher cop. (@ydah)
  • Add new RSpec/RemoveConst cop. (@swelther)
  • Add support for correcting "it will" (future tense) for RSpec/ExampleWording. (@jdufresne)
  • Add support for symbol style for RSpec/SharedExamples. (@jessieay)
  • Ensure PendingWithoutReason can detect violations inside shared groups. (@robinaugh)

2.25.0

  • Add support single quoted string and percent string and heredoc for RSpec/Rails/HttpStatus. (@ydah)
  • Change to be inline disable for RSpec/SpecFilePathFormat like RSpec/FilePath. (@ydah)
  • Fix a false positive for RSpec/MetadataStyle with example groups having multiple string arguments. (@franzliedke)

2.24.1

  • Fix an error when using RSpec/FilePath and revert to enabled by default. If you have already moved to RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat, disable RSpec/FilePath explicitly as Enabled: false. The RSpec/FilePath before migration and the RSpec/SpecFilePathSuffix and RSpec/SpecFilePathFormat as the target are available respectively. (@ydah)

2.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)

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.

↗️ rubocop-capybara (indirect, 2.18.0 → 2.20.0) · Repo · Changelog

Release Notes

2.20.0

What's Changed

  • Add new Capybara/RedundantWithinFind cop. (@ydah)
  • Change to default EnforcedStyle: link_or_button for Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Change to default EnforcedStyle: have_no for Capybara/NegationMatcher cop. (@ydah)
  • Fix a false negative for RSpec/HaveSelector when first argument is dstr node. (@ydah)
  • Fix an invalid attributes parse when name with multiple [] for Capybara/SpecificFinders and Capybara/SpecificActions and Capybara/SpecificMatcher. (@ydah)
  • Fix a false positive for Capybara/SpecificMatcher when text: or exact_text: with regexp. (@ydah)

Full Changelog: v2.19.0...v2.20.0

2.19.0

What's Changed

  • Add new Capybara/RSpec/PredicateMatcher cop. (@ydah)
  • Add new Capybara/RSpec/HaveSelector cop. (@ydah)
  • Add new Capybara/ClickLinkOrButtonStyle cop. (@ydah)
  • Fix a false positive for Capybara/SpecificFinders when find with kind option. (@ydah)
  • Fix an incorrect autocorrect for Capybara/CurrentPathExpectation. (@ydah)
  • Drop Ruby 2.6 support. (@ydah)

Full Changelog: v2.18.0...v2.19.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 61 commits:

↗️ rubocop-factory_bot (indirect, 2.23.1 → 2.25.1) · Repo · Changelog

Release Notes

2.25.1

What's Changed

  • Fix a false positive for FactoryBot/CreateList when create call does have method calls and repeat multiple times with other argument. (@ydah)
  • Fix an error occurred for FactoryBot/IdSequence when sequence with non-symbol argument or without argument. (@ydah)

Full Changelog: v2.25.0...v2.25.1

2.25.0

What's Changed

  • Add new FactoryBot/ExcessiveCreateList cop. (@ddieulivol)
  • Fix a false positive for FactoryBot/FactoryNameStyle when namespaced models. (@ydah)
  • Fix a false positive for FactoryBot/ConsistentParenthesesStyle when hash pinning. (@ydah)

Full Changelog: v2.24.0...v2.25.0

2.24.0

What's Changed

  • Fix FactoryBot/AssociationStyle cop to ignore explicit associations with strategy: :build. (@pirj)
  • Change FactoryBot/CreateList so that it is not an offense if not repeated multiple times. (@ydah)
  • Fix a false positive for FactoryBot/AssociationStyle when association is called in trait block and column name is keyword. (@ydah)
  • Fix a false positive for FactoryBot/AssociationStyle when EnforcedStyle: Explicit and using trait within trait. (@ydah)
  • Change FactoryBot/AssociationStyle, FactoryBot/AttributeDefinedStatically, FactoryBot/CreateList and FactoryBot/FactoryClassName to work with minitest style directory. (@ydah)
  • Add FactoryBot/IdSequence cop. (@owst)

Full Changelog: v2.23.1...v2.24.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 55 commits:


Depfu Status

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
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@stevieing
Copy link
Contributor

@depfu rebase

@depfu depfu bot force-pushed the depfu/update/rubocop-rspec-2.26.1 branch from 677b351 to 9f78e6f Compare February 21, 2024 16:45
@stevieing stevieing merged commit f0a08a9 into develop Feb 23, 2024
2 checks passed
@stevieing stevieing deleted the depfu/update/rubocop-rspec-2.26.1 branch February 23, 2024 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant