From: "hsbt (Hiroshi SHIBATA)" Date: 2022-02-07T07:54:45+00:00 Subject: [ruby-core:107495] [Ruby master Bug#18570] Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 Issue #18570 has been updated by hsbt (Hiroshi SHIBATA). Assignee changed from knu (Akinori MUSHA) to naruse (Yui NARUSE) I got the owner grant of ipaddr gem and released ipaddr-1.2.4. @naruse Please merge https://github.com/ruby/ruby/pull/5526 to `ruby_3_1` branch. ---------------------------------------- Bug #18570: Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 https://bugs.ruby-lang.org/issues/18570#change-96402 * Author: dcermak (Dan ��erm��k) * Status: Closed * Priority: Normal * Assignee: naruse (Yui NARUSE) * Backport: 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED ---------------------------------------- For some reason the following code causes an exception with Ruby 3.1: ``` ruby require "ipaddr" ([IPAddr.new("192.168.56.0/21").freeze].freeze).any?{ |range| range.include?(IPAddr.new("192.168.1.0")) } ``` which breaks vagrant with Ruby 3.1. The issue has been fixed via commit 77fe1fca0abb56f7f07725c0a3803d53a315c853. Can you please backport it to 3.1 for a maintenance release? -- https://bugs.ruby-lang.org/ Unsubscribe: