Project

unifig-env

0.0
No release in over a year
Adds a provider to support loading environment variables to Unifig.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

~> 0.4.0
 Project Readme

Adds a provider to support loading environment variables to Unifig.

Version Test

Installation

Add it to your Gemfile:

gem 'unifig-env', '~> 0.3.1'

Or install it manually:

$ gem install unifig-env --version '~> 0.3.1'

This project uses Semantic Versioning. Check out GitHub releases for a detailed list of changes.

Usage

Environment

Use env as your provider or add it to your list of providers:

unifig:
  providers: env

HOST:

This will pull "HOST" from ENV and add it to Unifig.

Environment File

Use env-file as your provider or add it to your list of providers:

unifig:
  providers: env-file

By default, it looks for .env in the local directory. The file can be specified by passing file to the configuration.

unifig:
  providers:
    list: env-file
    config:
      env-file:
        file: my.env

Contributing

If you want to contribute to Unifig:Env, please read our contribution guidelines. A complete list of contributors is available on GitHub.

License

Unifig is licensed under the MIT License.