Subject: CVS commit: pkgsrc/devel/ruby-zeitwerk
From: Takahiro Kambe
Date: 2023-07-30 06:09:01
Message id: 20230730040901.48253FBDB@cvs.NetBSD.org

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.

Files:
RevisionActionfile
1.12modifypkgsrc/devel/ruby-zeitwerk/Makefile
1.14modifypkgsrc/devel/ruby-zeitwerk/distinfo