Rakefile in mina-0.3.8 vs Rakefile in mina-1.0.0.beta1
- old
+ new
@@ -1,20 +1,4 @@
-require 'bundler'
require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
-github = ENV['github'] || 'nadarei/mina'
-
-task :spec do
- system "rm Gemfile.lock; sh -c 'rake=0.8 bundle exec rspec'"
- system "rm Gemfile.lock; sh -c 'rake=0.9 bundle exec rspec'"
-end
-
-task :docs do
- files = ['manual/index.md', 'manual/modules.md', 'HISTORY.md'] + Dir['lib/**/*.rb']
- system "lidoc #{files.join ' '} -o docs --github #{github}"
-end
-
-task :'docs:deploy' => :docs do
- system "git-update-ghpages #{github} -i docs -p docs"
-end
-
-task :default => :spec
+task default: :spec