port of the ruby gem bugspots