Rakefile in bagit-0.1.0 vs Rakefile in bagit-0.2.0

- old
+ new

@@ -1,14 +1,16 @@ +require 'rubygems' +require 'bundler/setup' +Bundler.setup(:default, :development, :test) + require 'rake' -require 'rake/rdoctask' -require 'spec/rake/spectask' +require 'rdoc/task' +require 'rspec/core/rake_task' -Spec::Rake::SpecTask.new('spec') do |t| - t.libs << 'lib' - t.libs << 'spec' - t.spec_opts << "--color" -# t.warning = true -# t.rcov = true -# t.rcov_opts += ["-x /Library", "-x spec"] +Bundler::GemHelper.install_tasks + +RSpec::Core::RakeTask.new do |t| + t.pattern = 'spec/**/*_spec.rb' + t.rspec_opts = %w(-fs --color) end task :default => [:spec]