Rakefile in mbleigh-fakeweb-1.1.3.9 vs Rakefile in mbleigh-fakeweb-1.2.1

- old
+ new

@@ -1,6 +1,7 @@ require 'rubygems' +require 'rake/gempackagetask' require 'rake/testtask' require 'rake/rdoctask' task :default => :test @@ -58,6 +59,12 @@ t.test_files = FileList['test/**/test*.rb'] t.rcov_opts << "--sort coverage" t.rcov_opts << "--exclude gems" t.rcov_opts << "--no-validator-links" end -end \ No newline at end of file +end + +spec = eval(File.read(File.join(File.dirname(__FILE__), "fakeweb.gemspec"))) +Rake::GemPackageTask.new(spec) do |pkg| + pkg.need_tar_gz = true + pkg.need_zip = true +end