The NetBSD Project

CVS log for pkgsrc/devel/ruby-console/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-console

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun May 24 14:06:12 2026 UTC (5 months, 3 weeks ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +7 -1 lines
devel/ruby-console: update to 1.35.1

1.35.0 (2026-05-19)

* Align decimals in elapsed time display. (#84)

* Fix handling of Errno::ENODEV errors when calculating the width of a
  terminal that was been re-opened to File::NULL

1.35.1 (2026-05-19)

* Add missing context files to gemspec.
* Fix gem metadata.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 16 13:50:53 2025 UTC (20 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -1 lines
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.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Nov 6 14:06:53 2024 UTC (2 years ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -1 lines
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

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 5 16:26:14 2024 UTC (2 years, 6 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -9 lines
devel/ruby-console: update to 1.25.2

1.23.7 (2024-04-20)

* The exception backtrace should be split into at most 3 pieces.


1.24.0 (2024-04-22)

* Add compatible shim for Exception#detailed_message. (#58)
* Better output formatting of options.


1.25.0 (2024-05-03)

* Separation of output formatting from log generation/schema. (#60)
* Use Console::CapturedOutput everywhere.
* Improve getting started guide.
* Remove test file.
* Add guidelines for custom events.
* Set minimum version of fiber-local gem.
* Compatibility with previous event argument.


1.25.1 (2024-05-03)

* Add tests for Console::Event::Spawn.


1.25.2 (2024-05-04)

* Apply subject/level filtering in Filter#call.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Aug 11 13:51:36 2023 UTC (3 years, 3 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -2 lines
devel/ruby-console: update to 1.23.1

1.21.0 (2023-08-07)

* Expose direct interface on Console. (#46)
* Default to the current console. (#47)

1.22.0 (2023-08-11)

What's Changed

* Introduce new "Safe" JSON serialization implementation. (#48)

1.23.0 (2023-08-11)

* Remove the Encoder that is no longer used. (#49)
* Introduce Console::Format for format handling. (#50)

1.23.1 (2023-08-11)

* Capture enough information to debug SystemStackErrors when dumping
  logs. (#51)

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Aug 5 08:55:36 2023 UTC (3 years, 3 months ago) by taca
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -1 lines
devel/ruby-console: update to 1.20.0

1.19.0 (2023-08-03)

* Add adapter module for external gems.

1.20.0 (2023-08-02)

What's Changed

* Modernize gem. by @ioquatix in #45
* Encode serialized output to avoid encoding errors. by @ioquatix in #44
* This release drops support for Ruby 2.7.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 27 23:04:40 2023 UTC (3 years, 3 months ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -0 lines
ruby-console: add missing file

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Nov 11 13:29:25 2022 UTC (4 years ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
devel/ruby-console: add package version 1.16.2

Required by ruby-async package.

Console

Provides beautiful console logging for Ruby applications.  Implements fast,
buffered log output.

Motivation

When Ruby decided to reverse the order of exception backtraces, I finally
gave up using the built in logging and decided restore sanity to the output
of my programs once and for all!

Features

* Thread safe global logger with per-fiber context.
* Carry along context with nested loggers.
* Enable/disable log levels per-class.
* Detailed logging of exceptions.
* Beautiful logging to the terminal or structured logging using JSON.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>