Ignore tmp/
Add missing changes from v1.1

There were several changes that had been pushed to rubygems but
are missing from the repo. This restores those changes. v1.2.x
has received these as a bugfix as well.