Gemfile.lock should not belong in the repository.
Migrate from jeweler to bundle gem.
Assume post ruby 1.8.
Fix typos introduced when adding rdoc.
Use -x c++ instead of changing the source file name.
Add patterns.