travisjeffery/timecop — pull request #81 by jduff (2013-04-18 13:27:09+00:00)
Title: Add safe mode option which forces use of blocks with the method calls

We have found that lots of bad things can happen if people forget to return time, and it breaks being able to travel for the whole suite if timecop isn't always used with a block. To catch these errors I just want to force using timecop passing a block.

This changes lets you set globally that timecop must be called with a block and raises if it is not.