[Closes #232, Closes #233] Clean up gemspec.

- avoid dependency on git
- variable rename to avoid warning