{"adoption": {"forks": 917, "observed_at": "2026-08-28T04:08:11.002054+00:00", "stars": 3582}, "canonical_url": "https://ross.abutalabs.com/products/shoulda-matchers", "card": {"archived": false, "artifact_type": "library", "description": "Simple one-liner tests for common Rails functionality", "domain": ["testing", "web-development", "developer-tools"], "enriched": true, "function": ["testing", "e2e-testing"], "health_score": 97, "homepage": "https://matchers.shoulda.io", "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["thoughtbot/shoulda-matchers"], "name": "thoughtbot/shoulda-matchers", "platform": ["ruby"], "pushed_at": "2026-08-10T13:14:13+00:00", "repo": "thoughtbot/shoulda-matchers", "stars": 3582, "tags": ["rspec", "minitest", "one-liner-tests", "active-record", "active-model", "action-controller", "rails"], "topics": ["ruby", "rspec", "rails", "testing"], "urls": [], "use_cases": ["test rails model validations with one-liners", "test activerecord associations in rspec", "write shorter rails unit tests", "test uniqueness validation scoped to a column", "test controller and routing behavior in rails", "add shoulda matchers to minitest suite"], "what_it_is": "A Ruby gem providing RSpec- and Minitest-compatible one-liner matchers for testing common Rails functionality like validations, associations, and controller behavior. It offers 30+ pre-built matchers for ActiveModel, ActiveRecord, ActionController, and routing.", "when_to_avoid": ["you don't use Rails or ActiveModel/ActiveRecord", "you prefer writing explicit, hand-rolled test assertions", "you use a test framework other than RSpec or Minitest"], "when_to_choose": ["you maintain a Rails app with RSpec or Minitest tests", "you want concise, readable tests for validations, associations, and controllers", "you want to reduce boilerplate in your test suite"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/shoulda-matchers", "repo": "thoughtbot/shoulda-matchers", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "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:08:11.002054+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.002054+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:33:57.878013+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c9356ccc9b176e4bc6f8f3866684d029045bd7f1275920755f319102c6dc4be5", "fetched_at": "2026-08-28T04:08:11.002054+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thoughtbot/shoulda-matchers"}, {"content_hash": "3e731a5c4316b62afc10d28d42e1bd3178d60cab8084805482cf9961b2cb6b75", "fetched_at": "2026-08-29T09:27:25.308721+00:00", "kind": "homepage", "missing": false, "url": "https://matchers.shoulda.io"}, {"content_hash": "ca8433d39e54cfa4571c67285dce4c84373cb37f761772cb6f04834332d706f1", "fetched_at": "2026-08-29T09:27:25.317706+00:00", "kind": "site_page", "missing": false, "url": "https://matchers.shoulda.io/docs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 64}, "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": 5740, "days_push": 23, "days_rel": 82, "gap_med": 94.0, "n_releases_24m": 5}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}