lib/tengine/job/signal.rb in tengine_job-0.6.13 vs lib/tengine/job/signal.rb in tengine_job-1.1.0

- old
+ new

@@ -91,10 +91,10 @@ # デバッグ用 # properties[:target_jobnet_name] = source.root.vertex(properties[:target_jobnet_id]).name_path options ||= {} options[:properties] = properties properties.each do |key, value| - if value.is_a?(BSON::ObjectId) + if value.is_a?(Moped::BSON::ObjectId) properties[key] = value.to_s end end @reservations << Reservation.new(source, event_type_name, options) end