Rakefile in microformats-0.3 vs Rakefile in microformats-4.0.0

- old
+ new

@@ -1,27 +1,9 @@ -require 'rubygems' -require 'rake' -require 'rake/rdoctask' -# require 'rake/gempackagetask' -# require 'rcov/rcovtask' -# require 'date' +require "bundler/gem_tasks" +require "rspec/core/rake_task" +require "nokogiri" +require "open-uri" +require "pp" -require 'spec/rake/spectask' +RSpec::Core::RakeTask.new(:spec) +task :default => [:spec] -desc 'Default: run the specs.' -task :default => :spec - -Spec::Rake::SpecTask.new do |t| - t.warning = true -end - -namespace :doc do - desc "Generate documentation for the gem." - Rake::RDocTask.new("gem") { |rdoc| - rdoc.rdoc_dir = 'doc' - rdoc.title = "Microformats" - rdoc.options << '--line-numbers' << '--inline-source' - rdoc.options << '--charset' << 'utf-8' - rdoc.rdoc_files.include('README.rdoc') - rdoc.rdoc_files.include('lib/**/*.rb') - } -end