I left upgrading grunt-contrib-jasmine to the most recent version out of #94. This PR bases on #94 and uses a different way to copy files to temp directory, compatible with both older and newer versions, than grunt-contrib-jasmine 1.2.0.
grunt-contrib-jasmine broke their interface between 1.0.3 and 1.2.0 without increasing the major version number. (!!!) The method task.copyTempFile does not copy the source file to the temp directory any more. You would have provide the full path to the temp directory yourself. It made this method a pure wrapper of grunt.file.copy with no added functionality and a confusing name. This should be discussed with grunt-contrib-jasmine developers.
I left upgrading
grunt-contrib-jasmine
to the most recent version out of #94. This PR bases on #94 and uses a different way to copy files to temp directory, compatible with both older and newer versions, thangrunt-contrib-jasmine
1.2.0.grunt-contrib-jasmine
broke their interface between 1.0.3 and 1.2.0 without increasing the major version number. (!!!) The methodtask.copyTempFile
does not copy the source file to the temp directory any more. You would have provide the full path to the temp directory yourself. It made this method a pure wrapper ofgrunt.file.copy
with no added functionality and a confusing name. This should be discussed withgrunt-contrib-jasmine
developers.