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

Gem release #11

Closed
headius opened this issue Mar 9, 2020 · 5 comments
Closed

Gem release #11

headius opened this issue Mar 9, 2020 · 5 comments
Assignees

Comments

@headius
Copy link

headius commented Mar 9, 2020

This issue is a placeholder for getting a gem released.

We are currently working on jruby/jruby#5576, which has as a goal to get all default gems set up the same way as CRuby. I understand that the prime name on rubygems.org is not available, so there's some question about how to get a released gem. However if there's no released gem, then prime can not be a default gem library.

To understand the conundrum in JRuby: we do not populate our repository with copies of any default gems. Once a gem moves to default, we delete it from our repository and source it from the gem at build time. That can't happen for prime (or for matrix or ostruct) until the appropriate bits are in a gem form.

I have reverted the default gemification of prime and other libraries as part of work on jrubyjruby#5576. Once the gems are out there, I can flip them back.

@hsbt hsbt self-assigned this Mar 9, 2020
@marcandre
Copy link
Member

marcandre commented Mar 10, 2020

Why can't we take control of the prime gem? It's got 2k downloads, is 23 loc and features two methods: Prime.prime?(n) and Prime.primes(start, number_of_primes). If we are truly worried about compatibility, we could simply copy the interface (i.e. add Prime.primes)

@hsbt
Copy link
Member

hsbt commented Mar 10, 2020

There is no response from the current name holder of prime gem for transferring request by me.

You can confirm it.

$ curl https://rubygems.org/api/v1/gems/prime/owners.json
[{"id":58848,"handle":"slmnwise","email":"slmnwise@gmail.com"}]

I try to take over it without the approval of the current name-holder by rubygems admin.

@hsbt
Copy link
Member

hsbt commented Mar 13, 2020

Finally, I got the namespace of prime

@hsbt
Copy link
Member

hsbt commented Apr 7, 2020

@headius I released prime-0.1.0 same as Ruby 2.6 version.

https://rubygems.org/gems/prime

ref. ruby/tracer#1 (comment)

@hsbt hsbt closed this as completed Apr 7, 2020
@headius
Copy link
Author

headius commented Apr 7, 2020

@hsbt Thank you sir!

headius added a commit to jruby/jruby that referenced this issue Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants