moneta-rb / moneta

a unified interface to key/value stores
https://github.com/moneta-rb/moneta
MIT License
1.12k stars 87 forks source link

static gemfiles list #251

Closed asppsa closed 1 year ago

asppsa commented 1 year ago

This is an attempt to address issues people have been having with the gemspec file:

  1. we wanted a way to make sure locally uncommited files didn't end up in a .gem file. Traditionally we used git ls-files for this, but this was causing issues in Debian packaging, where git is not installed (#232)
  2. we wanted to avoid including the test files in the gem (#245)

The solution for now is to maintain an in-git list of files in FILES, and then there is a step in github actions to verify that the file is not missing anything present in git.