How many gems depend on your gem ?
Ruby
Latest commit 1d9d839 Oct 21, 2013 @grosser thanks for the patch!
Failed to load latest commit information.
lib v0.2.5 Oct 21, 2013
spec cleanup Oct 21, 2013
.travis.yml travis Sep 7, 2013
Gemfile bump Sep 7, 2013
Gemfile.lock v0.2.5 Oct 21, 2013
Rakefile bump Sep 7, 2013
Readme.md thanks for the patch! Oct 21, 2013
VERSION Version bump to 0.1.7 Aug 21, 2011
gem-dependent.gemspec leaner gemspec + cert Sep 6, 2013
gem-public_cert.pem leaner gemspec + cert Sep 6, 2013

Readme.md

Install

sudo gem install gem-dependent

Usage

The first run can take looooong, but after the caches are filled, its pretty fast. Checking all versions will take significantly longer.

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 (default 15)
--all-versions               Check against all versions of gems
--type                       Only look for dependents matching the listed type(s) (default is runtime and development)

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 nested dependencies (a > b > c --> a = [b,c])
  • add tests for cli interface
  • add --type development support

Authors

Contributors

Michael Grosser
michael@grosse.it
License: MIT
Build Status