summaryrefslogtreecommitdiff
path: root/ruby_1_9_3/lib/rake/contrib/rubyforgepublisher.rb
blob: a4b96936c8dd653bd9af691a2f4b5c6349b4a8e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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