[ANN] IPAddress 0.8.0 released

M

Marco Ceresa

Hello,

IPAddress 0.8.0 has been released. Many new IPv6 methods, some API
changes and bug fixes.

Changes:
* Removed extension methods and extension directory to facilitate
integration with the stdlib
* Reworked IPv4#<=>, now intuitively sorts objects based on the prefix
* IPv4#supernet now returns "0.0.0.0/0" if supernetting with a prefix
less than 1
* IPv4#subnet now accept a new prefix instead of number of subnets (as
per RFC3531)

New methods:

* IPv6#network
* Prefix128#host_prefix
* IPv6#broadcast_u128
* IPv6#each
* IPv6#<=>
* IPv4#split

For those interested, there is a proposal to replace IPAddr with
IPAddress in the standard library. The discussion can be found here
[1]. I would be interested in your opinion.

Enjoy this new release and come back to me for any question/comment/issue.

Best regards,
Marco

[1] http://redmine.ruby-lang.org/issues/4569
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top