Changing default pactfile_write_mode to :overwrite, and adding :smart option to dynamically determine whether rake is running.
Releasing 1.0.12