ets-berkeley-edu/calcentral — pull request #525 by yuhunglin (2013-01-23 19:43:19+00:00)
Title: [NOJIRA] Rake vcr enhancements

- Found ways to tidy up the recording/prettifying a tiny bit so that there's less files to revert after a recording session.
-- Recording can naturally filter down to the specific spec files, we might have to exercise more discipline in splitting up some of the spec files.
-- Prettifying will take a regex_filter now and only operate on filenames (or paths) that match the regex, if given. Otherwise, it runs like it did previous, operates on all the raw recordings.

- Logging failover. I believe we initialized logging after Rake tasks start. If for some reason logging isn't initialized when running a rake task (seems that most of rake tasks we're more interested in standard STDOUT), it won't crash out of the rake task now.

- Made the vcr:record task pretty print the VCR output and re-save (but does not modify the content in any other way).