Module Hoe::Publish
In: lib/hoe/publish.rb

Publish plugin for hoe.

Tasks Provided:

announce:Create news email file and post to rubyforge.
debug_email:Generate email announcement file.
post_blog:Post announcement to blog.
post_news:Post announcement to rubyforge.
publish_docs:Publish RDoc to RubyForge.
ridocs:Generate ri locally for testing.

Extra Configuration Options:

publish_on_announce:Run publish_docs when you run release.
blogs:An array of hashes of blog settings.

The blogs entry can either look like:

   - path: ~/Work/p4/zss/www/blog.zenspider.com/releases
     type: zenweb

or:

   - url: http://example.com/cgi-bin/blog.cgi
     blog_id: 1
     user: username
     password: passwd
     extra_headers:
       blah: whatever

Methods

Attributes

blog_categories  [RW]  Optional: An array of the project‘s blog categories. Defaults to project name.
local_rdoc_dir  [RW]  Optional: Name of destination directory for RDoc generated files. [default: doc]
need_rdoc  [RW]  Optional: Should RDoc and ri generation tasks be defined? [default: true]

Allows you to define custom RDoc tasks then use the publish_rdoc task to upload them all. See also local_rdoc_dir

rdoc_locations  [RW]  Optional: An array of remote (rsync) paths to copy rdoc to.

eg:

    rdoc_locations << "user@server:Sites/rdoc/#{remote_rdoc_dir}"
remote_rdoc_dir  [RW]  Optional: Name of RDoc destination directory on Rubyforge. [default: name]
rsync_args  [RW]  Optional: Flags for RDoc rsync. [default: "-av —delete"]

Public Instance methods

Define tasks for plugin.

Initialize variables for plugin.

[Validate]