[Rubygems-developers] MetaProject

aslak hellesoy aslak.hellesoy at gmail.com
Sat Sep 3 21:29:13 EDT 2005


On 9/2/05, Chad Fowler <chad at chadfowler.com> wrote:
> 
> 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?
> 

Under here:

http://docs.rubygems.org/read/chapter/6

I have created a aslak_hellesoy user. If you give me write access I'll
write the chapter myself.

Cheers,
Aslak

> Chad
> 
> >
> 
> _______________________________________________
> Rubygems-developers mailing list
> Rubygems-developers at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rubygems-developers
>



More information about the Rubygems-developers mailing list