resolves #653 build gemspec files using git ls-tree

- build gemspec files using git ls-tree
- remove gemspec task in Rakefile
- code formatting