Rakefile in with_model-0.3.2 vs Rakefile in with_model-1.0.0

- old
+ new

@@ -1,22 +1,14 @@ -require 'bundler' -Bundler::GemHelper.install_tasks +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' -task :default => :spec +desc 'Run specs' +RSpec::Core::RakeTask.new -def bundle_exec(command) - sh %Q{bundle update && bundle exec #{command}} -end - -desc "Run all specs" -task "spec" do - bundle_exec("rspec spec") -end - namespace "doc" do desc "Generate README and preview in browser" task "readme" do - sh "rdoc -c utf8 README.rdoc && open doc/README_rdoc.html" + sh "markdown README.md > README.html && open README.html" end end task :default => :spec