Sha256: be003be0318051c7b6bccedcffa5fc681640c27415bffd9f741577d406f98164

Contents?: true

Size: 531 Bytes

Versions: 11

Compression:

Stored size: 531 Bytes

Contents

require 'fixture_builder/delegations'
require 'fixture_builder/configuration'
require 'fixture_builder/namer'
require 'fixture_builder/builder'

module FixtureBuilder
  class << self
    def configuration(opts = {})
      @configuration ||= FixtureBuilder::Configuration.new(opts)
    end

    def configure(opts = {})
      yield configuration(opts)
    end
  end

  begin
    class Railtie < ::Rails::Railtie
      rake_tasks do
        load "tasks/fixture_builder.rake"
      end
    end
  rescue LoadError, NameError
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fixture_builder-0.5.0 lib/fixture_builder.rb
fixture_builder-0.5.0.pre.RC1 lib/fixture_builder.rb
fixture_builder-0.4.1 lib/fixture_builder.rb
fixture_builder-0.4.0 lib/fixture_builder.rb
fixture_builder-0.3.6 lib/fixture_builder.rb
fixture_builder-0.3.5 lib/fixture_builder.rb
fixture_builder-0.3.4 lib/fixture_builder.rb
fixture_builder-0.3.3 lib/fixture_builder.rb
fixture_builder-0.3.2 lib/fixture_builder.rb
fixture_builder-0.3.1 lib/fixture_builder.rb
fixture_builder-0.3.0 lib/fixture_builder.rb