-
Notifications
You must be signed in to change notification settings - Fork 98
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
Add 'broadcast' method to IPAddress::IPv6 #31
Conversation
Does someone manage this repo ? |
Unfortunately author abandoned this project :( I think community should fork and claim this gem on rubygems. |
Thanks, but only the author commited to the repo so it's not easy to know who could take it over... |
Hello guys, I'm still here. I kind of lost interest in the project when the proposal to On Tue, Sep 3, 2013 at 4:44 PM, Igor Yamolov [email protected]:
|
@bluemonk Not being in the standard library doesn't make your gem useless (I actually prefer chossing y gems than having a fat standard library full of things I don't use). I think the increase is due to the growing need of IPv6 (look at most recent pull requests). |
@bluemonk I think that being part of the stdlib is a neat idea, but having a great gem for working with IPAddresses is really valuable regardless of whether I get it in the standard distribution of ruby. I've been involved in working with ip addresses in ruby extensively before, and we ended up writing a library in C that was a lot lighter and faster which we pulled back into ruby. This library is pretty awesome and I hope you know that even though you haven't released in a number of years, you're getting a lot of downloads. 2,379,792 to be exact. Do you perhaps want a co-maintainer to help? |
I've been using your gem at Salesforce.com, @bluemonk. It's good stuff. Maybe we could organized the interested contributors on this thread into a review team for PRs. Could establish a cadence to incorporate 1-3 PRs a month (or review them at least and ask contributors to tighten/test sections better. I'd be glad to be part of this sort of effort. |
3 years since this PR... some are more than 4 years old. Maybe it's time to allow other people to maintain this gem ? |
Absolutely. I've been given full admin access to this repo to anyone who asked for it. Mike Mackintosh for example. Let me know if you're interested. @francisluong that's a great idea, let me know if you're still on it and I will add you immediately. |
On a side note, there's no broadcast concept in IPv6, which is why the gem is missing that particular method. |
I wouldn't mind contributing. If you can believe it, I hadn't known that there isn't a broadcast address If it's going to spread more confusion to have a broadcast method perhaps -Franco On Monday, March 7, 2016, Marco Ceresa [email protected] wrote:
[=- @francisluong https://twitter.com/FrancisLuong // AKA Franco :: * |
Yes, I'm against a method called broadcast for IPv6, but I don't mind a method with similar functionalities and another name (IPv6#anycast perhaps?). |
Another way would be to define broadcast on both, but have IPv6 raise an exception describing why it is unsupported. This might save a user that isnt as familiar with it some time (and also some duplicate issues being raised). |
There is a similar issue on this, which I was waiting on some sort of feedback before dropping the hammer. It would give insight into the different IPv6 categories:
|
@bluemonk You're absolutely right. I'm actually using this method to get the last address of a network, not for actually broadcasting stuff... I think I've said "broadcast" for the last address for so many years that it became a generic name in my mind... That said, a method to get the last address is still useful, and note that the I can rename the method to |
My concern about review/merge delay was also about my other PR (#60 / "only" 1 year old) and other PRs. I just sent my ping in my older one. As I've seen you've merged a PR recently, I thought it could be time to take a look at the 15 dusty other ones... |
Closing this since since If this features is still desired, maybe adding common |
I agree |
update gem verison to 13
broadcast
method was missing in IPAddress::IPv6.I needed it because I store networks broadcast address in DB (this way I can find network hosts by searching ones between network and broadcast addresses).