devel/ruby-zeitwerk: update to 2.6.6 2.6.2 (2022-10-31) * Zeitwerk::Loader#load_file allows you to load an individual Ruby file. Check its documentation for details. * Zeitwerk::Loader#eager_load_dir allows you to eager load a directory, recursively. Check its documentation for details. * Zeitwerk::Loader#eager_load_namespace allows you to eager a namespace, recursively. Namespaces are global, this method loads only what the receiver manages from that namespace, if anything. Check its documentation for details. * Zeitwerk::Loader.eager_load_namespace broadcasts eager_load_namespace to all registered loaders. Check its documentation for details. * Documents shadowed files. They always existed, but were not covered by the documentation. * Other assorted documentation improvements. 2.6.3 (2022-10-31) * v2.6.2 introduced a regression in the logic that checks whether two loaders want to manage the same root directories. It has been fixed. 2.6.4 (2022-11-01) Ruby does not have gem-level visibility, so sometimes you need things to be public for them to be accessible internally. But they do not belong to the public interface of the gem. A method that is undocumented and marked as @private in the source code is clearly private API, regardless of its formal Ruby visibility. This release starts a series of gradual patches in which private interface is enforced with stricter formal visibility. 2.6.5 (2022-11-06) * Controlled errors in a couple of situations: o Attempting to eager load or reload without previously invoking setup now raises Zeitwerk::SetupRequired. o The method Zeitwerk::Loader#push_dir raises Zeitwerk::Error if it gets an anonymous custom namespace. * These should be backwards compatible, because they raise in circumstances that didn't work anyway. The goal here is to provide a meaningful error upfront. * Enforcement of private interfaces continues with another gradual patch. 2.6.6 (2022-11-08) * The new eager_load_namespace had a bug when eager loading certain namespaces with collapsed directories. This has been fixed.diff -r1.8 -r1.9 pkgsrc/devel/ruby-zeitwerk/Makefile
(taca)
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | # $NetBSD: Makefile,v 1.8 2022/10/09 07:37:47 taca Exp $ | 1 | # $NetBSD: Makefile,v 1.9 2022/11/30 14:31:41 taca Exp $ | |
2 | 2 | |||
3 | DISTNAME= zeitwerk-2.6.1 | 3 | DISTNAME= zeitwerk-2.6.6 | |
4 | CATEGORIES= devel | 4 | CATEGORIES= devel | |
5 | 5 | |||
6 | MAINTAINER= pkgsrc-users@NetBSD.org | 6 | MAINTAINER= pkgsrc-users@NetBSD.org | |
7 | HOMEPAGE= https://github.com/fxn/zeitwerk | 7 | HOMEPAGE= https://github.com/fxn/zeitwerk | |
8 | COMMENT= Efficient and thread-safe constant autoloader | 8 | COMMENT= Efficient and thread-safe constant autoloader | |
9 | LICENSE= mit | 9 | LICENSE= mit | |
10 | 10 | |||
11 | USE_LANGUAGES= # none | 11 | USE_LANGUAGES= # none | |
12 | 12 | |||
13 | .include "../../lang/ruby/gem.mk" | 13 | .include "../../lang/ruby/gem.mk" | |
14 | .include "../../mk/bsd.pkg.mk" | 14 | .include "../../mk/bsd.pkg.mk" |
@@ -1,19 +1,21 @@ | @@ -1,19 +1,21 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2022/08/26 14:55:20 taca Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2022/11/30 14:31:41 taca Exp $ | |
2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | 2 | ${GEM_HOME}/cache/${GEM_NAME}.gem | |
3 | ${GEM_LIBDIR}/MIT-LICENSE | 3 | ${GEM_LIBDIR}/MIT-LICENSE | |
4 | ${GEM_LIBDIR}/README.md | 4 | ${GEM_LIBDIR}/README.md | |
5 | ${GEM_LIBDIR}/lib/zeitwerk.rb | 5 | ${GEM_LIBDIR}/lib/zeitwerk.rb | |
6 | ${GEM_LIBDIR}/lib/zeitwerk/error.rb | 6 | ${GEM_LIBDIR}/lib/zeitwerk/error.rb | |
7 | ${GEM_LIBDIR}/lib/zeitwerk/explicit_namespace.rb | 7 | ${GEM_LIBDIR}/lib/zeitwerk/explicit_namespace.rb | |
8 | ${GEM_LIBDIR}/lib/zeitwerk/gem_inflector.rb | 8 | ${GEM_LIBDIR}/lib/zeitwerk/gem_inflector.rb | |
9 | ${GEM_LIBDIR}/lib/zeitwerk/gem_loader.rb | 9 | ${GEM_LIBDIR}/lib/zeitwerk/gem_loader.rb | |
10 | ${GEM_LIBDIR}/lib/zeitwerk/inflector.rb | 10 | ${GEM_LIBDIR}/lib/zeitwerk/inflector.rb | |
11 | ${GEM_LIBDIR}/lib/zeitwerk/internal.rb | |||
11 | ${GEM_LIBDIR}/lib/zeitwerk/kernel.rb | 12 | ${GEM_LIBDIR}/lib/zeitwerk/kernel.rb | |
12 | ${GEM_LIBDIR}/lib/zeitwerk/loader.rb | 13 | ${GEM_LIBDIR}/lib/zeitwerk/loader.rb | |
13 | ${GEM_LIBDIR}/lib/zeitwerk/loader/callbacks.rb | 14 | ${GEM_LIBDIR}/lib/zeitwerk/loader/callbacks.rb | |
14 | ${GEM_LIBDIR}/lib/zeitwerk/loader/config.rb | 15 | ${GEM_LIBDIR}/lib/zeitwerk/loader/config.rb | |
16 | ${GEM_LIBDIR}/lib/zeitwerk/loader/eager_load.rb | |||
15 | ${GEM_LIBDIR}/lib/zeitwerk/loader/helpers.rb | 17 | ${GEM_LIBDIR}/lib/zeitwerk/loader/helpers.rb | |
16 | ${GEM_LIBDIR}/lib/zeitwerk/real_mod_name.rb | 18 | ${GEM_LIBDIR}/lib/zeitwerk/real_mod_name.rb | |
17 | ${GEM_LIBDIR}/lib/zeitwerk/registry.rb | 19 | ${GEM_LIBDIR}/lib/zeitwerk/registry.rb | |
18 | ${GEM_LIBDIR}/lib/zeitwerk/version.rb | 20 | ${GEM_LIBDIR}/lib/zeitwerk/version.rb | |
19 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec | 21 | ${GEM_HOME}/specifications/${GEM_NAME}.gemspec |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.10 2022/10/09 07:37:47 taca Exp $ | 1 | $NetBSD: distinfo,v 1.11 2022/11/30 14:31:41 taca Exp $ | |
2 | 2 | |||
3 | BLAKE2s (zeitwerk-2.6.1.gem) = c76d6bd2dc1d55691577c62ebd10725fb3286728d32cf50b00407d99b4a23def | 3 | BLAKE2s (zeitwerk-2.6.6.gem) = 7e00cfea30e805fceee2b03fd8a4425f76e3e5b8d17c6c520db189339caa83ee | |
4 | SHA512 (zeitwerk-2.6.1.gem) = 931877c9228c1e6731779be9a767e3d7b99636ba75d8264316db7cc8ed9805b81445cd8fd036edb3c1fcedc862b93adccc404f398155689122a26036bd591a1e | 4 | SHA512 (zeitwerk-2.6.6.gem) = 63dc0d8dec0cddaf278a7eb7d622a576832ab8cd9b8135df6aba1681af4b23f9bdfa47e20f3a0c53d5476e52b6344738cacafdd3562fa19eff07708742355312 | |
5 | Size (zeitwerk-2.6.1.gem) = 32256 bytes | 5 | Size (zeitwerk-2.6.6.gem) = 36352 bytes |