Simplecov 0.18.0 has changed the output that it uses to store its results and the SimplecovSensor class bombs out trying to parse it.
Before, the structure was essentially
{
"Unit Tests": {
"coverage": {
"/Users/jay/Setup/ruby/my-extensions/ffi-geos-git/lib/ffi-geos.rb": [
// array of line data
]
}
}
This has changed to allow for both line and branch data, so a new key has been inserted – the array of line data has been replaced with an additional layer that will be either a “lines” or “branches” key depending on the options passed to Simplecov.