[Rubygems-developers] MetaProject

Chad Fowler chad at chadfowler.com
Fri Sep 2 15:21:28 EDT 2005


On 01-Sep-05, at 8:55 PM, aslak hellesoy wrote:

> Hi all,
>
> The past month I've been working on a project (MetaProject:
> http://xforge.rubyforge.org/) that among other things includes a quick
> release system (QRS) for (among other places) RubyForge.
>
> With MetaProject's Rake task, releasing new gems on RubyForge is a  
> breeze:
>
> task :release_files => [:gem] do
>   release_files = FileList[
>     "pkg/#{PKG_FILE_NAME}.gem"
>   ]
>
>   Rake::XForge::Release.new 
> (MetaProject::Project::XForge::RubyForge.new('xforge'))
> do |release|
>     # Never hardcode user name and password in the Rakefile!
>
>     release.user_name = ENV['RUBYFORGE_USER']
>
>     release.password = ENV['RUBYFORGE_PASSWORD']
>     release.files = release_files.to_a
>     release.release_name = "MetaProject #{PKG_VERSION}"
>
>     # The rest of the options are defaults (among others,
> release_notes and release_changes, parsed from CHANGES)
>   end
> end
>
> Would you consider mentioning this in the RubyGems documentation?
>
>

Aslak, definitely!  Where do you think it would best fit?

Chad

>



More information about the Rubygems-developers mailing list