Add Stacked Configuration Files Feature #60

Open
wants to merge 2 commits into
from

Projects

None yet

2 participants

@moofish32

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
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