{"adoption": {"forks": 523, "observed_at": "2026-08-28T04:09:14.103868+00:00", "stars": 5276}, "canonical_url": "https://ross.abutalabs.com/products/draper", "card": {"archived": false, "artifact_type": "library", "description": "Decorators/View-Models for Rails Applications", "domain": ["web-development", "backend", "developer-tools"], "enriched": true, "function": ["templating", "middleware"], "health_score": 87, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["drapergem/draper"], "name": "drapergem/draper", "platform": ["ruby"], "pushed_at": "2026-05-29T22:35:41+00:00", "repo": "drapergem/draper", "stars": 5276, "tags": ["decorators", "view-models", "rails", "presentation-layer", "mvc", "web-server"], "topics": ["decorators", "ruby"], "urls": [], "use_cases": ["move view helper logic into testable objects", "format dates and statuses for display in Rails views", "keep presentation logic out of ActiveRecord models", "organize view-model code for complex Rails UIs", "replace global helper methods with object-oriented decorators"], "what_it_is": "Draper is a Ruby gem that adds a decorator/view-model layer to Rails applications. It wraps ActiveRecord models with presentation-specific logic, keeping views clean and models free of display concerns.", "when_to_avoid": ["you use Sinatra, Hanami, or a non-Rails Ruby framework", "your views are simple and helpers suffice", "you prefer a different view-model pattern like plain POROs or ViewComponents"], "when_to_choose": ["you have a Rails app with presentation logic cluttering models or helpers", "you want testable, object-oriented view logic", "you need per-model display formatting without helper namespace pollution"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/draper", "repo": "drapergem/draper", "role": "main", "score": 78}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "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:09:14.103868+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:14.103868+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:59:18.805758+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1e1117abda43deaa4df4b1a2e8e37988f47515283508d479ccca87befa198b31", "fetched_at": "2026-08-28T04:09:14.103868+00:00", "kind": "readme", "missing": false, "url": "https://github.com/drapergem/draper"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 84, "longevity": 100, "rhythm": 57}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5543, "days_push": 96, "days_rel": 288, "gap_med": 0, "n_releases_24m": 4}, "score": 78, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}