ruby shim for gathering coverage of external scripts