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

Add Stacked Configuration Files Feature #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

moofish32
Copy link

We really liked the simplicity of this gem, but for our use we need the ability to layer configuration settings. Essentially, this allows you to provide an array of config files or hashes (the same as the original work), and uses a deep merge to combine and flatten the configurations. I added a couple of specs and had to use a to_yaml to get the hashes to print out correctly in the error message.

Please let me know if there are any corrections I would need to make if you were going to accept the pull request.

-M

@m5rk
Copy link

m5rk commented Nov 19, 2013

@moofish32 You may be interested in chamber, which supports an arbitrary number of files.

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.

2 participants