Files to include .gem package?

I created a stackoverflow question for this:

I am especially curious as to people’s opinions about whether a gem
be an almost complete image the project folder, or just include minimum
files needed to run, and if the later if we even need to include test