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

Fix Resque::Scheduler.print_schedule #794

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

Conversation

codealchemy
Copy link

@codealchemy codealchemy commented Oct 25, 2024

Added in 893f13c, this is intended to help with debugging. The :t and :last attrs were removed in the rufus-scheduler 2.0 -> 3.0 update

It seems #print_schedule likely hasn't worked since the rufus-scheduler depenency was bumped to require ~3.0 in d24657e - and could possibly be removed instead (considering the amount of time since then without a report).

This fixes the OpenStruct warnings seen in tests for newer Ruby versions (example failure - coupled with #793 this should get CI back to 🟢 see all tests passing with both changes here)

Added in resque@893f13c, this is intended to help with debugging. The `:t` and `:last` attrs were removed in the jmettraux/rufus-scheduler@v2.0.24...v3.0.0

It seems `#print_schedule` likely hasn't worked since the `rufus-scheduler` depenency was bumped to require ~3.0 in resque@d24657e#diff-9732d81ad66d6656923a3883e83f6620a3b16a07484745677a0776f6e0bff025.

This fixes the `OpenStruct` warnings seen in tests for newer Ruby versions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant