Permalink
Commits on Feb 26, 2012
  1. Respect model namespaces when generating factories.

    The factory name for the model Namespaced::User wil be :namespaced_user.
    The :class option is specified as a string to prevent class reloading issues.
    
    Addresses GH-44
    joshuaflanagan committed Feb 26, 2012
Commits on Feb 17, 2012
  1. Bump version to 1.7.0

    joshuaclayton committed Feb 17, 2012
Commits on Jan 27, 2012
  1. Merge pull request #48 from carlosantoniodasilva/patch-1

    Update github url in generator template to use https
    joshuaclayton committed Jan 27, 2012
Commits on Jan 21, 2012
  1. Bump version to 1.6.0

    joshuaclayton committed Jan 21, 2012
Commits on Jan 13, 2012
  1. Bump version to 1.5.0

    joshuaclayton committed Jan 13, 2012
Commits on Dec 2, 2011
  1. Tweaked factory_girls_initialization process to allow other engines t…

    …o advertise its factories for use in a recipient project
    
    When a (mountable) engine defines models and factories to test the models, sometimes it is convenient to use this factories
    from a project which depends on the engine.
    
    But current factory_girl_rail initialization processes do not allow to do so without hacks.
    (after_initializer resets all FactoryGirl.definition_file_paths to defaults with = [paths])
    
    When this change introduces the engine can advertise some factories in an its own railtie, i.e.:
    
    module ModelCore
      class Engine < Rails::Engine
    
        initializer "model_core.factories", :after => "factory_girl.set_factory_paths" do
          FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl)
        end
      end
    end
    cryo28 committed Nov 14, 2011
Commits on Nov 30, 2011
Commits on Nov 18, 2011
  1. bundler/setup is important.

    gabebw committed Nov 18, 2011
  2. Bump version to 1.4.0

    joshuaclayton committed Nov 18, 2011
Commits on Nov 12, 2011
  1. bundler/gem_tasks is easier.

    gabebw committed Nov 12, 2011
  2. Use Bundler gem conventions.

    gabebw committed Nov 12, 2011
Commits on Oct 15, 2011
  1. Bump version to 1.3.0

    joshuaclayton committed Oct 15, 2011
Commits on Oct 14, 2011
Commits on Sep 24, 2011
  1. Allow factory_girl_rails to auto configure factory girl as the fixtur…

    …e replacement mechanism.
    mikegehard committed Sep 8, 2011
Commits on Sep 2, 2011
  1. Bump version to 1.2.0

    joshuaclayton committed Sep 2, 2011
Commits on Aug 27, 2011
  1. Load factories from /factories at the Rails root, just like the defau…

    …lt definition_file_paths.
    cgriego committed Aug 27, 2011
Commits on Jul 28, 2011
  1. Edited README.md via GitHub

    gabebw committed Jul 28, 2011
  2. Edited README.md via GitHub

    gabebw committed Jul 28, 2011
  3. Typos and formatting

    gabebw committed Jul 28, 2011
Commits on Jul 22, 2011
  1. Bump version to 1.1.0

    joshuaclayton committed Jul 22, 2011
Commits on Jul 12, 2011
Commits on Jul 1, 2011
  1. Bump version to 1.1.rc1

    joshuaclayton committed Jul 1, 2011
Commits on Jun 30, 2011
  1. Bump to 1.1.beta4

    joshuaclayton committed Jun 30, 2011