Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-console
From: Takahiro Kambe
Date: 2024-11-06 15:06:53
Message id: 20241106140654.0BA50FC7E@cvs.NetBSD.org
Log Message:
devel/ruby-console: update to 1.29.0
1.28.0 (2024-11-05)
* Add support for Kernel#warn redirection to Console.warn.
1.28.1 (2024-11-05)
(Unknown)
1.29.0 (2024-11-06)
* Don't make Kernel#warn redirection to Console.warn the default behavior,
you must require 'console/warn' to enable it.
* Remove deprecated Console::Logger#failure.
Consistent Handling of Exceptions
Console.call and all wrapper methods will now consistently handle exceptions
that are the last positional argument or keyword argument. This means that
the following code will work as expected:
begin
rescue => error
# Last positional argument:
Console.warn(self, "There may be an issue", error)
# Keyword argument (preferable):
Console.error(self, "There is an issue", exception: error)
end
Files: