appraisal-rb Logo by Aboling0, CC BY-SA 4.0 kettle-dev Logo by Aboling0, CC BY-SA 4.0 StructuredMerge Logo floss-funding Logo by Aboling0, CC BY-SA 4.0 galtzo-floss Logo by Aboling0, CC BY-SA 4.0 omniauth Logo by (presumed) tomeara, (presumed) MIT resque Logo by Resque development team, MIT rubocop-lts Logo by Aboling0, CC BY-SA 4.0 oauth Logo by Chris Messina, CC BY-SA 3.0 ruby-openid Logo by Aboling0, CC BY-SA 4.0 xberg-io Logo (GitHub org avatar) pboling Logo (GitHub org avatar) contriboss Logo (GitHub org avatar) CycloneDX Logo (GitHub org avatar)

Introducing namespaced-gem

🏷️ introduction namespaced-gem namespaced-gem

Namespaced Gem is a RubyGems plugin that lets gemspec dependencies be declared as full URIs pointing at namespaced gem sources such as gem.coop namespaces, for example https://beta.gem.coop/@myspace/my-gem. Once installed it patches both RubyGems’ resolver (gem install) and Bundler’s (bundle install) to parse URI dependency names, route them to the right namespace source, and remap transitive dependencies on the fly, so gem install @kaspth/oaken and URI dependencies in gemspecs both work.

The original discussion is gem-coop/gem.coop#12.

Browse the project repository.