phated/gulp-wrap-amd — pull request #1 by ccowan (2013-10-23 21:46:23+00:00)
Title: Subsequent file ends up with the 1st compiles contents

When you run multiple files through the wrap stream it uses the contents of the first file for each subsequent file. This is because the options clone happened outside the wrap function along with the fact that _.defaults() has side effects. I also updated the tests to use the newest version of Gulp and changed the expectStream() to just use the path of the file.