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:           Sun Jul 30 04:09:01 UTC 2023

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

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

2.6.9 (2023-07-25)

* Given a path as a string or Pathname object,
  Zeitwerk::Loader#cpath_expected_at returns a string with the corresponding
  expected constant path.

  Some examples, assuming that app/models is a root directory:

    loader.cpath_expected_at("app/models")                  # => "Object"
    loader.cpath_expected_at("app/models/user.rb")          # => "User"
    loader.cpath_expected_at("app/models/hotel")            # => "Hotel"
    loader.cpath_expected_at("app/models/hotel/billing.rb") # => "Hotel::Billing"

  This method returns nil for some input like ignored files, and may raise
  errors too.  Please check its documentation for further details.

* Zeitwerk::Loader#load_file raises with a more informative error if given a
  hidden file or directory.

* Zeitwerk::Loader#eager_load_dir does nothing if the argument is a hidden
  file or directory.  This is coherent with its existing behavior for eager
  load exclusions and ignored paths.  Before, that kind of argument would
  result in a non-deliberate NameError.

* Documentation improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/ruby-zeitwerk/Makefile
cvs rdiff -u -r1.13 -r1.14 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.11 pkgsrc/devel/ruby-zeitwerk/Makefile:1.12
--- pkgsrc/devel/ruby-zeitwerk/Makefile:1.11    Sat Apr 29 13:41:52 2023
+++ pkgsrc/devel/ruby-zeitwerk/Makefile Sun Jul 30 04:09:01 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2023/04/29 13:41:52 taca Exp $
+# $NetBSD: Makefile,v 1.12 2023/07/30 04:09:01 taca Exp $
 
-DISTNAME=      zeitwerk-2.6.8
+DISTNAME=      zeitwerk-2.6.9
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/devel/ruby-zeitwerk/distinfo
diff -u pkgsrc/devel/ruby-zeitwerk/distinfo:1.13 pkgsrc/devel/ruby-zeitwerk/distinfo:1.14
--- pkgsrc/devel/ruby-zeitwerk/distinfo:1.13    Sat Apr 29 13:41:52 2023
+++ pkgsrc/devel/ruby-zeitwerk/distinfo Sun Jul 30 04:09:01 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2023/04/29 13:41:52 taca Exp $
+$NetBSD: distinfo,v 1.14 2023/07/30 04:09:01 taca Exp $
 
-BLAKE2s (zeitwerk-2.6.8.gem) = d0405d721d93db587786d88e520afc9e61944b371f44017a42cd901254f91a0d
-SHA512 (zeitwerk-2.6.8.gem) = 937f972b2581685aa4fbe1e5fcccfa91230cfcae84553bedb4f2278483b392133bdb6593681c247086a3da6720e4d0d9c5e291f9afaeb6c0e63871422d3898b7
-Size (zeitwerk-2.6.8.gem) = 37376 bytes
+BLAKE2s (zeitwerk-2.6.9.gem) = 51205d7b4ce4530322f527be4b5db8333c6db10309d45546d51f4ff455aae7f1
+SHA512 (zeitwerk-2.6.9.gem) = a860a4970f5a70a501858705947dafd36e59b7caefad662937e069ec9c58902f0d94b88c6d1249662dc6f23c61463db8e3c65b42d064b9295afc838fa96cce98
+Size (zeitwerk-2.6.9.gem) = 38400 bytes



Home | Main Index | Thread Index | Old Index