vadv/zabbixapi — pull request #6 by hairmare (2012-12-11 20:30:25+00:00)
Title: ruby 18 support?

I'm trying to use this gem to write a puppet module. Puppet only supports ruby 1.8 and so far I only needed to make one small change for this to work.

This uses rand() instead of Random.rand().

Also, this mostly worked when i tried it against a Zabbix 2 instance. I haven't done thorough testing though.