{"id":15755360,"url":"https://github.com/hmarr/monkey_hunter","last_synced_at":"2025-03-31T08:16:28.161Z","repository":{"id":34383144,"uuid":"38309763","full_name":"hmarr/monkey_hunter","owner":"hmarr","description":"Find out what a Ruby library monkey patches","archived":false,"fork":false,"pushed_at":"2015-06-30T13:08:36.000Z","size":100,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-06T12:33:04.909Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hmarr.png","metadata":{"files":{"readme":"README.md","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":"2015-06-30T13:08:22.000Z","updated_at":"2022-11-13T18:22:26.000Z","dependencies_parsed_at":"2022-09-14T04:41:10.566Z","dependency_job_id":null,"html_url":"https://github.com/hmarr/monkey_hunter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fmonkey_hunter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fmonkey_hunter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fmonkey_hunter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fmonkey_hunter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmarr","download_url":"https://codeload.github.com/hmarr/monkey_hunter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246436380,"owners_count":20776995,"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-04T08:21:31.878Z","updated_at":"2025-03-31T08:16:28.140Z","avatar_url":"https://github.com/hmarr.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monkey Hunter\n\nFind out what a Ruby library monkey patches.\n\n## Usage\n\nRun `monkey-hunter` followed by the name of a local gem you want to inspect.\n\n```shell\n$ monkey-hunter wasabi\nI, [2014-12-31T17:35:05.065213 #92062]  INFO -- : Loading the ruby standard library\nI, [2014-12-31T17:35:05.370915 #92062]  INFO -- : Loading httpi\nI, [2014-12-31T17:35:05.433993 #92062]  INFO -- : Loading nokogiri\nI, [2014-12-31T17:35:05.530610 #92062]  INFO -- : Taking initial snapshot\nI, [2014-12-31T17:35:06.736542 #92062]  INFO -- : Loading wasabi\nI, [2014-12-31T17:35:06.746281 #92062]  INFO -- : Taking final snapshot\n\nString\n  #snakecase()\n    (from Wasabi::CoreExt::String)\n\n```\n\n## How it works\n\n1. Load the entire Ruby standard library\n2. Load all dependencies of the library in question (e.g. for 'wasabi', load\n   'httpi' and 'nokogiri')\n3. Loop through every class and module in the Ruby VM (using the ObjectSpace\n   module), and make a record of the instance methods, singleton methods, and\n   constants\n4. Load the library in question (in the example above, 'wasabi')\n5. Repeat step 3, taking another snapshot of the object graph\n6. Diff the two object graph snapshots\n7. Report what has changed!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fmonkey_hunter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmarr%2Fmonkey_hunter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fmonkey_hunter/lists"}