PageRenderTime 76ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 33ms app.codeStats 0ms

/tools/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2/lib/rake/contrib/rubyforgepublisher.rb

http://github.com/agross/netopenspace
Ruby | 16 lines | 12 code | 4 blank | 0 comment | 0 complexity | af6c859f0938417f6e14f3e7c9005de8 MD5 | raw file
 1require 'rake/contrib/sshpublisher'
 2
 3module Rake
 4
 5  class RubyForgePublisher < SshDirPublisher
 6    attr_reader :project, :proj_id, :user
 7
 8    def initialize(projname, user)
 9      super(
10        "#{user}@rubyforge.org",
11        "/var/www/gforge-projects/#{projname}",
12        "html")
13    end
14  end
15
16end