#36 added back #alphanumeric keyword arg for characters. But #uuid_v7 (and the #uuid_v4 alias) are still missing:
With ruby 3.2.6 and securerandom 0.3.2:
$ rbenv shell 3.2.6
$ gem install securerandom -v0.3.2Fetching securerandom-0.3.2.gemSuccessfully installed securerandom-0.3.2Parsing documentation for securerandom-0.3.2Installing ri documentation for securerandom-0.3.2Done installing documentation for securerandom after 0 seconds1 gem installed
$ ruby -rsecurerandom -e "puts SecureRandom.uuid_v7; puts SecureRandom.uuid_v4"0193e518-54a6-7e66-ab61-99adfce68788fb00fada-2414-4f60-8c54-97d30f22f536
With ruby 3.2.6 and securerandom 0.4.1:
$ rbenv shell 3.2.6
$ gem install securerandom -v0.4.1Fetching securerandom-0.4.1.gemSuccessfully installed securerandom-0.4.1Parsing documentation for securerandom-0.4.1Installing ri documentation for securerandom-0.4.1Done installing documentation for securerandom after 0 seconds1 gem installed
$ ruby -rsecurerandom -e "puts SecureRandom.uuid_v7"-e:1:in `<main>': undefined method `uuid_v7' for SecureRandom:Module (NoMethodError)puts SecureRandom.uuid_v7 ^^^^^^^^Did you mean? uuid
$ ruby -rsecurerandom -e "puts SecureRandom.uuid_v4"-e:1:in `<main>': undefined method `uuid_v4' for SecureRandom:Module (NoMethodError)puts SecureRandom.uuid_v4 ^^^^^^^^Did you mean? uuid
#36 added back
#alphanumerickeyword arg forcharacters. But#uuid_v7(and the#uuid_v4alias) are still missing:With ruby 3.2.6 and securerandom 0.3.2:
With ruby 3.2.6 and securerandom 0.4.1: