Table of Contents

Scope

This gem is aimed to recursively collect the runtime dependencies footprint of the specified gem.
The output of the library mimics the tree shell utility, highlighting the nested dependencies via ASCII characters.

Alternatives

Some alternatives exists:

gem dep

The standard gem dep command just unearth one level of dependencies.

bundle viz

The bundle viz command relies on the Gemfile and the graphviz library to generate a visual representation of the gem inter-dependencies.
While it is great to visualize inter-dependencies, i have hard times figuring out gem's runtime footprint.

Warning

Consider only the gems installed on your system are scanned by the library.
No remote fetching is performed.

Usage

This library invokes the Gem::Commands::DependencyCommand class recursively to collect all the levels of dependency.
Identical dependencies are counted just once:

$ lapidarius --gem=sinatra
sinatra (2.0.0)