<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/test_ipaddr.rb, branch v3_2_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/ipaddr] Fix exception calling `to_range' after `freeze'</title>
<updated>2022-02-10T08:18:05+00:00</updated>
<author>
<name>Espartaco Palma</name>
<email>git@esparta.co</email>
</author>
<published>2021-12-13T09:12:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9b768012f6bf5b5896d2d34feb69605d4ccc9ca3'/>
<id>9b768012f6bf5b5896d2d34feb69605d4ccc9ca3</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/77fe1fca0a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/77fe1fca0a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Ipaddr#native must also coerce `@mask_addr`</title>
<updated>2022-02-10T08:18:05+00:00</updated>
<author>
<name>Jean Boussier</name>
<email>jean.boussier@gmail.com</email>
</author>
<published>2021-12-02T09:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=100253c7f0f4d105ae88340a0314506cde69cfd2'/>
<id>100253c7f0f4d105ae88340a0314506cde69cfd2</id>
<content type='text'>
Before it would be left as an IPv6 mask causing `to_range` to fail.

```
&gt;&gt; IPAddr.new("::2").native.to_range
/opt/rubies/3.0.3/lib/ruby/3.0.0/ipaddr.rb:479:in `set': invalid address (IPAddr::InvalidAddressError)
```

https://github.com/ruby/ipaddr/commit/af485192f3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before it would be left as an IPv6 mask causing `to_range` to fail.

```
&gt;&gt; IPAddr.new("::2").native.to_range
/opt/rubies/3.0.3/lib/ruby/3.0.0/ipaddr.rb:479:in `set': invalid address (IPAddr::InvalidAddressError)
```

https://github.com/ruby/ipaddr/commit/af485192f3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Make IPAddr#include? consider range of argument</title>
<updated>2021-10-11T04:50:54+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-10-31T17:06:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9a321dd9b2fb929873a6b50b41efdf3bd3119536'/>
<id>9a321dd9b2fb929873a6b50b41efdf3bd3119536</id>
<content type='text'>
It would be nice to use Range#cover? here, but it doesn't work
correctly before Ruby 2.6. Switch to manual checks of the beginning
of end of the ranges.

Fixes Ruby Bug 14119

https://github.com/ruby/ipaddr/commit/f45630da31
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It would be nice to use Range#cover? here, but it doesn't work
correctly before Ruby 2.6. Switch to manual checks of the beginning
of end of the ranges.

Fixes Ruby Bug 14119

https://github.com/ruby/ipaddr/commit/f45630da31
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Support zone identifiers in IPv6 addresses</title>
<updated>2021-10-07T09:22:43+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2020-07-13T16:36:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=bd6e1a0f0883dba7b02f30cefe5ebec96d02cb90'/>
<id>bd6e1a0f0883dba7b02f30cefe5ebec96d02cb90</id>
<content type='text'>
These are supported by Ruby's socket library if the operating system
supports zone indentifiers, so they should be supported by ipaddr.
See RFCs 4007 and 6874 for additional information.

Implements Ruby Feature #10911

https://github.com/ruby/ipaddr/commit/09a6408fb2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are supported by Ruby's socket library if the operating system
supports zone indentifiers, so they should be supported by ipaddr.
See RFCs 4007 and 6874 for additional information.

Implements Ruby Feature #10911

https://github.com/ruby/ipaddr/commit/09a6408fb2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Add netmask method that returns net mask as string.</title>
<updated>2021-10-07T09:22:43+00:00</updated>
<author>
<name>Bogdan Irimie</name>
<email>bogdan.irimie@puppet.com</email>
</author>
<published>2019-10-09T10:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=74ed881e109ee2480854f5d47e8ef4a84b0cc1c5'/>
<id>74ed881e109ee2480854f5d47e8ef4a84b0cc1c5</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/283d16f3a3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/283d16f3a3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Disallow leading zeros in mask</title>
<updated>2021-10-07T09:22:43+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-06-05T01:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=abad5e10e80c06f2e756667cd2d7f7d9b6e78ba5'/>
<id>abad5e10e80c06f2e756667cd2d7f7d9b6e78ba5</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/f49d2d49a4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/f49d2d49a4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Raise if extra slashes follow</title>
<updated>2021-10-07T09:22:42+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-05-06T23:39:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=38da84296c0e50c4285d8a8c146af5fc3c8afc7d'/>
<id>38da84296c0e50c4285d8a8c146af5fc3c8afc7d</id>
<content type='text'>
https://bugs.ruby-lang.org/issues/15832

https://github.com/ruby/ipaddr/commit/de9805d6fa
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.ruby-lang.org/issues/15832

https://github.com/ruby/ipaddr/commit/de9805d6fa
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Removing superfluos assingments &amp; return</title>
<updated>2021-10-07T08:46:00+00:00</updated>
<author>
<name>Espartaco Palma</name>
<email>esparta@gmail.com</email>
</author>
<published>2018-10-28T00:13:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b23fba91ae60c71649cb5e5f8b63c87e6a63020f'/>
<id>b23fba91ae60c71649cb5e5f8b63c87e6a63020f</id>
<content type='text'>
Also adding test for ntop

https://github.com/ruby/ipaddr/commit/0ba16cca10
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also adding test for ntop

https://github.com/ruby/ipaddr/commit/0ba16cca10
</pre>
</div>
</content>
</entry>
<entry>
<title>Assert obsolete method warnings in IPAddr</title>
<updated>2019-07-01T04:02:23+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-07-01T04:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6982a9049ede1386fdfa10734f953867824ebe05'/>
<id>6982a9049ede1386fdfa10734f953867824ebe05</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Import ipaddr 1.2.2</title>
<updated>2018-12-18T05:09:08+00:00</updated>
<author>
<name>knu</name>
<email>knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-12-18T05:09:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ab364fb5a8768de14a189a0ba46e3e675e19ccf9'/>
<id>ab364fb5a8768de14a189a0ba46e3e675e19ccf9</id>
<content type='text'>
- Enable frozen_string_literal and do a bit of code cleanup


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Enable frozen_string_literal and do a bit of code cleanup


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
