For git diffs, there is a tool called diff-cover that can check coverage. It takes XML coverage reports in Cobertura and compares with the output of git diff . It then reports the coverage information for the lines in diff.
With the xml file created by simplecov-cobertura , you can use this command to check the scope of your changes compared to the master industry:
$ diff-cover coverage.xml
source share