Rakefile in net-ssh-kerberos-0.2.3 vs Rakefile in net-ssh-kerberos-0.2.4
- old
+ new
@@ -40,38 +40,13 @@
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end
end
-# These are new tasks
-#begin
-# require 'rake/contrib/sshpublisher'
-# namespace :rubyforge do
-#
-# desc "Release gem and RDoc documentation to RubyForge"
-# task :release => ["rubyforge:release:gem", "rubyforge:release:docs"]
-#
-# namespace :release do
-# desc "Publish RDoc to RubyForge."
-# task :docs => [:rdoc] do
-# config = YAML.load(
-# File.read(File.expand_path('~/.rubyforge/user-config.yml'))
-# )
-#
-# host = "#{config['username']}@rubyforge.org"
-# remote_dir = "/var/www/gforge-projects/net-ssh-krb/"
-# local_dir = 'doc'
-#
-# Rake::SshDirPublisher.new(host, remote_dir, local_dir).upload
-# end
-# end
-# end
-#rescue LoadError
-# puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
-#end
-#
+Jeweler::GemcutterTasks.new
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
+ rubyforge.remote_doc_path = ''
end
task :default => :test
require 'rake/rdoctask'