pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/ruby-terminal-table textproc/ruby-terminal-ta...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/432d1507498d
branches:  trunk
changeset: 389445:432d1507498d
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Dec 04 16:32:33 2022 +0000

description:
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`

diffstat:

 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(-)

diffs (73 lines):

diff -r 04e4b278a5ab -r 432d1507498d textproc/ruby-terminal-table/Makefile
--- a/textproc/ruby-terminal-table/Makefile     Sun Dec 04 16:29:57 2022 +0000
+++ b/textproc/ruby-terminal-table/Makefile     Sun Dec 04 16:32:33 2022 +0000
@@ -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@localhost
@@ -9,7 +8,7 @@
 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 -r 04e4b278a5ab -r 432d1507498d textproc/ruby-terminal-table/PLIST
--- a/textproc/ruby-terminal-table/PLIST        Sun Dec 04 16:29:57 2022 +0000
+++ b/textproc/ruby-terminal-table/PLIST        Sun Dec 04 16:32:33 2022 +0000
@@ -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/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 -r 04e4b278a5ab -r 432d1507498d textproc/ruby-terminal-table/distinfo
--- a/textproc/ruby-terminal-table/distinfo     Sun Dec 04 16:29:57 2022 +0000
+++ b/textproc/ruby-terminal-table/distinfo     Sun Dec 04 16:32:33 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index