<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/test_ipaddr.rb, branch v4.0.4</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 InvalidAddressError message</title>
<updated>2025-10-17T05:11:36+00:00</updated>
<author>
<name>ishikawa999</name>
<email>remember929@gmail.com</email>
</author>
<published>2024-04-27T07:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ff6bd7fb4ef54b6963b5a09f2e09e3dd0d9d7156'/>
<id>ff6bd7fb4ef54b6963b5a09f2e09e3dd0d9d7156</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/c96dbadee3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/c96dbadee3
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Remove warning by asserting its presence</title>
<updated>2025-10-01T00:49:12+00:00</updated>
<author>
<name>Étienne Barrié</name>
<email>etienne.barrie@gmail.com</email>
</author>
<published>2025-09-30T15:35:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3eda2493ef00a684a1876309b1c1f95455e967fb'/>
<id>3eda2493ef00a684a1876309b1c1f95455e967fb</id>
<content type='text'>
	$ rake test &gt;/dev/null
	/tmp/test/test_ipaddr.rb:202: warning: IPAddr#ipv4_compat is obsolete

https://github.com/ruby/ipaddr/commit/31d62407c2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	$ rake test &gt;/dev/null
	/tmp/test/test_ipaddr.rb:202: warning: IPAddr#ipv4_compat is obsolete

https://github.com/ruby/ipaddr/commit/31d62407c2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Fix `#ipv4_compat` returning invalid prefix</title>
<updated>2025-09-26T23:25:25+00:00</updated>
<author>
<name>Taketo Takashima</name>
<email>t.taketo1113@gmail.com</email>
</author>
<published>2025-09-26T16:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=feb9114a53ae1d1231bb9c405b1f443a74cf8ff4'/>
<id>feb9114a53ae1d1231bb9c405b1f443a74cf8ff4</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/7c85bb8dfd

Co-authored-by: Tietew &lt;tietew@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/7c85bb8dfd

Co-authored-by: Tietew &lt;tietew@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Added IPAddr#+/-</title>
<updated>2025-04-26T11:56:42+00:00</updated>
<author>
<name>Taketo Takashima</name>
<email>t.taketo1113@gmail.com</email>
</author>
<published>2024-08-07T10:18:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=687bd837244309fa293d6e08d0e13a662fce3a83'/>
<id>687bd837244309fa293d6e08d0e13a662fce3a83</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/78b4f53bf5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/78b4f53bf5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Added to_json/as_json method</title>
<updated>2024-10-18T15:00:37+00:00</updated>
<author>
<name>Taketo Takashima</name>
<email>t.taketo1113@gmail.com</email>
</author>
<published>2023-11-16T08:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb8cf1d60e4436bfebf52fbf4342ee6e5e18ba05'/>
<id>eb8cf1d60e4436bfebf52fbf4342ee6e5e18ba05</id>
<content type='text'>
Updated to use cidr method when return address with prefix in #as_json

https://github.com/ruby/ipaddr/commit/cf8181d53e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updated to use cidr method when return address with prefix in #as_json

https://github.com/ruby/ipaddr/commit/cf8181d53e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notation</title>
<updated>2024-04-18T01:27:19+00:00</updated>
<author>
<name>Ben Fritsch</name>
<email>beanie@benle.de</email>
</author>
<published>2020-04-03T14:48:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6ac8f6a10eb011147a6cdaf4cf4154c41a7d9080'/>
<id>6ac8f6a10eb011147a6cdaf4cf4154c41a7d9080</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/f5b006741f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/f5b006741f
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Added IPAddr#wildcard_mask</title>
<updated>2024-04-10T10:30:53+00:00</updated>
<author>
<name>Taketo Takashima</name>
<email>t.taketo1113@gmail.com</email>
</author>
<published>2022-08-08T15:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f9f25d0ed001ae7c7a335c32fb3c5f0895709b9b'/>
<id>f9f25d0ed001ae7c7a335c32fb3c5f0895709b9b</id>
<content type='text'>
https://github.com/ruby/ipaddr/commit/2093cebc1d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/ipaddr/commit/2093cebc1d
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Consider IPv4-mapped IPv6 addresses link local/loopback if IPV4 address is private</title>
<updated>2023-12-25T12:12:49+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2023-12-16T12:58:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86fa418dea646e52929b9df9163902c4728442d1'/>
<id>86fa418dea646e52929b9df9163902c4728442d1</id>
<content type='text'>
Same as #57

https://github.com/ruby/ipaddr/commit/d56acecb80
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Same as #57

https://github.com/ruby/ipaddr/commit/d56acecb80
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] ntop: Measure address size in bytes</title>
<updated>2023-12-25T12:12:49+00:00</updated>
<author>
<name>Kasumi Hanazuki</name>
<email>kasumi@rollingapple.net</email>
</author>
<published>2023-11-27T04:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=eb53131367d6e1d3da16b0cd6bc44284ea3589ea'/>
<id>eb53131367d6e1d3da16b0cd6bc44284ea3589ea</id>
<content type='text'>
`IPAddr.ntop` takes the binary representation of an IP address, whose
length should be 4 or 16 *bytes* (not characters/codepoints).

The current implementation accepts strings in any encoding, but for
some values in non-BINARY encoding, it fails proper length check and
raises an `AddressFamilyError`. Since passing strings in a multibyte
encoding has never worked correctly for years, this patch makes it an
explicit error with an `InvalidAddressError`.

Fixes: https://github.com/ruby/ipaddr/issues/56

https://github.com/ruby/ipaddr/commit/a33fd14d4a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`IPAddr.ntop` takes the binary representation of an IP address, whose
length should be 4 or 16 *bytes* (not characters/codepoints).

The current implementation accepts strings in any encoding, but for
some values in non-BINARY encoding, it fails proper length check and
raises an `AddressFamilyError`. Since passing strings in a multibyte
encoding has never worked correctly for years, this patch makes it an
explicit error with an `InvalidAddressError`.

Fixes: https://github.com/ruby/ipaddr/issues/56

https://github.com/ruby/ipaddr/commit/a33fd14d4a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/ipaddr] Consider IPv4-mapped IPv6 addresses private if IPv4 address is private</title>
<updated>2023-06-22T16:40:46+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2023-06-22T16:11:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=de51a4a13eab2c4c5917de923edde33dfed6f22f'/>
<id>de51a4a13eab2c4c5917de923edde33dfed6f22f</id>
<content type='text'>
Fixes [Bug #19479]

https://github.com/ruby/ipaddr/commit/7faa0768d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #19479]

https://github.com/ruby/ipaddr/commit/7faa0768d3
</pre>
</div>
</content>
</entry>
</feed>
