{"id":15660360,"url":"https://github.com/toch/trace_calls","last_synced_at":"2025-06-23T20:03:52.179Z","repository":{"id":59157914,"uuid":"42118617","full_name":"toch/trace_calls","owner":"toch","description":"Trace the whole chain of method calls.","archived":false,"fork":false,"pushed_at":"2015-09-08T14:46:21.000Z","size":128,"stargazers_count":20,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-06T14:46:55.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-08T14:45:27.000Z","updated_at":"2020-09-05T22:28:52.000Z","dependencies_parsed_at":"2022-09-13T20:10:22.419Z","dependency_job_id":null,"html_url":"https://github.com/toch/trace_calls","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/toch/trace_calls","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toch%2Ftrace_calls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toch%2Ftrace_calls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toch%2Ftrace_calls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toch%2Ftrace_calls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toch","download_url":"https://codeload.github.com/toch/trace_calls/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toch%2Ftrace_calls/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261548714,"owners_count":23175490,"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-03T13:21:16.098Z","updated_at":"2025-06-23T20:03:52.151Z","avatar_url":"https://github.com/toch.png","language":"Ruby","readme":"# TraceCalls\n\nTrace the whole chain of method calls.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'trace_calls'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install trace_calls\n\n## Usage\n\n```\nrequire 'open-uri'\nrequire 'trace_calls'\n\nTraceCalls::on do\n  open('http://google.com', proxy: nil)\nend\n\nputs TraceCalls::root\n```\n\nThe result:\n```\n+-Kernel::open\n  +-#\u003cClass:URI\u003e::parse called from Kernel::open at 33\n  | \\-URI::Parser::parse called from #\u003cClass:URI\u003e::parse at 747\n  | | +-URI::Parser::split called from URI::Parser::parse at 211\n  | | +-#\u003cClass:URI\u003e::scheme_list called from URI::Parser::parse at 213\n  | | +-#\u003cClass:URI\u003e::scheme_list called from URI::Parser::parse at 214\n  | | \\-URI::HTTP::initialize called from URI::Parser::parse at 660\n  | | | \\-URI::Generic::initialize called from URI::HTTP::initialize at 84\n  | | | | +-URI::Generic::set_scheme called from URI::Generic::initialize at 203\n  | | | | +-URI::Generic::set_userinfo called from URI::Generic::initialize at 204\n  | | | | | \\-URI::Generic::split_userinfo called from URI::Generic::set_userinfo at 525\n...\n```\n\nIf you want full details, i.e. with the filepath and line, you can use\n\n```\nputs TraceCalls::root.to_s(detailed: true)\n```\n\n## Contributing\n\n1. Fork it ( https://github.com/toch/trace_calls/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoch%2Ftrace_calls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoch%2Ftrace_calls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoch%2Ftrace_calls/lists"}