Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7624573
Remove spurious executable permissions
greg-hellings Jan 19, 2018
562a58d
Test in circleci
jescholl May 11, 2019
015a1f4
Add circleci badge
jescholl May 11, 2019
daa7426
Fix broken circle ci badge
Aug 27, 2019
b8db685
Update README.rdoc
Aug 27, 2019
f053fe1
Revert "Fix broken circle ci badge"
nateberkopec Aug 27, 2019
6bc0e25
adds ci build with github actions
wbotelhos Oct 28, 2020
a70c21a
adds Gemfile.lock on versioning
wbotelhos Oct 28, 2020
a8d3363
ignores bundle folder
wbotelhos Oct 28, 2020
fb15b3c
updates bundler
wbotelhos Oct 28, 2020
cb56a13
drops support for ruby 2.1, 2.2 and 2.3
wbotelhos Oct 28, 2020
059ed31
updates rake
wbotelhos Oct 28, 2020
c09ecd4
doc: updates ci badge
wbotelhos Oct 28, 2020
7f2e8d3
v2.0.0
wbotelhos Oct 28, 2020
b8c3e8d
Use unicode-display_width without String ext
dduugg Mar 8, 2019
08d1391
adding in somewhat hacky support for unicode tables and enhanced tabl…
nanobowers Dec 14, 2020
f98a6a4
adding/fixing tests for unicode tables
nanobowers Dec 15, 2020
f154385
adding in alternative border styles
nanobowers Dec 15, 2020
4d59511
addressing some open issues;
nanobowers Dec 19, 2020
35a7d6f
updated based on @nateberkopec PR comments, updated History.rdoc
nanobowers Jan 22, 2021
a451abc
up-revving version to 3.0.0
nanobowers Jan 24, 2021
12ace18
A re-think of how to handle separators in order to support both heade…
nanobowers Jan 24, 2021
624f5f4
Adding tests for adding border_type on separators and post-elaboratio…
nanobowers Jan 25, 2021
a451d0d
new and improved methods for border separation including dash/dot3/do…
nanobowers Jan 26, 2021
7605247
Fixup history, delete old Readme
nateberkopec Jan 27, 2021
998fea3
fixing issue #118
nanobowers Feb 3, 2021
2f06506
Support unicode-display_width v2.0.0
dduugg Feb 3, 2021
60008ca
fixing misstatement in README, adding csv-to-terminal-table recipe in…
nanobowers Feb 4, 2021
d67126b
further cleanup of the readme
nanobowers Feb 5, 2021
baef02f
badges update
noraj Feb 25, 2021
06e9531
fix shebang in examples/examples_unicode.rb
Mar 26, 2021
4198ec5
v3.0.1
nateberkopec May 10, 2021
f2d9939
fix align_column for nil values and colspan
toy Sep 14, 2021
5c51ffc
3.0.2
nateberkopec Sep 19, 2021
6c3a586
remove lock
nateberkopec Sep 19, 2021
9b36e9a
Add Ruby 3.0 and 3.1 to the CI matrix
petergoldstein Jun 11, 2022
0400832
Adds Ruby 3.2 to the CI matrix. Also updates the checkout action ver…
petergoldstein Dec 29, 2022
a8232dd
Renaming Terminal to TerminalTable
Sep 8, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI
on: [push]

jobs:
test:
if: "!contains(github.event.head_commit.message, 'ci skip')"

continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}

strategy:
fail-fast: false

matrix:
os: [ubuntu]
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, 3.2]

runs-on: ${{ matrix.os }}-latest

steps:
- uses: actions/checkout@v3

- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby }}

- run: bundle install
- run: bundle exec rspec
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,9 @@ pkg
tmp
*.cache
doc
vendor
/.bundle
Gemfile.lock

# tempfiles
*~
57 changes: 57 additions & 0 deletions History.rdoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
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`

2.0.0 / 2020-10-28
==================

- Drops official support for Ruby 1.9.x with and of life on 2015-02-23
- Drops official support for Ruby 2.0.x with and of life on 2016-02-24
- Drops official support for Ruby 2.1.x with and of life on 2017-03-31
- Drops official support for Ruby 2.2.x with and of life on 2018-03-31
- Drops official support for Ruby 2.3.x with and of life on 2019-03-31

1.8.0 / 2017-05-16
==================

Expand Down
Loading