Sha256: 9c59056d36ed6840d3de44d8178d76d13f3a4224d9daa693621dc92be6119177

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 Bytes

Contents

module Germinator
  require 'germinator/railtie' if defined?(Rails)

  require 'germinator/base'
  require 'germinator/seeder'
  require 'germinator/seed_config'
  require 'germinator/seed'
  require 'germinator/seed_file'

  # Default seed path for the germinate files.
  SEED_PATH = "db/germinate"

  def Germinator.germinate name
    seeder = Germinator::Seeder.new
    seeder.germinate_by_name name
  end

  def Germinator.shrivel name
    seeder = Germinator::Seeder.new
    seeder.shrivel_by_name name
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
germinator-2.1.1 lib/germinator.rb
germinator-2.1.0 lib/germinator.rb