Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dotenviable: Load env into another hash #13

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

rgalanakis
Copy link
Member

If Dotenviable.load(env:) is passed, load all config into env, not just the port and rack_env.

Allows loading of alternative environments,
usually needed only for testing, but sometimes in other situations (like loading development database urls from a test environment).

If `Dotenviable.load(env:)` is passed, load all config into `env`,
not just the port and rack_env.

Allows loading of alternative environments,
usually needed only for testing, but sometimes in other
situations (like loading development database urls
from a test environment).
@rgalanakis rgalanakis merged commit a8b3292 into main Apr 15, 2024
9 checks passed
@rgalanakis rgalanakis deleted the dotenv-load-env branch September 2, 2024 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant