summaryrefslogtreecommitdiff
path: root/jni/ruby/lib/rake/contrib/rubyforgepublisher.rb
blob: 00889ad7b941fa688a5f2f334524f9c8c3a4cc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# TODO: Remove in Rake 11

require 'rake/contrib/sshpublisher'

module Rake

  class RubyForgePublisher < SshDirPublisher # :nodoc: all
    attr_reader :project, :proj_id, :user

    def initialize(projname, user)
      super(
        "#{user}@rubyforge.org",
        "/var/www/gforge-projects/#{projname}",
        "html")
    end
  end

end