Rakefile in spree_essentials-0.1.0.pre vs Rakefile in spree_essentials-0.1.0

- old
+ new

@@ -5,11 +5,10 @@ rescue LoadError puts 'You must run `gem install bundler` and `bundle install` to run rake tasks' end require 'rake' -require 'rake/rdoctask' require 'rake/testtask' Bundler::GemHelper.install_tasks Rake::TestTask.new(:test) do |t| @@ -17,24 +16,6 @@ t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end -namespace :db do - desc "preps the test database" - task :test_prep do - dir = File.expand_path("../test/dummy/db", __FILE__) - db = File.join(dir, "test.sqlite3") - File.delete(db) if File.exists?(db) - system("cd test/dummy; rake db:migrate RAILS_ENV=test") - end -end - task :default => :test - -Rake::RDocTask.new(:rdoc) do |rdoc| - rdoc.rdoc_dir = 'rdoc' - rdoc.title = 'SpreeEssentials' - rdoc.options << '--line-numbers' << '--inline-source' - rdoc.rdoc_files.include('README.rdoc') - rdoc.rdoc_files.include('lib/**/*.rb') -end \ No newline at end of file