Project

uuidee

0.0
No commit activity in last 3 years
No release in over 3 years
Bundle friendly pure ruby UUID generator supporting v1, v3, v4, v5
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

 Project Readme

Uuidee

I could not find a pure ruby uuid gem that supported UUID v3, v4, and v5, and was bundle-friendly. Please let me know if you see one!

Pseudo-forked from https://github.com/spectra/ruby-uuid, all credit to Pablo Lorenzoni/Shyouhei Urabe.

Original README from spectra (Pablo Lorenzoni)

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 (http://raa.ruby-lang.org/project/ruby-uuid/), 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.