rawr/rawr — pull request #11 by whoward (2012-05-27 06:08:59+00:00)
Title: Use ERB for generated configuration files

Doing this makes it a bit easier to hack on these files in the source code (especially if there is if/unless/each logic mixed in) and cleans up the individual bundler classes.

I've left the WebBundler alone since it's likely still being worked on but it should hopefully be pretty straight forward to change it to use this technique

I've also added a BundlerTemplate class which DRY's up the ERB related loading code a bit. We can extend this class in the future to simplify evaluating the template (providing access to configuration data for instance) which should again make the Bundler classes simpler.