Permalink
Commits on Oct 9, 2017
  1. Version 2.18.0

    paulelliott committed Oct 9, 2017
  2. Merge pull request #305 from paulelliott/infinite-recursion

    paulelliott committed Oct 9, 2017
    Raise error on infinite recursion
  3. Only store fabricator names in the build stacks

    paulelliott committed Oct 9, 2017
Commits on Oct 7, 2017
  1. Version 2.17.0

    paulelliott committed Oct 7, 2017
  2. Merge pull request #304 from paulelliott/travis-updates

    paulelliott committed Oct 7, 2017
    Travis updates
  3. Hash syntax update for appraisal gemfiles

    paulelliott committed Oct 7, 2017
  4. Bump master ruby version to 2.4

    paulelliott committed Oct 7, 2017
  5. Drop support for rails 3.1

    paulelliott committed Oct 7, 2017
Commits on Oct 6, 2017
  1. Update test dependencies

    paulelliott committed Oct 6, 2017
  2. Merge pull request #298 from paulelliott/polymorphic-belongs-to-fix

    paulelliott committed Oct 6, 2017
    Fix a regression regarding polymorphic belongs_to relationships
Commits on Aug 28, 2017
  1. Revert "Default creation of relationships should override inverse fie…

    paulelliott committed Aug 28, 2017
    …lds"
    
    This reverts commit 7c445d8.
Commits on Aug 19, 2017
  1. Version 2.16.3

    paulelliott committed Aug 19, 2017
  2. Merge pull request #297 from mathieujobin/patch-1

    paulelliott committed Aug 19, 2017
    handle nil in File.join
  3. handle nil in File.join

    mathieujobin committed Aug 19, 2017
    Honestly I don't know much about Fabricator, but when running pickle rspec, prefix is nil and makes it crash
    this fixes it... thanks
Commits on Jul 29, 2017
  1. Version 2.16.2

    paulelliott committed Jul 29, 2017
  2. Add rails 5.1 to appraisals

    paulelliott committed Jul 29, 2017
  3. Merge pull request #296 from arantir/fix-railtie-require

    paulelliott committed Jul 29, 2017
    require railtie only if Rails::Railtie is defined
Commits on Jul 28, 2017
  1. require railtie only if Rails::Railtie is defined

    arantir committed Jul 28, 2017
    The constant Rails can occur in many other gems besides RoR itself, like rails-html-sanitizer and rails-dom-testing dependencies of actionview, which does not depend on RoR or Rails::Railtie. If it more reliable to test for the actual Rails::Railtie.
Commits on Mar 4, 2017
  1. Version 2.16.1

    paulelliott committed Mar 4, 2017
  2. Merge pull request #290 from yuki24/do-not-include-rake-dsl

    paulelliott committed Mar 4, 2017
    Do not include Rake::DSL in the top-level scope
Commits on Mar 3, 2017
  1. Do not include Rake::DSL in the top-level scope

    yuki24 committed Mar 3, 2017
    fixes #289.
    
    The commit fd0424b changed the `lib/fabrication.rb` file to include
    the `Rake::DSL` module, but it turns out that this call is unnecessary
    since Fabrication's rake definition is in fact compatible with both of
    Rake 0.9.* and 10.*. Also, it had brought the deprecated feature back
    in without showing any deprecation warnings.
    
    This commit removes the include call since it is 100% safe to do so.
Commits on Feb 10, 2017
Commits on Oct 28, 2016
  1. Version 2.16.0

    paulelliott committed Oct 28, 2016
  2. Merge pull request #285 from jodosha/custom-generators

    paulelliott committed Oct 28, 2016
    Add support for custom generators
Commits on Oct 26, 2016
  1. Add support for custom generators.

    jodosha committed Oct 26, 2016
    This opens the possibility for third-party gems to build bridges between
    Fabrication and non-officially supported ORMs.
    
        class CustomGenerator < Fabrication::Generator::Base
          def self.supports?(klass)
            # detect if it can support klass
          end
    
          # customize the behavior
        end
    
        Fabrication.configure do |config|
          config.generators << CustomGenerator
        end