Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-zeitwerk
From: Takahiro Kambe
Date: 2021-01-11 14:33:22
Message id: 20210111133322.32464FA9D@cvs.NetBSD.org
Log Message:
devel/ruby-zeitwerk: update to 2.4.2
2.4.2 (27 November 2020)
* Implements Zeitwerk::Loader#on_load, which allows you to configure
blocks of code to be executed after a certain class or module have
been loaded:
# config/environments/development.rb
loader.on_load("SomeApiClient") do
SomeApiClient.endpoint = "https://api.dev"
# config/environments/production.rb
loader.on_load("SomeApiClient") do
SomeApiClient.endpoint = "https://api.prod"
end
See the documentation for further details.
2.4.1 (29 October 2020)
* Use __send__ instead of send internally.
Files: