Rakefile in rpipe-0.1.4 vs Rakefile in rpipe-0.1.6
- old
+ new
@@ -1,29 +1,9 @@
require 'rubygems'
require 'rake'
+require 'bundler/gem_tasks'
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "rpipe"
- gem.summary = %Q{Neuroimaging preprocessing the Ruby way}
- gem.description = %Q{Neuroimaging preprocessing the Ruby way}
- gem.email = "kjkosmatka@gmail.com"
- gem.homepage = "http://github.com/brainmap/rpipe"
- gem.authors = ["Kristopher Kosmatka", "Erik Kastman"]
- gem.add_development_dependency "thoughtbot-shoulda", ">= 0"
- gem.add_dependency "metamri"
- gem.add_dependency "log4r"
- gem.add_dependency "POpen4"
- gem.add_dependency "ruport"
- # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
-end
-
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
@@ -64,11 +44,11 @@
gem 'darkfish-rdoc'
require 'darkfish-rdoc/rdoctask'
rescue LoadError
"Not using darkfish."
end
-require 'rake/rdoctask'
-Rake::RDocTask.new do |rdoc|
+require 'rdoc/task'
+RDoc::Task.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "rpipe #{version}"
rdoc.rdoc_files.include('README*')