Sha256: 9522e7d2d91dd4dd6d82a210a2cea9af9a2ba95c49f7b36b36c06edf24a74f17

Contents?: true

Size: 268 Bytes

Versions: 34

Compression:

Stored size: 268 Bytes

Contents

require 'ffaker'

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

34 entries across 34 versions & 2 rubygems

Version Path
spree_sample-1.2.5 lib/tasks/sample.rake
spree_sample-1.1.6 lib/tasks/sample.rake
spree_sample-1.1.5 lib/tasks/sample.rake
spree_sample-1.2.4 lib/tasks/sample.rake
spree_sample-1.3.2 lib/tasks/sample.rake
spree_sample-1.0.7 lib/tasks/sample.rake
spree_sample-1.2.3 lib/tasks/sample.rake
spree_sample-1.3.1 lib/tasks/sample.rake
spree_sample-1.3.0 lib/tasks/sample.rake
spree_sample-1.3.0.rc2 lib/tasks/sample.rake
dup_spree_sample-1.3.0.rc1 lib/tasks/sample.rake
spree_sample-1.3.0.rc1 lib/tasks/sample.rake
spree_sample-1.2.2 lib/tasks/sample.rake
spree_sample-1.1.4 lib/tasks/sample.rake
spree_sample-1.2.0 lib/tasks/sample.rake
spree_sample-1.2.0.rc2 lib/tasks/sample.rake
spree_sample-1.2.0.rc1 lib/tasks/sample.rake
spree_sample-1.1.3 lib/tasks/sample.rake
spree_sample-1.0.6 lib/tasks/sample.rake
spree_sample-1.1.2 lib/tasks/sample.rake