Skip to content

Add Ruby gems and other ecosystems to depscore tool#151

Merged
kapravel merged 1 commit intomainfrom
feat/add-ruby-gem-ecosystem
Mar 5, 2026
Merged

Add Ruby gems and other ecosystems to depscore tool#151
kapravel merged 1 commit intomainfrom
feat/add-ruby-gem-ecosystem

Conversation

@dc-larsen
Copy link
Contributor

Summary

  • The Socket API already supports gem, golang, maven, nuget, and cargo ecosystems via PURL format, but the depscore tool description only listed npm and pypi
  • AI clients (Claude Code, Cursor, etc.) use the tool description to determine supported ecosystems, so Ruby gems queries returned empty results
  • Updated the ecosystem field description to list all supported ecosystems
  • Added test coverage for gem packages (puma, rails, nokogiri)

Test plan

  • All existing tests pass
  • New dedicated gem ecosystem test passes (verifies pkg:gem/ format in results and scores returned)
  • Lint and type check pass
  • Manually verified Socket API returns scores for pkg:gem/puma, pkg:gem/rails, pkg:gem/nokogiri

The Socket API already supports gem, golang, maven, nuget, and cargo
ecosystems via PURL format, but the depscore tool description only
listed npm and pypi. This caused AI clients to not recognize Ruby gems
as a supported ecosystem.

Update the ecosystem field description to list all supported ecosystems
and add test coverage for gem packages (puma, rails, nokogiri).
@kapravel kapravel merged commit ad54b9e into main Mar 5, 2026
6 checks passed
@kapravel kapravel self-requested a review March 5, 2026 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants