Implementation of a serialnumber arithmetic as described in rfc1982. Those serialnumbers are used in bind zonefiles for example. The library offers a simple class Serial::RFC1982 which represents a serial number object and a set of operations as defined by the RFC.
The source is currently hosted at https://bitbucket.org/certainty/serialnumber
require 'serialnumber' sn = Serial::RFC1982.new(100) sn2 = sn + 12 sn > sn2