{"id":17091308,"url":"https://github.com/aaronlasseigne/unifig-env","last_synced_at":"2025-09-03T18:33:59.835Z","repository":{"id":50626374,"uuid":"516586722","full_name":"AaronLasseigne/unifig-env","owner":"AaronLasseigne","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-30T22:48:51.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-31T15:44:49.252Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AaronLasseigne.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-22T02:42:47.000Z","updated_at":"2022-07-24T03:13:32.000Z","dependencies_parsed_at":"2023-01-31T17:00:43.718Z","dependency_job_id":null,"html_url":"https://github.com/AaronLasseigne/unifig-env","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/AaronLasseigne/unifig-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronLasseigne%2Funifig-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronLasseigne%2Funifig-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronLasseigne%2Funifig-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronLasseigne%2Funifig-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AaronLasseigne","download_url":"https://codeload.github.com/AaronLasseigne/unifig-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AaronLasseigne%2Funifig-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273490413,"owners_count":25115142,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-14T13:58:13.501Z","updated_at":"2025-09-03T18:33:59.812Z","avatar_url":"https://github.com/AaronLasseigne.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Unifig::Env][]\n\nAdds a provider to support loading environment variables to [Unifig][].\n\n[![Version](https://img.shields.io/gem/v/unifig-env.svg?style=flat-square)](https://rubygems.org/gems/unifig-env)\n[![Test](https://img.shields.io/github/actions/workflow/status/AaronLasseigne/unifig-env/test.yml?label=Test\u0026style=flat-square\u0026branch=main)](https://github.com/AaronLasseigne/unifig-env/actions?query=workflow%3ATest)\n\n## Installation\n\nAdd it to your Gemfile:\n\n``` rb\ngem 'unifig-env', '~\u003e 0.3.1'\n```\n\nOr install it manually:\n\n``` sh\n$ gem install unifig-env --version '~\u003e 0.3.1'\n```\n\nThis project uses [Semantic Versioning][].\nCheck out [GitHub releases][] for a detailed list of changes.\n\n## Usage\n\n### Environment\n\nUse `env` as your provider or add it to your list of providers:\n\n``` yml\nunifig:\n  providers: env\n\nHOST:\n```\n\nThis will pull `\"HOST\"` from `ENV` and add it to Unifig.\n\n### Environment File\n\nUse `env-file` as your provider or add it to your list of providers:\n\n``` yml\nunifig:\n  providers: env-file\n```\n\nBy default, it looks for `.env` in the local directory.\nThe file can be specified by passing `file` to the configuration.\n\n``` yml\nunifig:\n  providers:\n    list: env-file\n    config:\n      env-file:\n        file: my.env\n```\n\n## Contributing\n\nIf you want to contribute to Unifig:Env, please read [our contribution guidelines][].\nA [complete list of contributors][] is available on GitHub.\n\n## License\n\nUnifig is licensed under [the MIT License][].\n\n[Unifig::Env]: https://github.com/AaronLasseigne/unifig-env\n[Unifig]: https://github.com/AaronLasseigne/unifig\n[Semantic Versioning]: http://semver.org/spec/v2.0.0.html\n[GitHub releases]: https://github.com/AaronLasseigne/unifig-env/releases\n[our contribution guidelines]: CONTRIBUTING.md\n[complete list of contributors]: https://github.com/AaronLasseigne/unifig-env/graphs/contributors\n[the MIT License]: LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronlasseigne%2Funifig-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronlasseigne%2Funifig-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronlasseigne%2Funifig-env/lists"}