{"adoption": {"forks": 641, "observed_at": "2026-08-28T04:10:23.320104+00:00", "stars": 8522}, "canonical_url": "https://ross.abutalabs.com/products/pundit", "card": {"archived": false, "artifact_type": "library", "description": "Minimal authorization through OO design and pure Ruby classes", "domain": ["web-development", "backend", "security", "developer-tools"], "enriched": true, "function": ["auth", "authorization", "middleware"], "health_score": 77, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["varvet/pundit"], "name": "varvet/pundit", "platform": ["ruby"], "pushed_at": "2026-08-02T10:26:35+00:00", "repo": "varvet/pundit", "stars": 8522, "tags": ["ruby-gem", "rails", "policy-objects", "object-oriented-design", "access-control", "web-server"], "topics": ["ruby"], "urls": [], "use_cases": ["authorize user actions in a rails app", "build role-based access control with plain ruby classes", "restrict which records users can update or delete", "scope database queries based on user permissions", "add per-model policy classes to a web application", "replace complex authorization gems with simple OO policies"], "what_it_is": "Pundit is a Ruby gem that provides minimal authorization for Rails applications using plain Ruby policy classes and object-oriented design. It maps controller actions to policy query methods to decide what a user is permitted to do.", "when_to_avoid": ["you need complex rule engines, DSLs, or centralized configuration like CancanCan or declarative authorization", "you are not working in Ruby or a Rack-based framework", "you need fine-grained attribute-level or row-level security handled at the database layer"], "when_to_choose": ["you use Rails or Rack-based Ruby apps and want lightweight, transparent authorization", "you prefer plain Ruby objects over DSL-based authorization rules", "you want policy logic that is easy to unit test", "your authorization needs are straightforward and model-centric"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pundit", "repo": "varvet/pundit", "role": "main", "score": 75}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "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:10:23.320104+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:10:23.320104+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:26:40.588808+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "00fd35ecee542769499f5e276061054572a7a20e6a99f240c227802d33516128", "fetched_at": "2026-08-28T04:10:23.320104+00:00", "kind": "readme", "missing": false, "url": "https://github.com/varvet/pundit"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 95, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5050, "days_push": 31, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 75, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}