Up to [cvs.NetBSD.org] / pkgsrc / textproc / ruby-terminal-table
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
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: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./textproc/convertlit/distinfo clit18src.zip
textproc: Remove SHA1 hashes for distfiles
textproc/ruby-terminal-table: update to 2.0.0 2.0.0 (2020-11-01) Requires Ruby 2.4+ * Protect against nil in column/row loop (#92) * Remove unicode display string extensions (#104)
textproc/ruby-terminal-table: import ruby26-terminal-table-1.8.0 Terminal Table is a fast and simple, yet feature rich ASCII table generator written in Ruby.