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.
This commit is contained in:
taca 2022-11-11 13:29:25 +00:00
parent d3ff703afb
commit 93b83e5aad
4 changed files with 73 additions and 0 deletions

18
devel/ruby-console/DESCR Normal file
View file

@ -0,0 +1,18 @@
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.

View file

@ -0,0 +1,16 @@
# $NetBSD: Makefile,v 1.1 2022/11/11 13:29:25 taca Exp $
DISTNAME= console-1.16.2
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/socketry/console
COMMENT= Beautiful logging for Ruby
LICENSE= mit
DEPENDS+= ${RUBY_PKGPREFIX}-fiber-local>=0:../../devel/ruby-fiber-local
USE_LANGUAGES= # none
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

34
devel/ruby-console/PLIST Normal file
View file

@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.1 2022/11/11 13:29:25 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/bake/console.rb
${GEM_LIBDIR}/lib/console.rb
${GEM_LIBDIR}/lib/console/buffer.rb
${GEM_LIBDIR}/lib/console/capture.rb
${GEM_LIBDIR}/lib/console/clock.rb
${GEM_LIBDIR}/lib/console/compatible/logger.rb
${GEM_LIBDIR}/lib/console/event.rb
${GEM_LIBDIR}/lib/console/event/failure.rb
${GEM_LIBDIR}/lib/console/event/generic.rb
${GEM_LIBDIR}/lib/console/event/progress.rb
${GEM_LIBDIR}/lib/console/event/spawn.rb
${GEM_LIBDIR}/lib/console/filter.rb
${GEM_LIBDIR}/lib/console/logger.rb
${GEM_LIBDIR}/lib/console/output.rb
${GEM_LIBDIR}/lib/console/output/default.rb
${GEM_LIBDIR}/lib/console/output/json.rb
${GEM_LIBDIR}/lib/console/output/sensitive.rb
${GEM_LIBDIR}/lib/console/output/split.rb
${GEM_LIBDIR}/lib/console/output/text.rb
${GEM_LIBDIR}/lib/console/output/xterm.rb
${GEM_LIBDIR}/lib/console/progress.rb
${GEM_LIBDIR}/lib/console/resolver.rb
${GEM_LIBDIR}/lib/console/serialized/logger.rb
${GEM_LIBDIR}/lib/console/split.rb
${GEM_LIBDIR}/lib/console/terminal.rb
${GEM_LIBDIR}/lib/console/terminal/logger.rb
${GEM_LIBDIR}/lib/console/terminal/text.rb
${GEM_LIBDIR}/lib/console/terminal/xterm.rb
${GEM_LIBDIR}/lib/console/version.rb
${GEM_LIBDIR}/license.md
${GEM_LIBDIR}/readme.md
${GEM_HOME}/specifications/${GEM_NAME}.gemspec

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2022/11/11 13:29:25 taca Exp $
BLAKE2s (console-1.16.2.gem) = 0e9e2773bb73d5c9210f0da992f90219b10803ccc3c818d8c8fdfb368edb53d4
SHA512 (console-1.16.2.gem) = c7acb03db3eab1e060905f52fe6ba18f26fa963d2d74e2e2f9e316d5b3d7664b8d0f4526d18f02d21c67cef58875b71b6e2e76aa0616d535199722693440bbd6
Size (console-1.16.2.gem) = 19456 bytes