Skip to content

Bump rspec-sidekiq from 5.0.0 to 5.1.0 #98

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2025

Bumps rspec-sidekiq from 5.0.0 to 5.1.0.

Release notes

Sourced from rspec-sidekiq's releases.

v5.1.0

Features

🎱 Sidekiq 8 Support

🙇 @​jukra fixed our incompatibility through #233

with_context matcher

To add coverage for testing anything set on the Job context. Whether through something like the Current Attributes middleware or setting things directly on the Job.

expect {
  AwesomeJob.set(trace_id: "something").perform_async
}.to enqueue_sidekiq_job.with_context(trace_id: anything)
AwesomeJob.set(retry: 5).perform_async
expect(AwesomeJob).to have_enqueued_sidekiq_job.with_context(retry: 5)
Something set through the Current Attributes middleware
expect(AwesomeJob).to have_enqueued_sidekiq_job.with_context(cattr: hash_including("my_special_attribute" => anything()

⏲️ Sidekiq Enterprise unique until sub matcher

🙇 added in #232 by @​wizardofelves (updating the original work from @​leviwilson in #147)

# in e.g., AwesomeJob
sidekiq_options unique_for: 1.hour, unique_until: :start
in spec
it { is_expected.to be_unique.until(:start) }


What's Changed

New Contributors

... (truncated)

Changelog

Sourced from rspec-sidekiq's changelog.

5.1.0

  • Add until matcher for Sidekiq Enterprise unique jobs (#232, #147)
  • Add with_context matcher for matching against job contexts (#222)
  • Support for Sidekiq 8 (#233)
  • Add frozen_string_literal: true (#220)
  • Fix queue always nil in default_retries_exhausted_message (#229)
  • Fix pattern matching warnings on Ruby 2.7 (#227)
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [rspec-sidekiq](https://github.com/wspurgin/rspec-sidekiq) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/wspurgin/rspec-sidekiq/releases)
- [Changelog](https://github.com/wspurgin/rspec-sidekiq/blob/main/CHANGES.md)
- [Commits](wspurgin/rspec-sidekiq@v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: rspec-sidekiq
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants