Sha256: 8b2e7bda6b022d7a2b9488a9c2021c76c901bef2ee04910dc405be7ca2b944be
Contents?: true
Size: 575 Bytes
Versions: 7
Compression:
Stored size: 575 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path("../lib", __FILE__)) ENV["RACK_ENV"] ||= "development" require "janky" Janky.setup(ENV) require "janky/tasks" task "db:seed" do if ENV["RACK_ENV"] != "development" fail "refusing to load seed data into non-development database" end dump = File.expand_path("../lib/janky/database/seed.dump.gz", __FILE__) Replicate::Loader.new do |loader| loader.log_to $stderr, false, false loader.read Zlib::GzipReader.open(dump) end end task :test do abort "Use script/test to run the test suite." end task :default => :test
Version data entries
7 entries across 7 versions & 1 rubygems
Version | Path |
---|---|
janky-0.11.1 | Rakefile |
janky-0.11.0 | Rakefile |
janky-0.10.2 | Rakefile |
janky-0.10.0 | Rakefile |
janky-0.9.15 | Rakefile |
janky-0.9.14 | Rakefile |
janky-0.9.14.rc1 | Rakefile |