From 443f905412383c664d8781fd873ae8fccb482396 Mon Sep 17 00:00:00 2001 From: taca Date: Sun, 4 Dec 2022 16:32:33 +0000 Subject: [PATCH] textproc/ruby-terminal-table: update to 3.0.2 3.0.2 (2021-09-19) * fix align_column for nil values and colspan 3.0.1 / 2021-05-10 * Support for unicode-display_width 2.0 * Fix issue where last row of an empty table changed format 3.0.0 / 2020-01-27 * Support for (optional) Unicode border styles on tables. In order to support decent looking Unicode borders, different types of intersections get different types of intersection characters. This has the side effect of subtle formatting differences even for the ASCII table border case due to removal of certain intersections near colspans. For example, previously the output of a table may be: +------+-----+ | Title | +------+-----+ | Char | Num | +------+-----+ | a | 1 | | b | 2 | | c | 3 | +------+-----+ And now the `+` character above the word Title is removed, as it is no longer considered an intersection: +------------+ | Title | +------+-----+ | Char | Num | +------+-----+ | a | 1 | | b | 2 | +------+-----+ * The default border remains an ASCII border for backwards compatibility, however multiple border classes are included / documented, and user defined border types can be applied as needed. In support of this update, the following issues were addressed: * colspan creates conflict with colorize (#95) * Use nice UTF box-drawing characters by default (#99) - Note that `AsciiBorder` is stll the default * Border-left and border-right style (#100) * Helper function to style as Markdown (#111) - Achieved using `MarkdownBorder` --- textproc/ruby-terminal-table/Makefile | 7 +++---- textproc/ruby-terminal-table/PLIST | 14 +++++++++++--- textproc/ruby-terminal-table/distinfo | 8 ++++---- 3 files changed, 18 insertions(+), 11 deletions(-) diff --git a/textproc/ruby-terminal-table/Makefile b/textproc/ruby-terminal-table/Makefile index 181e87ae9279..fc6ca252b4cd 100644 --- a/textproc/ruby-terminal-table/Makefile +++ b/textproc/ruby-terminal-table/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.4 2021/06/19 07:47:33 taca Exp $ +# $NetBSD: Makefile,v 1.5 2022/12/04 16:32:33 taca Exp $ -DISTNAME= terminal-table-2.0.0 -PKGREVISION= 1 +DISTNAME= terminal-table-3.0.2 CATEGORIES= textproc MAINTAINER= pkgsrc-users@NetBSD.org @@ -9,7 +8,7 @@ HOMEPAGE= https://github.com/tj/terminal-table COMMENT= Simple, feature rich ascii table generation library LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-unicode-display_width>=1:../../textproc/ruby-unicode-display_width +DEPENDS+= ${RUBY_PKGPREFIX}-unicode-display_width>=1.1.1:../../textproc/ruby-unicode-display_width USE_LANGUAGES= # none diff --git a/textproc/ruby-terminal-table/PLIST b/textproc/ruby-terminal-table/PLIST index be9740e8f8b1..982acb429b2a 100644 --- a/textproc/ruby-terminal-table/PLIST +++ b/textproc/ruby-terminal-table/PLIST @@ -1,16 +1,23 @@ -@comment $NetBSD: PLIST,v 1.2 2021/01/18 14:52:59 taca Exp $ +@comment $NetBSD: PLIST,v 1.3 2022/12/04 16:32:33 taca Exp $ ${GEM_HOME}/cache/${GEM_NAME}.gem ${GEM_LIBDIR}/.github/workflows/ci.yml ${GEM_LIBDIR}/.gitignore ${GEM_LIBDIR}/Gemfile -${GEM_LIBDIR}/Gemfile.lock ${GEM_LIBDIR}/History.rdoc ${GEM_LIBDIR}/LICENSE.txt ${GEM_LIBDIR}/Manifest -${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/README.md ${GEM_LIBDIR}/Rakefile ${GEM_LIBDIR}/Todo.rdoc +${GEM_LIBDIR}/examples/data.csv ${GEM_LIBDIR}/examples/examples.rb +${GEM_LIBDIR}/examples/examples_unicode.rb +${GEM_LIBDIR}/examples/issue100.rb +${GEM_LIBDIR}/examples/issue111.rb +${GEM_LIBDIR}/examples/issue118.rb +${GEM_LIBDIR}/examples/issue95.rb +${GEM_LIBDIR}/examples/show_csv_table.rb +${GEM_LIBDIR}/examples/strong_separator.rb ${GEM_LIBDIR}/lib/terminal-table.rb ${GEM_LIBDIR}/lib/terminal-table/cell.rb ${GEM_LIBDIR}/lib/terminal-table/import.rb @@ -19,6 +26,7 @@ ${GEM_LIBDIR}/lib/terminal-table/separator.rb ${GEM_LIBDIR}/lib/terminal-table/style.rb ${GEM_LIBDIR}/lib/terminal-table/table.rb ${GEM_LIBDIR}/lib/terminal-table/table_helper.rb +${GEM_LIBDIR}/lib/terminal-table/util.rb ${GEM_LIBDIR}/lib/terminal-table/version.rb ${GEM_LIBDIR}/terminal-table.gemspec ${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/textproc/ruby-terminal-table/distinfo b/textproc/ruby-terminal-table/distinfo index b0a273b99ea0..512624ee50b7 100644 --- a/textproc/ruby-terminal-table/distinfo +++ b/textproc/ruby-terminal-table/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.4 2021/10/26 11:23:28 nia Exp $ +$NetBSD: distinfo,v 1.5 2022/12/04 16:32:33 taca Exp $ -BLAKE2s (terminal-table-2.0.0.gem) = 19b978ac7ad2bfb969909a97c5b5ad7a735510460a69377257b33108a3b98b9f -SHA512 (terminal-table-2.0.0.gem) = 7394f830ac5e2b24d0d9553031a1a53e7b76b903a43239eb70531af9cbb54d1c81d526fa9ed805a6ed937e343b7dc65fe36d036467471c33f2b4955da220fd03 -Size (terminal-table-2.0.0.gem) = 14336 bytes +BLAKE2s (terminal-table-3.0.2.gem) = 85b6b0a1b567065e729ae77989219b46cbcd506ce4ea0d107bd94d954eed3392 +SHA512 (terminal-table-3.0.2.gem) = 9d625a5903c7511f59f2e083ed2db72d337405019c41461b97590411a5028a061ce4a42eeb75c19b0e6deb2ef81f18ad80bb74d4ebdb9eca9ff6004631ddd994 +Size (terminal-table-3.0.2.gem) = 22016 bytes