Rakefile in efax-1.3.2 vs Rakefile in efax-1.3.3
- old
+ new
@@ -2,29 +2,31 @@
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'
-require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "efax"
gem.summary = 'Ruby library for accessing the eFax Developer service'
gem.authors = ["Szymon Nowak", "Pawel Kozlowski", "Dr Nic Williams"]
gem.email = "szimek@gmail.com"
gem.homepage = "http://github.com/szimek/efax"
gem.rubyforge_project = "efax"
-
+
gem.add_dependency('hpricot', '>= 0.8.1')
+ gem.add_development_dependency('test-unit', '~> 2')
gem.add_development_dependency('mocha', '>= 0.9')
end
-
+
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
end
+
+ Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
Rake::RDocTask.new do |rdoc|
@@ -36,10 +38,6 @@
rdoc.options << '--line-numbers'
end
Rake::TestTask.new do |t|
t.test_files = FileList['test/**/*.rb']
-end
-
-Spec::Rake::SpecTask.new do |t|
- t.spec_files = FileList['spec/**/*.rb']
end