On Tue, 30 Oct 2001, Dave Thomas wrote:

> Or something like:
> 
>   g = Gem.new do
> 
>      author       "Rich Kilmer"
>      version      "1.1.3"
>      requires     "RyansCoolGem,0.0.2"
>      requires     "RobertsCoolGem,2.0.0"
>      signature    "...secure hash/signed..."
>      public_key   "...public key..."
>      compression  "LZO"
>      encoding     Encoding::BASE64
>      executable   "myFile1.rb"
>   end
> 
I like this even though I think there are different
types of "dependencies" so we might want to introduce classes for them,
eg:

>  requires "RyansCoolGem, 0.0.2"
>  requires "RobertsCoolGem, 2.0.0"

would become

dependency Depends.new("RyansCoolGem", "0.0.2")
dependency Conflicts.new("RobertsCoolGem", "2.0.0", "Name clashes")

(I have changed the type of dependency here) so that there can be
different "logic" associated with different dependencies. For a list of
different dependency types see
http://www.debian.org/doc/FAQ/ch-pkg_basics.html.

/Robert