Sha256: f9121101d15b3347cf76b56c1efa9347299507f897e972752e11865fb30f386f

Contents?: true

Size: 252 Bytes

Versions: 10

Compression:

Stored size: 252 Bytes

Contents

namespace :spree_sample do
  desc "Loads sample data"
  task :load do
    sample_path = File.join(File.dirname(__FILE__), '..', '..', 'db', 'sample')

    Rake::Task['db:load_dir'].reenable
    Rake::Task["db:load_dir"].invoke( sample_path )
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spree_sample-0.70.7 lib/tasks/sample.rake
spree_sample-0.70.6 lib/tasks/sample.rake
spree_sample-0.70.5 lib/tasks/sample.rake
spree_sample-0.70.4 lib/tasks/sample.rake
spree_sample-0.70.3 lib/tasks/sample.rake
spree_sample-0.70.2 lib/tasks/sample.rake
spree_sample-0.70.1 lib/tasks/sample.rake
spree_sample-0.70.0 lib/tasks/sample.rake
spree_sample-0.70.0.rc2 lib/tasks/sample.rake
spree_sample-0.70.RC1 lib/tasks/sample.rake