From: Chad Fowler Date: 2005-02-28T07:36:35+09:00 Subject: Re: [ANN] RubyGems 0.8.5 On Mon, 28 Feb 2005 00:11:42 +0900, Jim Freeze wrote: > * Jim Weirich [2005-02-27 10:34:34 +0900]: > > > = Announce: RubyGems Release 0.8.5 > > Thanks for the nice update. > > > == So What's Changed in this Release? > > > > * "gem update" now accepts a list of gems and only updates the gems listed on > > the command line. If no list is given then all gems are updated (which is > > the bahvior of the previousversion. > > Now that I can update gems one at a time, it would be nice if I > could look at dependencies. For example, I would like to see > something like: > > gem depends_on builder > rails-x.y > > gem dependencies_of rails > Dependencies for rails x.y.z > - actionmailer-x.y > - actionpack-x.y > - builder-x.y > - rake-x.y > - ... > > Can I do something like this now? > irb(main):026:0> Gem.cache.to_a.select {|g| !g.last.dependencies.select{|d| d.name == "rake"}.empty?}.collect{|g| g.first} => ["rails-0.9.4", "rails-0.9.5", "rails-0.10.0"] In short, no :) Probably a good one for the TODO list, though. -- Chad Fowler http://chadfowler.com http://rubycentral.org http://rubygarden.org http://rubygems.rubyforge.org (over 100,000 gems served!)