You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know why this was originally authored in this way -- but this seems like particularly bad style, there is no reason these functions are required to be in the production code, rather than added specifically in the test setup.
@mhenrixon Thanks for the response - I was hoping to make a PR for this (to patch the relevant classes from the spec_helper.rb or another one of the files which is loaded only on test) -- but I haven't had a chance to do this yet.
I don't know why this was originally authored in this way -- but this seems like particularly bad style, there is no reason these functions are required to be in the production code, rather than added specifically in the test setup.
https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/lib%2Fsidekiq_unique_jobs%2Fmiddleware%2Fclient%2Funique_jobs.rb#L9
https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/lib%2Fsidekiq_unique_jobs%2Fmiddleware%2Fclient%2Fstrategies%2Funique.rb#L5
https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/lib%2Fsidekiq_unique_jobs%2Fconnectors.rb#L1
The text was updated successfully, but these errors were encountered: