lib/reactor/event.rb in reactor-0.4.6 vs lib/reactor/event.rb in reactor-0.4.7

- old
+ new

@@ -68,10 +68,10 @@ end def reschedule(name, data = {}) scheduled_jobs = Sidekiq::ScheduledSet.new job = scheduled_jobs.detect do |job| - job['class'] == self.class.name.to_s + job['class'] == self.name.to_s && job['args'].first == name.to_s && job.score.to_i == data[:was].to_i end return if job.nil? job.delete