0.0
Low commit activity in last 3 years
No release in over a year
Runs within a DRb server to run RSF jobs, as well as other services.
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.1
~> 0.5, >= 0.5.0
 Project Readme

Introducing the RSF_services gem

The RSF_services gem provides a convenient way to run a Ruby Script File (RSF) related service as well as adhoc jobs. When a new RSFServices object is initialized it reads the XML registry to run the jobs which are present within the system/startup section.

installation

gem install rsf_services

Example

require 'rsf_services'

rs = RSFServices.new '/tmp/registry.xml'

file: /tmp/registry.xml

<?xml version='1.0' encoding='UTF-8'?>
<root>
  <system>
    <startup>
      <r2>
        <load>1</load>
      </r2>
    </startup>
    <packages>
      <r2>
        <url>http://a0.jamesrobertson.eu/qbx/r/dandelion_a2/r2.rsf</url>
      </r2>
    </packages>
  </system>
</root>

RSF package: http://a0.jamesrobertson.eu/qbx/r/dandelion_a2/r2.rsf

<package>
  <job id='load'>  
    <script>      
      'params.inspect'
    </script>  
  </job>
</package>    

Resources

rsf_services gem