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

Ruby port #2

Closed
iyshannon opened this issue Oct 28, 2012 · 5 comments
Closed

Ruby port #2

iyshannon opened this issue Oct 28, 2012 · 5 comments

Comments

@iyshannon
Copy link

Hey,

I liked your cuid project so I ported it to Ruby, you can see it here: http://github.com/iyshannon/cuid.

Please check it out and let me know what you think, I haven't published it to RubyGems yet as I wanted to get your OK before doing so.

Thanks,
Ian

@ericelliott
Copy link
Collaborator

Did this ever get published to Ruby gems? =)

@iyshannon
Copy link
Author

Ah, thanks for reminding me. Got a bit sidetracked! I'll publish it this
week. I looked in to the process ID thing (whether it would work on other
platforms) and the platform issue comes up when trying to start external
processes, not with returning the current process ID, so that's not an
issue.

On Fri, Dec 7, 2012 at 2:07 AM, Eric Elliott notifications@github.comwrote:

Did this ever get published to Ruby gems? =)


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-11121002.

@ericelliott
Copy link
Collaborator

Oh, that's great news! BTW, I recently published http://usecuid.org/ - Check it out, and spread the word.

@iyshannon
Copy link
Author

Just published the gem: https://rubygems.org/gems/cuid

I updated my README to link to your new site and added some bits that you had in yours. Also added an option to use a more secure random number generator on the newer versions of Ruby, but it's optional and off by default because it increases run time by 2.5 times. My test script generates 600,000 cuids and the default method takes ~8 seconds while the secure method takes ~20 seconds.

I put my documentation on Github Pages; it's not accessible yet but it said it may take 10 minutes to show up.

@ericelliott
Copy link
Collaborator

Thanks for the heads up. Looks great!

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

2 participants