rails/turbolinks — pull request #11 by jcoglan (2012-09-26 23:34:55+00:00)
Title: Compile the CoffeeScript source to JavaScript before packaging the gem

To reduce users' dependency on the developer's toolchain, it helps to publish JavaScript functionality as JavaScipt, rather than as CoffeeScript. If and when CoffeeScript supports source maps, by all means bundle the source and the map with the compiled JS.

I would also advise publishing this as a single JS file, since that's all it really is it doesn't make a lot of sense to publish it as a Ruby gem. Still, I've changed things just enough so that the gem contains JS rather than CS.