|
|
|
|
|
by kawsper
4613 days ago
|
|
It could be nice if Rubygems could show which gems that depends on a specific gem. I have a feeling that quite a lot depends on FFI. I know that we depend on FFI, because we use selenium-webdriver, which depends on childprocess, which depends on FFI. |
|
https://sourcegraph.com/github.com/ffi/ffi/network/repos/in
and can show where some of its main methods are used: https://sourcegraph.com/github.com/ffi/ffi/symbols/ruby/gem/...
and also for some other gems:
https://sourcegraph.com/github.com/nex3/sass/network/repos/i...
https://sourcegraph.com/github.com/lsegal/yard/network/repos...
https://sourcegraph.com/github.com/rails/rails/network/repos...
It would be great if someone added this functionality to rubygems.org (npmjs.org has it: https://npmjs.org/browse/depended/request).
The Ruby support is very alpha right now. It works for some (but not all) popular gems, and it doesn't show transitive dependencies yet. Also, the list of dependents isn't comprehensive, but it should be a good starting point. If there are any specific gems you'd like to see dependents for, or any issues you see, let me know.