pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ruby-console



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Mar 16 13:50:53 UTC 2025

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

Log Message:
devel/ruby-console: update to 1.30.2

1.30.0 (2025-03-07)

Introduce Console::Config for fine grained configuration.

Introduced a new explicit configuration interface via config/console.rb to
enhance logging setup in complex applications.  This update gives the
application code an opportunity to load files if required and control
aspects such as log level, output, and more.  Users can override default
behaviors (e.g., make_output, make_logger, and log_level) for improved
customization.

  # config/console.rb
  def log_level(env = ENV)
          # Set a custom log level, e.g., force debug mode:
          :debug
  end

  def make_logger(output = $stderr, env = ENV, **options)
          # Custom logger configuration with verbose output:
          options[:verbose] = true

           Logger.new(output, **options)
  end

This approach provides a standard way to hook into the log setup process,
allowing tailored adjustments for reliable and customizable logging
behavior.

1.30.1 (2025-03-09)

* Remove circular require

1.30.2 (2025-03-10)

* Add missing require.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/ruby-console/Makefile \
    pkgsrc/devel/ruby-console/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/ruby-console/PLIST

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-console/Makefile
diff -u pkgsrc/devel/ruby-console/Makefile:1.16 pkgsrc/devel/ruby-console/Makefile:1.17
--- pkgsrc/devel/ruby-console/Makefile:1.16     Sun Feb 23 13:56:49 2025
+++ pkgsrc/devel/ruby-console/Makefile  Sun Mar 16 13:50:53 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2025/02/23 13:56:49 taca Exp $
+# $NetBSD: Makefile,v 1.17 2025/03/16 13:50:53 taca Exp $
 
-DISTNAME=      console-1.29.3
+DISTNAME=      console-1.30.2
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/ruby-console/distinfo
diff -u pkgsrc/devel/ruby-console/distinfo:1.16 pkgsrc/devel/ruby-console/distinfo:1.17
--- pkgsrc/devel/ruby-console/distinfo:1.16     Sun Feb 23 13:56:49 2025
+++ pkgsrc/devel/ruby-console/distinfo  Sun Mar 16 13:50:53 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2025/02/23 13:56:49 taca Exp $
+$NetBSD: distinfo,v 1.17 2025/03/16 13:50:53 taca Exp $
 
-BLAKE2s (console-1.29.3.gem) = 94266bbcc45b2a5ed64387fae7a6ea423761f59e8213b101f0b3dd6b1efcbc13
-SHA512 (console-1.29.3.gem) = 0a5ec2fc1340acc512a572afd059e1db13978354efb294e6b932a79b7ffab2c8714be3225047c578713e1f83ab03ae3b17c19113b8d33086c5f760aa707b544d
-Size (console-1.29.3.gem) = 23552 bytes
+BLAKE2s (console-1.30.2.gem) = b487c15d8b2800d8504c33691aa331439c1325ee99d88389f488e578a96f5d13
+SHA512 (console-1.30.2.gem) = 6033d07ae514d70cbd19187c08a0f5db64c95e4cd405a32c44c14757d70a9a634c5234aa33257c311351db233b56461b714498bd3c75998c68e54624d44848e3
+Size (console-1.30.2.gem) = 29696 bytes

Index: pkgsrc/devel/ruby-console/PLIST
diff -u pkgsrc/devel/ruby-console/PLIST:1.6 pkgsrc/devel/ruby-console/PLIST:1.7
--- pkgsrc/devel/ruby-console/PLIST:1.6 Wed Nov  6 14:06:53 2024
+++ pkgsrc/devel/ruby-console/PLIST     Sun Mar 16 13:50:53 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2024/11/06 14:06:53 taca Exp $
+@comment $NetBSD: PLIST,v 1.7 2025/03/16 13:50:53 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/bake/console.rb
 ${GEM_LIBDIR}/lib/console.rb
@@ -6,6 +6,7 @@ ${GEM_LIBDIR}/lib/console/adapter.rb
 ${GEM_LIBDIR}/lib/console/capture.rb
 ${GEM_LIBDIR}/lib/console/clock.rb
 ${GEM_LIBDIR}/lib/console/compatible/logger.rb
+${GEM_LIBDIR}/lib/console/config.rb
 ${GEM_LIBDIR}/lib/console/event.rb
 ${GEM_LIBDIR}/lib/console/event/failure.rb
 ${GEM_LIBDIR}/lib/console/event/generic.rb
@@ -27,6 +28,7 @@ ${GEM_LIBDIR}/lib/console/output/wrapper
 ${GEM_LIBDIR}/lib/console/progress.rb
 ${GEM_LIBDIR}/lib/console/resolver.rb
 ${GEM_LIBDIR}/lib/console/terminal.rb
+${GEM_LIBDIR}/lib/console/terminal/formatter.rb
 ${GEM_LIBDIR}/lib/console/terminal/formatter/failure.rb
 ${GEM_LIBDIR}/lib/console/terminal/formatter/progress.rb
 ${GEM_LIBDIR}/lib/console/terminal/formatter/spawn.rb



Home | Main Index | Thread Index | Old Index