mu-semtech / project

Issues crossing the whole stack
0 stars 2 forks source link

Update Ruby-templates to support generation of v4 UUIDs #3

Open FangioD opened 2 years ago

FangioD commented 2 years ago

In utils.rb of the Ruby-template, def generate_uuid does not return a v4 UUID. It could be replaced by the function uuid of the module SecureRandom. This would ensure consistency over the different templates.

FangioD commented 2 years ago

Preferably, the UUID should be monotonic, so version 1 would probably also an option.