Sha256: d9035e1d123c84d60e698d7044a21a5d49c45a629ef0a71792b1c8778e584cb7
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
require 'seedbank/dsl' require 'seedbank/task' require 'seedbank/task_manager' require 'rake' unless defined?(Rake) Rake::Task.extend(Seedbank::Task) Rake::Application.send(:include, Seedbank::TaskManager) module Seedbank @@seeds_root = 'db/seeds' def self.seeds_root @@seeds_root end def self.load_tasks Dir[File.expand_path("tasks/*.rake", File.dirname(__FILE__))].each { |ext| load ext } end require 'seedbank/railtie' if defined?(Rails) && Rails::VERSION::MAJOR >= 3 end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seedbank-0.0.6 | lib/seedbank.rb |