lib/rufus/scheduler/jobs.rb in rufus-scheduler-3.1.5 vs lib/rufus/scheduler/jobs.rb in rufus-scheduler-3.1.6
- old
+ new
@@ -349,11 +349,11 @@
[
self.class.name.split(':').last.downcase[0..-4],
@scheduled_at.to_f,
@next_time.to_f,
- opts.hash.abs
+ self.hash.abs
].map(&:to_s).join('_')
end
# There is no next_time for one time jobs, hence the false.
#
@@ -471,10 +471,10 @@
def determine_id
[
self.class.name.split(':').last.downcase[0..-4],
@scheduled_at.to_f,
- opts.hash.abs
+ self.hash.abs
].map(&:to_s).join('_')
end
def occurrences(time0, time1)