pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/ruby-terminal-table



Module Name:    pkgsrc
Committed By:   taca
Date:           Sun Dec  4 16:32:33 UTC 2022

Modified Files:
        pkgsrc/textproc/ruby-terminal-table: Makefile PLIST distinfo

Log Message:
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`


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/ruby-terminal-table/Makefile \
    pkgsrc/textproc/ruby-terminal-table/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/ruby-terminal-table/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/ruby-terminal-table/Makefile
diff -u pkgsrc/textproc/ruby-terminal-table/Makefile:1.4 pkgsrc/textproc/ruby-terminal-table/Makefile:1.5
--- pkgsrc/textproc/ruby-terminal-table/Makefile:1.4    Sat Jun 19 07:47:33 2021
+++ pkgsrc/textproc/ruby-terminal-table/Makefile        Sun Dec  4 16:32:33 2022
@@ -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 @@ HOMEPAGE=       https://github.com/tj/terminal
 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
 
Index: pkgsrc/textproc/ruby-terminal-table/distinfo
diff -u pkgsrc/textproc/ruby-terminal-table/distinfo:1.4 pkgsrc/textproc/ruby-terminal-table/distinfo:1.5
--- pkgsrc/textproc/ruby-terminal-table/distinfo:1.4    Tue Oct 26 11:23:28 2021
+++ pkgsrc/textproc/ruby-terminal-table/distinfo        Sun Dec  4 16:32:33 2022
@@ -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

Index: pkgsrc/textproc/ruby-terminal-table/PLIST
diff -u pkgsrc/textproc/ruby-terminal-table/PLIST:1.2 pkgsrc/textproc/ruby-terminal-table/PLIST:1.3
--- pkgsrc/textproc/ruby-terminal-table/PLIST:1.2       Mon Jan 18 14:52:59 2021
+++ pkgsrc/textproc/ruby-terminal-table/PLIST   Sun Dec  4 16:32:33 2022
@@ -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/separat
 ${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



Home | Main Index | Thread Index | Old Index