[ruby-announce] [ANN] sys-uptime 0.3.0

Daniel Berger <[email protected]> Sun, 22 Jun 2003 11:17:59 -0600
Newsgroups gmane.comp.lang.ruby.announce
Organization Qwest
Message-ID <[email protected]>
Hi all,

I'm happy to release sys-uptime 0.3.0, a ruby interface that provides 
uptime info.  Now with OS X support!

Synopsis
========
require "sys/uptime"

puts "Uptime (days:hours:minutes:seconds): " + Sys::Uptime.uptime

CHANGES
=======
- Added OS X support - thanks go to Mike Hall for the patch
- Fixed incorrect values in FreeBSD (again Mike Hall)
- Added dhms() method, which is an array of 4 elements: day, hour
   minute, second (again Mike Hall)
- Modified tc_unix.rb test suite to handle OS X, along with a bit
   of minor cleanup
- Removed VERSION class method. Use the constant instead
- Separated FreeBSD/OS X source into its own file (freebsd.c).
   The #ifdefs were starting to get too ugly for me

Enjoy!

Dan