sr / mg

minimal gem

This URL has Read+Write access

sr (author)
Fri Nov 06 10:18:05 -0800 2009
commit  51a91b1662386f66cf283bb7dc99702ef5afd045
tree    5198945e03924d62873abcd8a864538a80204729
parent  dc2c0d83003382457975a546fc93f0c379bd216b
mg /
name age message
file .gitignore Fri Nov 06 10:20:31 -0800 2009 ignore files in dist [foca]
file README.mkd Loading commit data...
file Rakefile Sun Mar 15 17:24:50 -0700 2009 Initial commit Now is my turn to give away com... [rtomayko]
directory lib/ Fri Nov 06 10:20:31 -0800 2009 Add gemcutter support [foca]
file mg.gemspec
README.mkd

mg

Minimalist way to build gems and publish them to Rubyforge or Gemcutter using Rake.

Usage

In your Rakefile:

require "mg"
MG.new("foo.gemspec")

The following tasks are now available:

rake gemcutter
  Push to the gem to gemcutter

rake install
  Build and install as local gem

rake install:edge
  Build and install edge as a local gem with
  version suffixed by ".999"

rake package
  Build gem and tarball into dist/

And if you've specified rubyforge_project:

rake rubyforge
  Publish the current version on Rubyforge

rake rubyforge:gem
  Publish gem and tarball on rubyforge

rake rubyforge:git
  Push to gitosis@rubyforge.org:<project name>.git

Licence

Written by Ryan Tomayko, extracted by Simon Rozet.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2009 Ryan Tomayko and Simon Rozet
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.