Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

unifig-env

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unifig-env

  • 0.3.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Unifig::Env

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.

FAQs

Package last updated on 19 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc