Run pragma replace in context of current spec.
Merge pull request #11 from troopjs/feature/pragma-replace-scope

Run pragma replace in context of current spec.