states.rb revision 66ae4e01390ec8ddfd3f6fa5361095d5d2f1c2bd
STATES = %w(pending downloading processing done failed)
included do
where state: states.map(&:to_s)
}
STATES.each do |state|
eval "def #{state}?; state == '#{state}'; end"
end
end
# Enqueues new parse jobs for all failed ontologies
end
end
end
end
end
end