Adds specs and improves gem tasks for building