How to find dependencies of a specific ruby gem version?

41 views
Skip to first unread message

stephanos

unread,
Jun 14, 2013, 9:40:06 AM6/14/13
to rubyge...@googlegroups.com
Hi there,

I'd like to find dependency information of Ruby gems. Based on the documentation this will return a list of dependencies of the latest rails gem:


But how do I get the meta information of a specific version, e.g. rails 3.0.0 ?


Regards
Stephan

stephanos

unread,
Jun 17, 2013, 11:26:48 AM6/17/13
to rubyge...@googlegroups.com
Well apparently it's not possible.

It seems that the only way is to call

https://rubygems.org/api/v1/dependencies?rails

But this returns the dependencies for all versions. Well, better than nothing.

stephanos

unread,
Jun 17, 2013, 11:32:07 AM6/17/13
to rubyge...@googlegroups.com

Sam Kottler

unread,
Jun 17, 2013, 11:34:55 AM6/17/13
to rubyge...@googlegroups.com
On Mon, Jun 17, 2013 at 11:26 AM, stephanos <stephan...@gmail.com> wrote:
Well apparently it's not possible.

It'd be a nice feature to add. Pull requests are definitely welcome :-)
 
--
You received this message because you are subscribed to the Google Groups "rubygems.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubygems-org...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages