Creates UUIDs version 1, 3, 4, and 5 in pure ruby.
Latest commit 91a92ce Feb 3, 2010 @spectra Fix differences between v3 and v5 generated by ruby and by python.
Since this is not my library, I am not sure why Shyouhei Urabe
(aka mput) masked bytes the way he did, but, for now, I commented out
the proper masking and v3 and v5 should now be equal between python
and ruby (not sure how I can test v1, though). Thanks to, who reported the problem.


I needed a uuid generator for Ruby. There's nothing wrong with current
implementations, I just wanted a simpler one, bundled in a single file (rather
than a gem), that could comply with RFC4122.

I found this charming one using Ruby Struct by Shyouhei Urabe (aka mput),
which is not online anymore (,
unfortunately. I had it in my HD, so I decided to put it back online.

All the credit really goes to mput. I just added a method to set the version
of UUID, since that was missing in the original code. I also intend to
implement version 2, which is also missing.