{"adoption": {"forks": 227, "observed_at": "2026-08-28T04:08:03.916875+00:00", "stars": 3425}, "canonical_url": "https://ross.abutalabs.com/products/timecop", "card": {"archived": false, "artifact_type": "library", "description": "A gem providing \"time travel\", \"time freezing\", and \"time acceleration\" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.", "domain": ["testing", "developer-tools", "programming-languages"], "enriched": true, "function": ["testing", "mocking", "date-time"], "health_score": 66, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["travisjeffery/timecop"], "name": "travisjeffery/timecop", "platform": ["ruby", "cli"], "pushed_at": "2026-04-12T15:27:41+00:00", "repo": "travisjeffery/timecop", "stars": 3425, "tags": ["time-mocking", "ruby-gem", "time-freezing", "time-travel", "rails-testing"], "topics": ["rails", "ruby", "time", "test"], "urls": [], "use_cases": ["freeze time in tests to assert time-dependent behavior", "mock Time.now and Date.today in Ruby test suites", "simulate the passage of time in unit tests", "test expiring subscriptions or mortgage due dates", "set a fixed test date for a Rails test environment", "accelerate time to test scheduled or timeout logic"], "what_it_is": "Timecop is a Ruby gem that provides time travel, time freezing, and time acceleration capabilities for testing time-dependent code. It offers a unified API to mock Time.now, Date.today, DateTime.now, and Process.clock_gettime in a single call.", "when_to_avoid": ["your project is not in Ruby", "you only need simple stubbing already covered by your mocking framework", "you need to mock time in production code rather than tests"], "when_to_choose": ["you write Ruby or Rails tests involving time-sensitive logic", "you need to freeze, travel, or scale time deterministically in specs", "you want a dependency-free gem that mocks multiple time APIs uniformly"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/timecop", "repo": "travisjeffery/timecop", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "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:03.916875+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:03.916875+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:38:04.774553+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f55dac9ca4aca32a5d0b97f66dac901af814423e5e9047861945169f56cda188", "fetched_at": "2026-08-28T04:08:03.916875+00:00", "kind": "readme", "missing": false, "url": "https://github.com/travisjeffery/timecop"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 77, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 6508, "days_push": 143, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}