RubyGems Package Intelligence — Gem Health & Downloads (AI)
Pricing
from $44.00 / 1,000 package analyzeds
RubyGems Package Intelligence — Gem Health & Downloads (AI)
Analyze any Ruby gem (RubyGems): downloads, dependencies, maintenance recency, release cadence, authors, license and an AI risk read (unmaintained, no license, heavy deps). For dependency due diligence and supply-chain risk.
Pricing
from $44.00 / 1,000 package analyzeds
Rating
0.0
(0)
Developer
Fredrik Hansson
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 hours ago
Last modified
Categories
Share
Before you add a Ruby dependency, know what you're pulling in. Give this Actor a list of RubyGems gem names and it turns each one into a clear intelligence record: how often it's downloaded, how many dependencies it drags in, when it was last released, how fast it ships, who maintains it, its license — and an AI risk read that tells you plainly whether a gem is active, stale, or effectively abandoned.
You bring the gem names. It hands back a dependency due-diligence sheet.
The flow
1. Paste RubyGems gem names 2. The Actor gathers facts 3. Get an AI risk read(rails, devise, sidekiq, → RubyGems API (gems + → downloads · deps · age ·...) versions, public, no key) license · maintenance · flags
- Paste RubyGems (Ruby) gem names into the
packagesfield — one per line. - The Actor pulls public data for each: the RubyGems API gem endpoint for metadata, total/version downloads, dependencies and license, and the versions endpoint for version count, latest release date and release cadence. No API key, no scraping of login-walled pages.
- The AI layer reads the facts and returns a maintenance signal, a popularity tier, concrete risk flags and a two-sentence summary — grounded only in the data, never invented.
What you get per gem
For every gem, the Actor returns:
- Identity & release —
latestVersion,summary,versionCount,lastRelease(ISO timestamp),lastReleaseAgeDays(how long since the newest release) andreleaseCadenceDays(average days between releases across history). - Reach —
totalDownloads(all-time) andlatestVersionDownloadsfrom RubyGems, so you can tell a ubiquitous library from a weekend experiment. - Footprint —
runtimeDependenciesCountanddevelopmentDependenciesCount(how many gems it requires), andlicense. - Maintenance signals —
authorsCount, and therepository,homepageanddocumentationURLs.
Then the AI layer (OpenAI gpt-4o-mini, a fast and low-cost model) adds:
maintenanceSignal—active,maintained,stale, orabandoned, from release recency.popularityTier—niche,growing,popular, orubiquitous, from download volume.riskFlags— short, data-backed phrases:"unmaintained (last release >18mo)","single author","no license declared","heavy dependency tree","very few releases".aiSummary— two factual sentences on the gem and its risk posture.suggestedAlternatives— only well-known, widely-trusted substitutes for the same job, else[].
Three ways people use it
- Ruby dependency due diligence — before a new gem lands in your
Gemfileor.gemspec, run a RubyGems package analysis to see downloads, license, dependency count and whether it's still maintained. Catch an abandoned gem, a no-license release or a single-maintainer bus factor before it's in your build. - Supply-chain risk — audit an existing dependency list for Ruby dependency risk: surface unmaintained gems, stale projects and heavy dependency trees across your whole stack in one run. A standing input for your supply chain security reviews.
- Library selection — comparing candidates for the same job? Line them up and let download tier, maintenance signal and
suggestedAlternativesmake the call obvious.
Keywords: RubyGems package analysis, Ruby dependency risk, supply chain, unmaintained gems.
Input
| Field | Type | Notes |
|---|---|---|
packages | array | Required. RubyGems gem names, one per line (e.g. rails, devise, sidekiq). Version pins and rubygems.org/gems/... URLs are tolerated and normalised. |
maxResults | integer | Cap how many gems to analyze. Default 200. |
maxConcurrency | integer | Gems processed in parallel. Default 6. |
model | string | OpenAI model override. Default gpt-4o-mini. |
Minimal input example
{"packages": ["rails", "devise", "sidekiq"]}
Output example
{"package": "rails","latestVersion": "8.1.4","summary": "Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity.","license": "MIT","totalDownloads": 799616881,"latestVersionDownloads": 1262910,"lastRelease": "2026-09-24T14:22:14.180Z","lastReleaseAgeDays": 18,"releaseCadenceDays": 14,"versionCount": 521,"authorsCount": 1,"runtimeDependenciesCount": 13,"developmentDependenciesCount": 0,"repository": "https://github.com/rails/rails/tree/v8.1.4","homepage": "https://rubyonrails.org","documentation": "https://api.rubyonrails.org/v8.1.4/","maintenanceSignal": "active","popularityTier": "ubiquitous","riskFlags": [],"suggestedAlternatives": ["sinatra", "hanami"],"aiSummary": "rails is a ubiquitous, permissively licensed full-stack web framework with hundreds of millions of all-time downloads and an actively maintained release line. It carries a moderate runtime dependency tree and shows no significant supply-chain risk."}
A gem that is not found on RubyGems comes back with the same shape plus an error field (and is not charged).
Pay-per-event pricing
This Actor uses pay-per-event billing with a single event:
| Event | Price | Charged when |
|---|---|---|
package-analyzed | $0.10 | Once per gem successfully analyzed (facts gathered + AI risk read produced). |
The Actor logs its OpenAI token usage and the estimated AI cost per gem at the end of every run, so the event price always stays safely above the model cost.
Data source
Everything comes from public, key-less sources: the RubyGems API gem endpoint (https://rubygems.org/api/v1/gems/<gem>.json) for metadata, downloads, dependencies and license, and the versions endpoint (https://rubygems.org/api/v1/versions/<gem>.json) for version count, latest release date and release cadence. Rate limiting or a missing versions record is handled gracefully — the record still ships, just without release history.
Setup
The AI layer calls the OpenAI API. Set the environment variable / secret OPENAI_API_KEY on the Actor. The fact-gathering step (downloads, dependencies, license, maintenance) needs no key.
Use it from an AI agent (Apify MCP server)
This Actor is available through the Apify MCP server, so AI agents (Claude, ChatGPT, or anything that speaks MCP) can call it as a tool — hand it a list of packages and read back the intelligence records — with no custom integration code.
Run it locally
npm install# put your input in storage/key_value_stores/default/INPUT.jsonexport OPENAI_API_KEY=sk-...apify run -p
Related actors
- npm Package Intelligence — The Node.js twin of this Actor: downloads, dependencies, maintenance and AI risk for any npm package.
- PyPI Package Intelligence — The Python twin: downloads, dependencies, maintenance and AI risk for any PyPI package.
- GitHub Repo Analyzer — Health, activity and maintenance signals for any GitHub repository.
- CVE Vulnerability Lookup — Look up known vulnerabilities and severity for packages and software.
Part of the No Niner toolkit — no-code web scraping, enrichment & AI data tools, all pay-per-use. Browse the full set at noniner.io.