index: all header fields; check updated files by mtime
the specification doesn't know anything about Gem::Specification#add_optional_dependency

where did I find that method?