brightbox/object-factory — pull request #1 by caius (2011-12-25 18:29:23+00:00)
Title: Internals Rewrite to use Objects

I got bored/annoyed at the internals of object factory and rewrote them to use some proper objects internally to generate stuff and shizzle.

The accompanying spec still passes with the new internals, and I've run it in a couple of rails apps (including our internal app which it was originally written for) and those suites still pass. (They pointed out a couple of undocumented behaviours in the old implementation in fact, have added those to OF's spec as well.)

Be quite interested in someone reviewing it and pointing out stuff they don't like please :-)