base gem providing infrastructure for specific configuration files models.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
lib/cfa
performance_test
spec
.coveralls.yml
.gitignore
.rubocop.yml
.travis.yml
.yardopts
CHANGELOG
Gemfile
LICENSE
README.md
Rakefile
cfa.gemspec

README.md

CFA - Config Files Api Gem

Code Climate Coverage Status Ruby gem providing a modular and developer friendly way to access and modify configuration files in a system. It's structured in three layers.

The first layer provides access to the file and its content. By default it accesses the local system, but it can be replaced by alternatives to work on a chroot environment, on test data, on a remote machine or any other scenario.

The second layer is the parser, that understands the structure of the configuration files. There are also several possible variants like augeas based, XML parsed by standard ruby library or CVS via cvs specialized library.

The third layer consist on a set of models representing the files to provide more high level actions. Its main purposes are to ensure consistency of the files and to provide high level API for manipulating the files. The models live in their own gems as plugins built on top of this gem.