README.md in lapidarius-4.4.4 vs README.md in lapidarius-4.5.5

- old
+ new

@@ -29,11 +29,11 @@ ```shell gem install lapidarius ``` ## Usage -This library invokes the `Gem::Commands::DependencyCommand` class recursively to collect all the levels of dependency. +This library invokes the [Gem::Commands::DependencyCommand](https://github.com/rubygems/rubygems/blob/master/lib/rubygems/commands/dependency_command.rb) class recursively to collect all the levels of dependency. Both runtime and development dependencies are counted (identical dependencies are counted once), but just the former are printed on screen: ```shell lapidarius sinatra sinatra (2.0.0) @@ -41,15 +41,15 @@ ├── rack (~> 2.0) ├── rack-protection (= 2.0.0) │ └── rack (>= 0) └── tilt (~> 2.0) -4 runtime, 4 development +4 runtime, 5 development ``` ### Version -By default this library scans for the first version `>= 0` found at [rubygems.org](https://rubygems.org/). +By default this library scans for the latest available version `>= 0` found at [rubygems.org](https://rubygems.org/). In case you are interested on a specific version just specify the `-v` option: ```shell lapidarius sinatra -v 1.4.7 sinatra (1.4.7) ├── rack (~> 1.5) @@ -61,37 +61,38 @@ ``` ### Remote By default this library scan for local gems, warning if the gem is not found: ```shell -lapidarius rails -v 2.3.6 -No gems found matching rails (= 2.3.6) +lapidarius rails -v 1.2.6 +No gems found matching rails (= 1.2.6) ``` If you want to scan for remote gems specify the `-r` option (be aware of slowness): ```shell -lapidarius rails -v 2.3.6 -r -rails (2.3.6) -├── actionmailer (= 2.3.6) -│ └── actionpack (= 2.3.6) -│ ├── activesupport (= 2.3.6) -│ └── rack (~> 1.1.0) -├── actionpack (= 2.3.6) -│ ├── activesupport (= 2.3.6) -│ └── rack (~> 1.1.0) -├── activerecord (= 2.3.6) -│ └── activesupport (= 2.3.6) -├── activeresource (= 2.3.6) -│ └── activesupport (= 2.3.6) -├── activesupport (= 2.3.6) -└── rake (>= 0.8.3) +lapidarius rails -v 1.2.6 -r +rails (1.2.6) +├── actionmailer (= 1.3.6) +│ └── actionpack (= 1.13.6) +│ └── activesupport (= 1.4.4) +├── actionpack (= 1.13.6) +│ └── activesupport (= 1.4.4) +├── actionwebservice (= 1.2.6) +│ ├── actionpack (= 1.13.6) +│ │ └── activesupport (= 1.4.4) +│ └── activerecord (= 1.15.6) +│ └── activesupport (= 1.4.4) +├── activerecord (= 1.15.6) +│ └── activesupport (= 1.4.4) +├── activesupport (= 1.4.4) +└── rake (>= 0.7.2) -7 runtime, 6 development +6 runtime, 5 development ``` ### Quiet Some gems have several interdependencies that results in a multitude of tree branches. In case you just dare to count dependencies without the visual noise, you can pass the `-q` option: ```shell -lapidarius rails -v 5.1.4 -r -q -42 runtime, 48 development +lapidarius rails -v 5.1.5 -r -q +37 runtime, 48 development ```