Changeset 3736 for lang/ruby

Show
Ignore:
Timestamp:
12/28/07 19:50:39 (7 years ago)
Author:
cho45
Message:

lang/ruby/hyde/Rakefile,
lang/ruby/hyde/README:

update documentation

Location:
lang/ruby/hyde
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/hyde/README

    r3735 r3736  
    77Convert unit 'hyde' to SI metre. 
    88 
    9  
    10  
    119=== Gem Installation 
    1210 
     
    1614== Features/Problems 
    1715 
     16* The argument metre is not 'cm' but 'm'. 
     17 
    1818 
    1919== Synopsis 
    2020 
     21        require "hyde" 
     22        p 1.56.in_hyde 
     23        p Hyde.m_to_hyde(1.56) 
    2124 
    2225== Copyright 
    2326 
    24 Author::    cho45 <cho45@lowreal.net> 
    25 Copyright:: Copyright (c) 2007 cho45 
    2627License::   Public Domain 
    2728 
  • lang/ruby/hyde/Rakefile

    r3735 r3736  
    103103desc "Publish to RubyForge" 
    104104task :rubyforge => [:rdoc, :package] do 
    105         require 'rubyforge' 
    106         Rake::RubyForgePublisher.new(RUBYFORGE_PROJECT, 'cho45').upload 
     105        @local_dir = "html" 
     106        @host = "cho45@rubyforge.org" 
     107        @remote_dir = "/var/www/gforge-projects/#{RUBYFORGE_PROJECT}/#{NAME}" 
     108        sh %{rsync -r --delete --verbose #{@local_dir}/ #{@host}:#{@remote_dir}} 
    107109end 
    108110