Ruby UPC tools