RubyGems.org

LayeredYAMLConfig provides a simple config file that supports multiple layers. Values in the right or uppermost layers override values in lower layers. This makes it easy to share configuration without duplication while still allowing what needs to be different to vary. For example: program.default.conf program.server_foo.conf program.site_bar.conf program.conf Optionally, leaf nodes can be evaluated using as ERB templates, feeding the configuration into itself.

installgem install layeredyamlconfig
Authors

James FitzGibbon

923 total downloads 509 for this version
Owners

B32bae7b4570889972244b726eac6b0e

Licenses

MIT

Gemfile
gem 'layeredyamlconfig', '~> 1.4.4'
Versions
  1. 1.4.4 September 24, 2013 (13.5 KB)
  2. 1.4.3 September 22, 2013 (12.5 KB)