MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / local_gems

Function local_gems

src/cli/test/bundle_git/test.rb:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1require 'rubygems'
2
3def local_gems
4 Gem::Specification.sort_by{ |g| [g.name.downcase, g.version] }.group_by{ |g| g.name }
5end
6
7# list installed gems
8puts local_gems.map{ |name, specs|

Callers

nothing calls this directly

Calls 2

nameMethod · 0.45
versionMethod · 0.45

Tested by

no test coverage detected