From: "naruse (Yui NARUSE)" Date: 2022-02-07T15:14:52+00:00 Subject: [ruby-core:107502] [Ruby master Bug#18570] Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 Issue #18570 has been updated by naruse (Yui NARUSE). Backport changed from 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: REQUIRED to 2.6: DONTNEED, 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONE ruby_3_1 73159727ed88a8f739038984c847bb7313336450. ---------------------------------------- Bug #18570: Please Backport 77fe1fca0abb56f7f07725c0a3803d53a315c853 from the ipaddr gem to Ruby 3.1 https://bugs.ruby-lang.org/issues/18570#change-96408 * 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: DONE ---------------------------------------- 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: