ripienaar/ruby-nagios — pull request #7 by dmytro (2011-12-31 00:58:18+00:00)
Title: Compatibility with Ruby 1.9, additional parser classes

Please see History.txt file in the root directory.

* Sat Dec 31 09:05:48 JST 2011, dmytro
* Started History.txt file
* Added constructor and basic file checks to Nagios::Status,
statusfile parameter now passed to constructor, instead of
parsestatus method.
* Change main script to reflect constructor change
* Alias for :parsestatus -> :parse
* Avoid using eval, use send instead in parsestatus method
* Main script: push '.' into $: for Ruby 1.9
* Main script change forhost to Array instead of String - breaks in
Ruby 1.9

* Sat Dec 31 09:05:48 JST 2011, dmytro
* Parsers for main configuration file (nagios.cfg) and objects cache
file (objects.cache). Two new classes Nagios::Config and
Nagios::Objects.
- Using Nagios::Objects would allow searches for hostgroups,
servicegroups, etc.
* Generic search method for Nagios::Objects class, mimicked after
ActiveRecord find_*_by_* method.
* nagios.rb file to simplify require of all classes.