Skip to content

Commit

Permalink
Namespace publish_rdoc task and rename it to rdoc:publish
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Aug 19, 2010
1 parent d0b985b commit 3337771
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.rdoc
Expand Up @@ -24,7 +24,7 @@ An extensive test suite is available to verify the library correctness but you m

* Ruby >= 1.8.6

Whois has been {successfully tested}[http://www.ruby-whois.org/manual/installation.html] against the following Ruby platforms:
Whois has been {successfully tested}[http://www.ruby-whois.org/manual/installation.html] against the following Ruby interpreters:

* Ruby 1.8.6 / 1.8.7 / 1.9.1 / 1.9.2
* MacRuby
Expand Down Expand Up @@ -184,8 +184,8 @@ Bug reports and Feature suggestions {are welcomed}[http://github.com/weppos/whoi
== More

* {Homepage}[http://www.ruby-whois.org]
* {GitHub Repository}[http://github.com/weppos/whois]
* {API Documentation}[http://www.ruby-whois.org/api/]
* {Repository}[http://github.com/weppos/whois]
* {API Documentation}[http://www.ruby-whois.org/api/] (RDoc)
* {Discussion Group}[http://groups.google.com/group/ruby-whois]


Expand Down
8 changes: 5 additions & 3 deletions Rakefile
Expand Up @@ -127,9 +127,11 @@ rescue LoadError
puts "CodeStatistics (Rails) is not available"
end

desc "Publish documentation to the site"
task :publish_rdoc => [:clobber_rdoc, :rdoc] do
sh "rsync -avz --delete rdoc/ weppos@dads:/home/weppos/ruby-whois.org/api"
namespace :rdoc do
desc "Publish RDoc documentation to the site"
task :publish => [:clobber_rdoc, :rdoc] do
sh "rsync -avz --delete rdoc/ weppos@dads:/home/weppos/ruby-whois.org/api"
end
end

desc "Open an irb session preloaded with this library"
Expand Down

0 comments on commit 3337771

Please sign in to comment.