Hi everyone
Just pushed a few updates to github that brings the following to daemon-kit:
* No longer dependent on the daemons gem, all handled in house
* Flexible command line argument parsing for your daemons
* Some docs (a step in the right direction)
From the top down:
* No more daemons
You'll need to update your existing control scripts manually so that the call to DaemonKit::Application.run is changed to DaemonKit::Application.exec. Failing to do so will result in an argument error when trying to run your daemon. My apologies for the first backward incompatible change, it just needed to be done.
Removing the daemons gem opens the doors for plenty of other cool features that I have planned for the project, and this has been on the cards for some time. Please review and let me know if you miss any 'daemons'-specific features that I can re-implement.
* Flexible command line arguments
This depended on the removal of the daemons gem, and was one of the big reasons to do so. You can review the fresh new rdoc's for more information on configuring your daemons through command line arguments
* Some docs
I've started cleaning up the rdocs as I go along, but there is still plenty of files that need attention, and still plenty of supporting documents that needs to be created. The rdoc's can now be browsed online at
http://kit.rubyforge.org/daemon-kit/rdoc/
I've not published a gem to Rubyforge, and will only do that once I reach a 0.18 or 0.20 release. I need some feedback from everyone regarding this release in any case.
To update:
$ gem install kennethkalmer-daemon-kit -s
http://gems.github.com
- or -
$ git clone git://
github.com/kennethkalmer/daemon-kit$ rake gem
$ gem install pkg/daemon-kit-X.X.X.X.gem
Looking at the next milestones:
* More docs
* Fixing some annoyances with safety nets
* Improved logging (and syslog support)
* More specs for internals
Best
--
Kenneth Kalmer
kenneth...@gmail.com
http://opensourcery.co.za@kennethkalmer