Skip to content
Commits on Oct 3, 2013
  1. @gnufied
  2. @gnufied
Commits on Sep 5, 2013
  1. @gnufied
Commits on Jun 13, 2012
  1. @gnufied
Commits on Apr 20, 2012
  1. @gnufied
Commits on Dec 27, 2011
  1. @caius

    Merge branch 'objects-rewrite'

    caius committed Dec 27, 2011
  2. @caius

    Don't cause recursion when generate params are overridden.

    If you have something like the following:
    
      when_creating_a User, :generate => {:chair => lambda { a_saved Chair } }
      when_creating_a Chair, :after_create => {|chair| a_saved User, :chair => chair }
    
    If OF always runs the :chair Proc, we just exhaust the stack generating chairs and users. It now realises the :chair param has been passed and simply skips that key in the generate definition.
    caius committed Dec 27, 2011
  3. @caius
Commits on Dec 26, 2011
  1. @caius

    Depend on rspec 2.0 or greater

    caius committed Dec 26, 2011
  2. @caius
  3. @caius
  4. @caius

    Nest all classes under just ObjectFactory

    Given we're no longer nested under Object, no need to have nested constants under Factory now.
    caius committed Dec 26, 2011
  5. @caius
  6. @caius
Commits on Dec 25, 2011
  1. @caius
  2. @caius
  3. @caius

    Sort out :clean_up so spec passes

    caius committed Dec 25, 2011
  4. @caius

    Spec existing :clean_up behaviour

    It defaults to cleaning up all defined classes unless told not to
    caius committed Dec 25, 2011
  5. @caius
  6. @caius
  7. @caius

    Sort out the initial loading of Object::Factory

    autoload :Factory isn't triggered by including Factory::HelperMethods sadly. Makes sense, so we just require the factory file instead to kick it all off.
    caius committed Dec 25, 2011
  8. @caius
  9. @caius
  10. @caius

    Fix our test AR classes for 1.9

    Calling super in self.ancestors throws a NotImplementedError under 1.9.2p290 at least.
    caius committed Dec 25, 2011
  11. @caius
  12. @caius

    Adding Templates & Collection

    Factory mostly works again!
    caius committed Dec 25, 2011
  13. @caius
  14. @caius

    Putting Objects in your Factory

    Start of a complete rewrite of the factory, leveraging things from ruby core & stdlib for epic wins and proper objects for everything else.
    caius committed Dec 25, 2011
  15. @caius

    Updating spec slightly

    caius committed Dec 25, 2011
  16. @caius

    Default options for RSpec 2

    caius committed Dec 25, 2011
Commits on Dec 23, 2011
  1. @caius
Commits on Dec 18, 2011
  1. @caius
Commits on Aug 3, 2011
  1. @gnufied
  2. @gnufied

    use accessible_attributes or protected_attributes only if they are

    defined for the model
    use Set, rather than array and only override the attribute if its
    already defined
    gnufied committed Aug 3, 2011
  3. @gnufied

    fix up all failing specs

    gnufied committed Aug 3, 2011
Something went wrong with that request. Please try again.