0.0
Low commit activity in last 3 years
No release in over a year
An XML registry which stores the Ruby data type as well as the value
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.5, >= 0.5.0
~> 0.8, >= 0.8.0
 Project Readme

Introducing the dws-registry gem

The dws-registry is built upon the xml-registry gem, and is designed to automatically save the file after every set_key, delete_key, or import operation.

Example

require 'dws-registry'

reg = DWSRegistry.new 'fun.xml'
reg.to_xml
#=> "<?xml version='1.0' encoding='UTF-8'?>\n<root></root>"
reg.set_key 'subscriber/niko', 'druby://niko:353524'
reg.to_xml
#=> "<?xml version='1.0' encoding='UTF-8'?>\n<root><subscriber><niko>druby://niko:353524</niko></subscriber></root>"

When I exited the IRB session I observed the 'fun.xml' file which contained the XML from the above.

Resources

dwsregistry gem xml registry