No commit activity in last 3 years
No release in over 3 years
Used in conjunction with the rack_dwsregistry gem to remotely get and set keys from the XML based registry.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.3, >= 0.3.0
~> 0.2, >= 0.2.1
~> 1.4, >= 1.4.13
 Project Readme

Introducing the remote_dwsregistry gem

To run the following example you would need to run a ?rack_dwsregistry web server http://www.jamesrobertson.eu/snippets/2016/jun/30/introducing-the-rack_dwsregistry-gem.html? on port 9292.

require 'remote_dwsregistry'

rreg = RemoteDwsRegistry.new domain: 'localhost', port: '9292'
rreg.set_key 'app/whiteboard/colour', 'yellow'
#=> <colour>yellow</colour>

rreg.get_key 'app/whiteboard/colour'
#=> <colour>yellow</colour>

The benefit of using the remote_dwsregistry gem instead of the dwsregistry gem is that the XML registry file can be accessed remotely instead of having to ensure access to the local XML registry file.

Resources

remote_dwsregistry dwsregistry remotedwsregistry registry gem