{"id":15877187,"url":"https://github.com/zimbatm/monkeypatch","last_synced_at":"2025-06-12T04:35:24.294Z","repository":{"id":577373,"uuid":"209935","full_name":"zimbatm/monkeypatch","owner":"zimbatm","description":"Safe(er) monkey patching in Ruby","archived":false,"fork":false,"pushed_at":"2009-06-09T20:06:20.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T23:27:45.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://twitter.com/monkeypatch","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zimbatm.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-05-25T20:21:57.000Z","updated_at":"2014-04-16T18:03:57.000Z","dependencies_parsed_at":"2022-07-18T10:48:34.841Z","dependency_job_id":null,"html_url":"https://github.com/zimbatm/monkeypatch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/zimbatm/monkeypatch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fmonkeypatch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fmonkeypatch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fmonkeypatch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fmonkeypatch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimbatm","download_url":"https://codeload.github.com/zimbatm/monkeypatch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Fmonkeypatch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259398479,"owners_count":22851441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T02:01:27.535Z","updated_at":"2025-06-12T04:35:24.266Z","avatar_url":"https://github.com/zimbatm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"= MonkeyPatch\n\n*WARNING: This is alpha code, the API is not stable yet.*\n\n  \u003cINSERT NICE INTRO HERE\u003e\n\n  Do you monkeys, patch ? If so, use this library, you won't regret it.\n\n  Why use a library when you could do all this by hand ? For two reasons:\n\n  1. We provide the mechanism to protect from patch collision\n  2. By including this gem as dependency, you declare your project is\n     monkeypatching.\n\n  \u003c/INSERT NICE INTRO HERE\u003e\n\nAuthors:: [ zimbatm \u003czimbatm@oree.ch\u003e ]\n\n== Getting started\n\nExample usage:\n\n  :include:example/patch_usage.rb\n\nLook at the MonkeyPatch module to get an idea of the API.\n\nOnce you have a patch object, look at the MonkeyPatch::Patch definition to know how to use it.\n\n----\n\n==== Related projects\n\n* http://github.com/coderrr/monkey_shield/ : provides sorts of namespaces to avoid patch collision\n\n==== Ideas\n\n* method re-definition or module/class extension could be detected, especially when using Gems. The load-path is not the same between the original definition and the new-one.\n* load-path as namespace\n\n==== TODO\n\n* Rework the documentation\n* Add reason string\n* Add 'monkeywarn' that warns when a monkeypatch is applied\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fmonkeypatch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimbatm%2Fmonkeypatch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Fmonkeypatch/lists"}