diff options
Diffstat (limited to 'lib/rake/contrib/rubyforgepublisher.rb')
-rw-r--r-- | lib/rake/contrib/rubyforgepublisher.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/rake/contrib/rubyforgepublisher.rb b/lib/rake/contrib/rubyforgepublisher.rb new file mode 100644 index 0000000000..a4b96936c8 --- /dev/null +++ b/lib/rake/contrib/rubyforgepublisher.rb @@ -0,0 +1,16 @@ +require 'rake/contrib/sshpublisher' + +module Rake + + class RubyForgePublisher < SshDirPublisher + attr_reader :project, :proj_id, :user + + def initialize(projname, user) + super( + "#{user}@rubyforge.org", + "/var/www/gforge-projects/#{projname}", + "html") + end + end + +end |