Before, whenever a new file is added to `lib`, the contributor or maintainer has to remember to explicitly add it to the gemspec. If this step is forgotten, it results in a broken release, like #657. This commit makes this process less error prone by using `git ls-files` to automatically include all appropriate files in the gem. This is in line with what is advocated by Bundler's gem template: https://github.com/bundler/bundler/blob/2a4d88a7044528209321fd4441e995ec66f604b9/lib/bundler/templates/newgem/newgem.gemspec.tt#L26
Name |
Last commit
|
Last update |
---|---|---|
.github | Loading commit data... | |
bin | Loading commit data... | |
lib | Loading commit data... | |
spec | Loading commit data... | |
.document | Loading commit data... | |
.gitignore | Loading commit data... | |
.overcommit.yml | Loading commit data... | |
.rbenv-gemsets | Loading commit data... | |
.rspec | Loading commit data... | |
.rubocop.yml | Loading commit data... | |
.rubocop_todo.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
.yardopts | Loading commit data... | |
AUTHORS.rdoc | Loading commit data... | |
CHANGELOG.rdoc | Loading commit data... | |
Gemfile | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.rdoc | Loading commit data... | |
RELEASE.rdoc | Loading commit data... | |
Rakefile | Loading commit data... | |
TODO.rdoc | Loading commit data... | |
annotate.gemspec | Loading commit data... | |
circle.yml | Loading commit data... | |
potato.md | Loading commit data... |