Sha256: 5bdfddc6c397e556b4605e83ba32e011ae9cfb4c09e52cdfb30ec40166a6be9d
Contents?: true
Size: 501 Bytes
Versions: 5
Compression:
Stored size: 501 Bytes
Contents
require 'seedbank/dsl' require 'seedbank/task' require 'seedbank/task_manager' if defined?(Rake) Rake::Task.extend(Seedbank::Task) Rake::Application.send(:include, Seedbank::TaskManager) end 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
seedbank-0.0.5 | lib/seedbank.rb |
seedbank-0.0.4 | lib/seedbank.rb |
seedbank-0.0.3 | lib/seedbank.rb |
seedbank-0.0.2 | lib/seedbank.rb |
seedbank-0.0.1 | lib/seedbank.rb |