celluloid/celluloid — pull request #37 by nate (2012-03-27 05:22:21+00:00)
Title: Ensure that UUIDs are unique across the UUID::BLOCK_SIZE boundary

When you reach the end of a block of UUIDs, the UUID generator produces the next value twice.

a = (1..(Celluloid::UUID::BLOCK_SIZE+3)).map{Celluloid::UUID.generate}

puts a.size
puts a[-1]
puts a[-2]
puts a[-3]
puts a[-4]

puts a.inject({}) {|h,v| h[v]=h[v].to_i+1; h}.reject{|k,v| v==1}.keys.inspect