Fix git 1.2.7 compatibility problem

Explicitly state version dependencies in the gemspec alongside this
change.