FlexConf is a simple configuration utility that does its job and gets out of your way. It reads settings from a hash or YAML file ('config.yml' by default) but allows overrides from a '*_local.yml' file and from environment variables. Settings can be read as indifferent hash values (config['foo'] or config[:foo]) or method calls (config.foo) with recursive nesting (config.foo.bar). The code is lightweight and fast with no additional dependencies.

Required Ruby Version

None

Authors

Stephen Eley

Versions

  1. 0.2.1 November 06, 2011 (15.5 KB)
  2. 0.2.0 November 04, 2011 (15.5 KB)
  3. 0.1.0 October 28, 2011 (15 KB)

SHA 256 checksum