Rakefile in progress-0.0.5 vs Rakefile in progress-0.0.7

- old
+ new

@@ -1,21 +1,12 @@ -%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f } +require 'rubygems' +require 'rake' +require 'rake/clean' +require 'fileutils' +require 'echoe' + require File.dirname(__FILE__) + '/lib/progress' -$hoe = Hoe.new('progress', Progress::VERSION) do |p| - p.developer('toy', 'email') - p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") - p.rubyforge_name = p.name - # p.extra_deps = [ - # ['activesupport','>= 2.0.2'], - # ] - p.extra_dev_deps = [ - ['newgem', ">= #{::Newgem::VERSION}"] - ] - - p.clean_globs |= %w[**/.DS_Store tmp *.log] - path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" - p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') - p.rsync_args = '-av --delete --ignore-errors' +Echoe.new('progress', Progress::VERSION) do |p| + p.author = "toy" + p.summary = "A library to show progress of long running tasks." end - -require 'newgem/tasks'