Identifier

A Ruby unique identifier generate

View the Project on GitHub ksylvest/identifier

Identifier

Identifier is a Ruby universally unique identifier generator that attempts to use the UNIX, Linux and Macintosh library 'uuid'.

Requirements

The gem is tested with:

Installation

gem install identifier

Examples

Identifier.generate # "CFAA3C87-38C1-4357-8FA2-D862780736AE"

Performance

Identifier  2.628164 seconds for 100,000 generations
GUID       15.755870 seconds for 100,000 generations
UUID       10.987766 seconds for 100,000 generations

Copyright

Copyright (c) 2010 - 2012 Kevin Sylvestre. See LICENSE for details.