Version 1.0.1 of configurability has been released.
Configurability is a mixin that allows you to add configurability to one
or
more objects, assign them each a section of the configuration, and then
when
the configuration is loaded, the class is given the section it
requested.
== Project Page
http://bitbucket.org/ged/configurability
== Installation
Via gems:
$ sudo gem install configurability
or from source:
$ wget http://deveiate.org/code/configurability-1.0.1.tar.gz
$ tar -xzvf configurability-1.0.1.tar.gz
$ cd configurability-1.0.1
$ sudo rake install
== Changes
This release adds a configuration object class (Configurability::Config)
which
can load a YAML config file, then present both a recursive struct-like
and a
hash-like interface to config values. It knows when the file it’s read
from
changes, and can reload it (which automatically re-propagates it to the
appropriate objects), as well as write any changes to the object back
out to
disk.
There were also a few bugfixes and documentation updates.