Got a really handy bit of script working today, but it took me some time to figure out so thought I should post it.
Using the latest Jasmine Gem (only on Github master as of 2013/01/29) you just need to create
jasmine_helper.rb takes the responsibility of custom configs over from
jasmine_config.rb from now on!):
1 2 3 4 5 6 7
What it does is to load
assets.yml, parse the YAML array
PathExpander.expand method to actually glob the files from the paths listed there and finally wraps the whole thing into a lambda so that it acts as a method.