Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FangioD opened this issue Jun 17, 2022 · 1 comment
Open

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

FangioD opened this issue Jun 17, 2022 · 1 comment

Comments

@FangioD
Copy link

FangioD commented Jun 17, 2022

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
Copy link
Author

FangioD commented Jun 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant