pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-zeitwerk



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu May 29 14:55:16 UTC 2025

Modified Files:
        pkgsrc/devel/ruby-zeitwerk: Makefile PLIST distinfo

Log Message:
devel/ruby-zeitwerk: update to 2.7.3

2.7.0 (2024-10-11)

* Explicit namespaces can now also be defined using constant assignments.
  While constant assignments like

        # coordinates.rb
        Coordinates = Data.define(:x, :y)

  worked for most objects, they did not for classes and modules that were
  also namespaces (i.e., those defined by a file and matching
  subdirectories).  In such cases, their child constants could not be
  autoloaded.

  This limitation has been removed.

* TracePoint is no longer used.

* Requires Ruby 3.2 or later.

  Gems that work with previous versions of Zeitwerk also work with this one.
  If they support Ruby versions older than 3.2 they can specify a relaxed
  version constraint for Zeitwerk like "~> 2.6", for example.

  In client projects, Bundler takes the Ruby requirement into account when
  resolving dependencies, so Gemfile.lock will get one compatible with the
  Ruby version being used.

2.7.1 (2024-10-19)

* Micro-optimization in a hot path.
* Raises Zeitwerk::Error if an autoloaded constant expected to represent a
  namespace does not store a class or module object.
* Adds truffleruby-head to CI, except for autoloading thread-safety (see why
  in oracle/truffleruby#2431).

2.7.2 (2025-02-18)

* Internal improvements and micro-optimizations.
* Add stable TruffleRuby to CI.

2.7.3 (2025-05-20)

* The helper Zeitwerk::Loader#cpath_expected_at did not work correctly if
  the inflector had logic that relied on the absolute path of the given file
  or directory.  This has been fixed.
* This bug was found by Codex.
* Perpetual internal work.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/ruby-zeitwerk/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-zeitwerk/PLIST
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/ruby-zeitwerk/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-zeitwerk/Makefile
diff -u pkgsrc/devel/ruby-zeitwerk/Makefile:1.18 pkgsrc/devel/ruby-zeitwerk/Makefile:1.19
--- pkgsrc/devel/ruby-zeitwerk/Makefile:1.18    Wed Sep 18 15:29:31 2024
+++ pkgsrc/devel/ruby-zeitwerk/Makefile Thu May 29 14:55:16 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2024/09/18 15:29:31 taca Exp $
+# $NetBSD: Makefile,v 1.19 2025/05/29 14:55:16 taca Exp $
 
-DISTNAME=      zeitwerk-2.6.18
+DISTNAME=      zeitwerk-2.7.3
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/ruby-zeitwerk/PLIST
diff -u pkgsrc/devel/ruby-zeitwerk/PLIST:1.6 pkgsrc/devel/ruby-zeitwerk/PLIST:1.7
--- pkgsrc/devel/ruby-zeitwerk/PLIST:1.6        Sat Jun 15 15:52:04 2024
+++ pkgsrc/devel/ruby-zeitwerk/PLIST    Thu May 29 14:55:16 2025
@@ -1,16 +1,17 @@
-@comment $NetBSD: PLIST,v 1.6 2024/06/15 15:52:04 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/05/29 14:55:16 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/MIT-LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/lib/zeitwerk.rb
+${GEM_LIBDIR}/lib/zeitwerk/core_ext/kernel.rb
+${GEM_LIBDIR}/lib/zeitwerk/core_ext/module.rb
 ${GEM_LIBDIR}/lib/zeitwerk/cref.rb
+${GEM_LIBDIR}/lib/zeitwerk/cref/map.rb
 ${GEM_LIBDIR}/lib/zeitwerk/error.rb
-${GEM_LIBDIR}/lib/zeitwerk/explicit_namespace.rb
 ${GEM_LIBDIR}/lib/zeitwerk/gem_inflector.rb
 ${GEM_LIBDIR}/lib/zeitwerk/gem_loader.rb
 ${GEM_LIBDIR}/lib/zeitwerk/inflector.rb
 ${GEM_LIBDIR}/lib/zeitwerk/internal.rb
-${GEM_LIBDIR}/lib/zeitwerk/kernel.rb
 ${GEM_LIBDIR}/lib/zeitwerk/loader.rb
 ${GEM_LIBDIR}/lib/zeitwerk/loader/callbacks.rb
 ${GEM_LIBDIR}/lib/zeitwerk/loader/config.rb
@@ -19,5 +20,9 @@ ${GEM_LIBDIR}/lib/zeitwerk/loader/helper
 ${GEM_LIBDIR}/lib/zeitwerk/null_inflector.rb
 ${GEM_LIBDIR}/lib/zeitwerk/real_mod_name.rb
 ${GEM_LIBDIR}/lib/zeitwerk/registry.rb
+${GEM_LIBDIR}/lib/zeitwerk/registry/autoloads.rb
+${GEM_LIBDIR}/lib/zeitwerk/registry/explicit_namespaces.rb
+${GEM_LIBDIR}/lib/zeitwerk/registry/inceptions.rb
+${GEM_LIBDIR}/lib/zeitwerk/registry/loaders.rb
 ${GEM_LIBDIR}/lib/zeitwerk/version.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec

Index: pkgsrc/devel/ruby-zeitwerk/distinfo
diff -u pkgsrc/devel/ruby-zeitwerk/distinfo:1.20 pkgsrc/devel/ruby-zeitwerk/distinfo:1.21
--- pkgsrc/devel/ruby-zeitwerk/distinfo:1.20    Wed Sep 18 15:29:31 2024
+++ pkgsrc/devel/ruby-zeitwerk/distinfo Thu May 29 14:55:16 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2024/09/18 15:29:31 taca Exp $
+$NetBSD: distinfo,v 1.21 2025/05/29 14:55:16 taca Exp $
 
-BLAKE2s (zeitwerk-2.6.18.gem) = f7aa43d1b4b0133a552d2b6f1d583ab5e68888e02e8984c84414ccb026013869
-SHA512 (zeitwerk-2.6.18.gem) = 033babd1af0c2f58950251398ba3d73b2d71ec1987e5d28cc76263d9a08ba60550ae74bf6620e5948427e842c65dcdec9c848f833993198c3e52b83673545811
-Size (zeitwerk-2.6.18.gem) = 40448 bytes
+BLAKE2s (zeitwerk-2.7.3.gem) = d7f332be2ed386bf68dfc04ee53da17a1f9fbf426841cba7fd8370f5822981d8
+SHA512 (zeitwerk-2.7.3.gem) = 3b5412ea49b44796546a021df9513499580100ad1d95664ca6f917e5897606a9ecb291b98d3fcbaafa84251000edd1f24cb3474fbc648b9c2d53a145a2832255
+Size (zeitwerk-2.7.3.gem) = 40448 bytes



Home | Main Index | Thread Index | Old Index