{"id":15877791,"url":"https://github.com/zimbatm/relative-require.rb","last_synced_at":"2025-06-10T11:35:35.506Z","repository":{"id":56891672,"uuid":"1116609","full_name":"zimbatm/relative-require.rb","owner":"zimbatm","description":"Relative require to the file loading in ruby","archived":false,"fork":false,"pushed_at":"2023-12-15T14:47:40.000Z","size":5,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-26T12:11:41.876Z","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/zimbatm.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2010-11-27T10:37:21.000Z","updated_at":"2021-09-16T05:01:31.000Z","dependencies_parsed_at":"2023-12-15T15:43:17.958Z","dependency_job_id":"9cad7582-47d4-40cb-bc37-ab43ef1db194","html_url":"https://github.com/zimbatm/relative-require.rb","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"3be82afa59437df0214d7fe390ad2abde42a9ec5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Frelative-require.rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Frelative-require.rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Frelative-require.rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Frelative-require.rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zimbatm","download_url":"https://codeload.github.com/zimbatm/relative-require.rb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zimbatm%2Frelative-require.rb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259067826,"owners_count":22800401,"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:03:46.993Z","updated_at":"2025-06-10T11:35:35.477Z","avatar_url":"https://github.com/zimbatm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"relative-require.rb\n===================\n\nThis module provides relative requires to the requiring file. This should solve\nmost of the uglyness of pushing to $LOAD_PATH and loading #expand_path-ed files.\n\nTested with ruby-1.8.7 and ruby-1.9.2\n\nby Jonas Pfenniger \u003cjonas@pfenniger.name\u003e\n\nExample project\n---------------\n\nThis example shows that you don't have to mess with $LOAD_PATH anymore.\n\n$ export RUBYOPT=-relative-require\n\nlib/\n* myproject.rb\n* myproject/xyz.rb\ntest/\n  test.rb\n\nin myproject.rb\n  require './myproject/xyz.rb'\n\nin test.rb\n  require '../lib/myproject.rb'\n\nLicence\n-------\n\nThis project is under public licence. http://unlicence.org\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Frelative-require.rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzimbatm%2Frelative-require.rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzimbatm%2Frelative-require.rb/lists"}