Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

How many gems depend on your gem ?

tree: 7c62686589

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 spec
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 Rakefile
Octocat-spinner-32 Readme.md
Octocat-spinner-32 VERSION
Octocat-spinner-32 gem-dependent.gemspec
Readme.md

Install

sudo gem install gem-dependent

Usage

The first run can take looooong, but after the caches are filled, its pretty fast. gem dependent my_gem

--source URL                 Query this source (e.g. http://rubygems.org)
--no-progress                Do not show progress
--fetch-limit N              Fetch specs for max N gems (for fast debugging)
--parallel N                 Make N requests in parallel

Output

$ gem dependent my_gem --source http://rubygems.org
other_gem >= 1.2.1
even_more = 0.0.1

$ gem dependent XXX --source http://rubygems.org --no-progress | wc -l

# Fun-facts from 2010-11-03
bundler: 263
activesupport: 983
activerecord: 566

hoe: 1454
jeweler: 234
echoe: 85

nokogiri: 516
hpricot: 297

TODO

  • include reverse dependencies (a > b > c --> a = [b,c])
  • add tests for cli interface
  • add --type development support

Author

Michael Grosser
grosser.michael@gmail.com
Hereby placed under public domain, do what you want, just do not hold me accountable...

Something went wrong with that request. Please try again.