lib/que/web/viewmodels/job.rb in que-web-0.8.0 vs lib/que/web/viewmodels/job.rb in que-web-0.9.0

- old
+ new

@@ -11,7 +11,16 @@ end def past_due?(relative_to = Time.now) run_at < relative_to end + + def humanized_job_class + case job_class + when "ActiveJob::QueueAdapters::QueAdapter::JobWrapper" + args.first[:job_class] + else + job_class + end + end end end