Received: by mail.netbsd.org (Postfix, from userid 605) id 392D584D80; Sat, 11 Feb 2023 13:48:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 690E884D41 for ; Sat, 11 Feb 2023 13:48:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id jSMObpnz6vpc for ; Sat, 11 Feb 2023 13:48:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id C1DAF84D09 for ; Sat, 11 Feb 2023 13:48:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B59DAFA90; Sat, 11 Feb 2023 13:48:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1676123292177410" MIME-Version: 1.0 Date: Sat, 11 Feb 2023 13:48:12 +0000 From: "Takahiro Kambe" Subject: CVS commit: pkgsrc/devel/ruby-zeitwerk To: pkgsrc-changes@NetBSD.org Reply-To: taca@netbsd.org X-Mailer: log_accum Message-Id: <20230211134812.B59DAFA90@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1676123292177410 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: taca Date: Sat Feb 11 13:48:12 UTC 2023 Modified Files: pkgsrc/devel/ruby-zeitwerk: Makefile distinfo Log Message: devel/ruby-zeitwerk: update to 2.6.7 2.6.7 (2023-02-10) * Reset module state on Zeitwerk::NameError. If an autoload is triggered, the file is loaded successfully, but the expected constant does not get defined, Ruby resets the state of the module. In particular, autoload? returns nil for that constant name, and constants does not include the constant name (starting with Ruby 3.1). Zeitwerk is more strict, not defining the expected constant is an error condition and the loader raises Zeitwerk::NameError. But this happens during the require call and the exception prevents Ruby from doing that cleanup. With this change, the parent module is left in a state that makes more sense and is consistent with what Ruby does. * A message is logged if an autoload did not define the expected constant. When that happens, Zeitwerk::NameError is raised and you normally see the exception. But if the error is shallowed, and you are inspecting the logs to investigate something, this new message may be helpful. * By default, Zeitwerk::Loader#dirs filters ignored root directories out. Please, pass ignored: true if you want them included. It is very strange to configure a root directory and also ignore it, the edge case is supported only for completeness. However, in that case, client code listing root directories rarely needs the ignored ones. * Documentation improvements. * Enforcement of private interfaces continues with another gradual patch. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/ruby-zeitwerk/Makefile cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ruby-zeitwerk/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1676123292177410 Content-Disposition: inline Content-Length: 1526 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/ruby-zeitwerk/Makefile diff -u pkgsrc/devel/ruby-zeitwerk/Makefile:1.9 pkgsrc/devel/ruby-zeitwerk/Makefile:1.10 --- pkgsrc/devel/ruby-zeitwerk/Makefile:1.9 Wed Nov 30 14:31:41 2022 +++ pkgsrc/devel/ruby-zeitwerk/Makefile Sat Feb 11 13:48:12 2023 @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.9 2022/11/30 14:31:41 taca Exp $ +# $NetBSD: Makefile,v 1.10 2023/02/11 13:48:12 taca Exp $ -DISTNAME= zeitwerk-2.6.6 +DISTNAME= zeitwerk-2.6.7 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org Index: pkgsrc/devel/ruby-zeitwerk/distinfo diff -u pkgsrc/devel/ruby-zeitwerk/distinfo:1.11 pkgsrc/devel/ruby-zeitwerk/distinfo:1.12 --- pkgsrc/devel/ruby-zeitwerk/distinfo:1.11 Wed Nov 30 14:31:41 2022 +++ pkgsrc/devel/ruby-zeitwerk/distinfo Sat Feb 11 13:48:12 2023 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.11 2022/11/30 14:31:41 taca Exp $ +$NetBSD: distinfo,v 1.12 2023/02/11 13:48:12 taca Exp $ -BLAKE2s (zeitwerk-2.6.6.gem) = 7e00cfea30e805fceee2b03fd8a4425f76e3e5b8d17c6c520db189339caa83ee -SHA512 (zeitwerk-2.6.6.gem) = 63dc0d8dec0cddaf278a7eb7d622a576832ab8cd9b8135df6aba1681af4b23f9bdfa47e20f3a0c53d5476e52b6344738cacafdd3562fa19eff07708742355312 -Size (zeitwerk-2.6.6.gem) = 36352 bytes +BLAKE2s (zeitwerk-2.6.7.gem) = 274828f584a9505012d509581132e4d2631829ba385aca1db119394c50993f5b +SHA512 (zeitwerk-2.6.7.gem) = 58abf4296baab1c07c902cd612f92e8178a319cc6d69c854743e089b9444f8c2cdb5e7119d999a56bb95ccd128369cdbaf0125291ab10d9f61283389199f53d3 +Size (zeitwerk-2.6.7.gem) = 36352 bytes --_----------=_1676123292177410--