Sha256: 57176155606cbe719f212b25ec0e0b59f259c52a988a04398248102f4f3fe514
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
## Table of Contents * [Scope](#scope) * [Alternatives](#alternatives) * [gem dep](#gem-dep) * [bundle viz](#bundle-viz) * [Warning](#warning) * [Usage](#usage) ## 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](http://www.graphviz.org/) 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. Both runtime and development dependencies are counted (identical dependencies are counted once). Just the runtime dependencies tree is printed to screen: ```shell $ lapidarius --gem=sinatra sinatra (2.0.0) ├── mustermann (~> 1.0) ├── rack (~> 2.0) ├── rack-protection (= 2.0.0) │ └── rack (>= 0) └── tilt (~> 2.0) 4 runtime, 4 development ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lapidarius-3.2.1 | README.md |
lapidarius-3.2.0 | README.md |