{"adoption": {"forks": 202, "observed_at": "2026-08-28T04:05:32.736748+00:00", "stars": 1762}, "canonical_url": "https://ross.abutalabs.com/products/enumerize", "card": {"archived": false, "artifact_type": "library", "description": "Enumerated attributes with I18n and ActiveRecord/Mongoid support", "domain": ["web-development", "backend", "developer-tools"], "enriched": true, "function": ["orm", "internationalization", "form-handling", "testing"], "health_score": 78, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["brainspec/enumerize"], "name": "brainspec/enumerize", "platform": ["ruby"], "pushed_at": "2026-08-04T12:22:05+00:00", "repo": "brainspec/enumerize", "stars": 1762, "tags": ["enumerated-attributes", "activerecord", "mongoid", "sequel", "rails", "i18n", "enums", "localization"], "topics": ["ruby", "activerecord", "mongoid"], "urls": [], "use_cases": ["add enum attributes to Rails ActiveRecord models", "define enumerated fields with Mongoid documents", "translate enum values with I18n in a Rails app", "add inclusion validation and default values to status fields", "query models with ActiveRecord scopes on enum attributes", "render enum select inputs in SimpleForm or Formtastic", "test enumerized attributes with RSpec or Shoulda"], "what_it_is": "A Ruby gem that adds enumerated attributes to Ruby classes with support for I18n translations and ORMs like ActiveRecord, Mongoid, MongoMapper, and Sequel. It provides validations, scopes, form integration (SimpleForm, Formtastic), and testing helpers for enum-like fields.", "when_to_avoid": ["you only need simple integer-backed enums and ActiveRecord's built-in enum suffices", "you're on an older Ruby or Rails version unsupported by the gem", "you need enums in a non-Ruby stack"], "when_to_choose": ["you're on Ruby 3.1+ / Rails 7.0+ and need rich enum attributes with I18n labels", "you use ActiveRecord, Mongoid, MongoMapper, or Sequel and want consistent enum behavior across ORMs", "you need enum scopes, form integration, and testing helpers beyond Ruby's built-in enum"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/enumerize", "repo": "brainspec/enumerize", "role": "main", "score": 66}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:32.736748+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:27:01.417708+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "64ca6a20ee9fae4f8c4b9b1f47d26e844eab296d09e9634fb242871b8f199239", "fetched_at": "2026-08-28T04:05:32.736748+00:00", "kind": "readme", "missing": false, "url": "https://github.com/brainspec/enumerize"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 96, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5334, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 66, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}