fat_table 0.9.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby-with-dbs.yml +161 -0
- data/.gitignore +5 -1
- data/.rubocop.yml +9 -2
- data/.simplecov +2 -0
- data/.yardopts +4 -5
- data/CHANGELOG.md +319 -0
- data/CHANGELOG.org +151 -0
- data/Gemfile +7 -8
- data/README.md +2904 -0
- data/README.org +1317 -1050
- data/Rakefile +5 -0
- data/bin/ft_console +1 -0
- data/fat_table.gemspec +2 -0
- data/lib/{ext → core_ext}/array.rb +3 -1
- data/lib/core_ext/numeric_string.rb +194 -0
- data/lib/core_ext.rb +4 -0
- data/lib/fat_table/column.rb +5 -1
- data/lib/fat_table/convert.rb +2 -0
- data/lib/fat_table/evaluator.rb +1 -2
- data/lib/fat_table/footer.rb +1 -1
- data/lib/fat_table/formatters/formatter.rb +27 -54
- data/lib/fat_table/formatters/latex_formatter.rb +2 -2
- data/lib/fat_table/table.rb +13 -11
- data/lib/fat_table/version.rb +1 -1
- data/lib/fat_table.rb +51 -26
- metadata +11 -14
- data/examples/create_trans.sql +0 -14
- data/examples/quick.pdf +0 -0
- data/examples/quick.png +0 -0
- data/examples/quick.ppm +0 -0
- data/examples/quick.tex +0 -8
- data/examples/quick_small.png +0 -0
- data/examples/quicktable.tex +0 -123
- data/examples/trades.db +0 -0
- data/examples/trans.csv +0 -13
- /data/{lib/fat_table/formatters → data}/xcolors.txt +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c9b81beeac1e25cb68d0d2fdf051e5ad230421dbb5d6d5ee8261c6806f0c18c
|
|
4
|
+
data.tar.gz: d9fa765927bfa717a6091a1f2fed940e415ccc77f97a243ad03ae02b6d406635
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bc4a84f677d1dbd0680fb7923c70aee19e2080c417683442d311ba666552259c33f99b84bdbc9dc4856f8f25c4a32164bcc36cc4cadd2bc8ea5254982e12d2e3
|
|
7
|
+
data.tar.gz: 5efa6e377869452299e3093edf6f528a26bc5f92c695e0c8ee8ec72ce1c3c39367956f0055cfd02fee57906acac6994fa055cf2e07108765734fb6953c8e0c39
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# GitHub Actions: Ruby matrix with sqlite and postgres test variants
|
|
2
|
+
# - matrix: ruby x db (sqlite, postgres)
|
|
3
|
+
# - postgres is provided as a service container
|
|
4
|
+
# - sqlite requires libsqlite3-dev installed so the sqlite3 gem can build native ext
|
|
5
|
+
# Adjust the DB setup commands (rake/rails tasks) to match your project's test bootstrap.
|
|
6
|
+
name: Ruby CI (with sqlite & postgres)
|
|
7
|
+
|
|
8
|
+
on:
|
|
9
|
+
push:
|
|
10
|
+
pull_request:
|
|
11
|
+
|
|
12
|
+
jobs:
|
|
13
|
+
test:
|
|
14
|
+
runs-on: ubuntu-24.04
|
|
15
|
+
continue-on-error: ${{ matrix.ruby == 'ruby-head' }}
|
|
16
|
+
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
# Match fatty: latest patch of each supported minor, plus experimental head.
|
|
21
|
+
ruby: ['3.2', '3.3', '3.4', '4.0']
|
|
22
|
+
db: [sqlite, postgres]
|
|
23
|
+
include:
|
|
24
|
+
- ruby: ruby-head
|
|
25
|
+
db: sqlite
|
|
26
|
+
|
|
27
|
+
services:
|
|
28
|
+
postgres:
|
|
29
|
+
# Only used when matrix.db == postgres; running as a service is harmless for sqlite jobs.
|
|
30
|
+
image: postgres:15
|
|
31
|
+
env:
|
|
32
|
+
POSTGRES_USER: postgres
|
|
33
|
+
POSTGRES_PASSWORD: postgres
|
|
34
|
+
POSTGRES_DB: test
|
|
35
|
+
ports:
|
|
36
|
+
- 5432:5432
|
|
37
|
+
options: >-
|
|
38
|
+
--health-cmd "pg_isready -U postgres"
|
|
39
|
+
--health-interval 10s
|
|
40
|
+
--health-timeout 5s
|
|
41
|
+
--health-retries 5
|
|
42
|
+
|
|
43
|
+
steps:
|
|
44
|
+
- name: Check out code
|
|
45
|
+
uses: actions/checkout@v4
|
|
46
|
+
|
|
47
|
+
- name: Install system packages
|
|
48
|
+
# Needed for compiling Ruby gems and SQLite/Postgres native extensions
|
|
49
|
+
run: |
|
|
50
|
+
sudo apt-get update
|
|
51
|
+
sudo apt-get install -y --no-install-recommends \
|
|
52
|
+
build-essential autoconf bison libssl-dev libreadline-dev \
|
|
53
|
+
zlib1g-dev libyaml-dev libffi-dev libgdbm-dev libncurses5-dev \
|
|
54
|
+
libgmp-dev pkg-config libsqlite3-dev libpq-dev \
|
|
55
|
+
latexmk texlive-latex-recommended texlive-latex-extra \
|
|
56
|
+
texlive-fonts-recommended texlive-fonts-extra texlive-xetex \
|
|
57
|
+
texlive-luatex dvipng
|
|
58
|
+
shell: bash
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- name: Set up Ruby
|
|
62
|
+
uses: ruby/setup-ruby@v1
|
|
63
|
+
with:
|
|
64
|
+
ruby-version: ${{ matrix.ruby }}
|
|
65
|
+
bundler-cache: true
|
|
66
|
+
|
|
67
|
+
- name: Show lint versions
|
|
68
|
+
run: bundle exec rubocop --verbose
|
|
69
|
+
|
|
70
|
+
- name: List installed gems
|
|
71
|
+
run: |
|
|
72
|
+
echo "=== bundle list ==="
|
|
73
|
+
bundle list
|
|
74
|
+
echo
|
|
75
|
+
echo "=== gem list (system) ==="
|
|
76
|
+
gem list
|
|
77
|
+
echo
|
|
78
|
+
echo "=== gem env ==="
|
|
79
|
+
gem env
|
|
80
|
+
|
|
81
|
+
- name: Verify pg
|
|
82
|
+
if: matrix.db == 'postgres'
|
|
83
|
+
run: |
|
|
84
|
+
echo
|
|
85
|
+
echo "=== pg gem info ==="
|
|
86
|
+
bundle show pg || gem which pg || true
|
|
87
|
+
bundle exec ruby -e "begin; require 'pg'; puts 'pg loaded: ' + (defined?(PG) && (PG.const_defined?(:VERSION) ? PG::VERSION : (PG.const_defined?(:PG_VERSION) ? PG::PG_VERSION : 'unknown'))); rescue => e; puts 'pg require failed: ' + e.class.to_s + ': ' + e.message; puts e.backtrace[0..5]; exit 1; end"
|
|
88
|
+
shell: bash
|
|
89
|
+
|
|
90
|
+
- name: Configure DB environment
|
|
91
|
+
run: |
|
|
92
|
+
if [ "${{ matrix.db }}" = "postgres" ]; then
|
|
93
|
+
echo "DB_ADAPTER=postgres" >> $GITHUB_ENV
|
|
94
|
+
# DATABASE_URL commonly used by many ORMs/test setups
|
|
95
|
+
echo "DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5432/test" >> $GITHUB_ENV
|
|
96
|
+
echo "PGHOST=127.0.0.1" >> $GITHUB_ENV
|
|
97
|
+
echo "PGUSER=postgres" >> $GITHUB_ENV
|
|
98
|
+
echo "PGPASSWORD=postgres" >> $GITHUB_ENV
|
|
99
|
+
else
|
|
100
|
+
echo "DB_ADAPTER=sqlite" >> $GITHUB_ENV
|
|
101
|
+
# Use a file-based sqlite DB path; your tests may override with config
|
|
102
|
+
echo "DATABASE_URL=sqlite3:db/test.sqlite3" >> $GITHUB_ENV
|
|
103
|
+
fi
|
|
104
|
+
shell: bash
|
|
105
|
+
|
|
106
|
+
- name: Wait for Postgres (only postgres jobs)
|
|
107
|
+
if: matrix.db == 'postgres'
|
|
108
|
+
run: |
|
|
109
|
+
# Use Ruby to probe TCP port so we don't rely on pg_isready being present
|
|
110
|
+
ruby -e "require 'socket'; loop do
|
|
111
|
+
begin
|
|
112
|
+
TCPSocket.new('127.0.0.1', 5432).close
|
|
113
|
+
puts 'Postgres is listening'
|
|
114
|
+
break
|
|
115
|
+
rescue => _
|
|
116
|
+
warn 'Waiting for Postgres...'
|
|
117
|
+
sleep 1
|
|
118
|
+
end
|
|
119
|
+
end"
|
|
120
|
+
shell: bash
|
|
121
|
+
|
|
122
|
+
- name: Verify LaTeX is available
|
|
123
|
+
# This step is lightweight and helps debugging: prints pdflatex/latexmk versions.
|
|
124
|
+
run: |
|
|
125
|
+
pdflatex --version || true
|
|
126
|
+
latexmk --version || true
|
|
127
|
+
shell: bash
|
|
128
|
+
|
|
129
|
+
# Split coverage between Postgres-only specs and the remaining suite.
|
|
130
|
+
- name: Run tests
|
|
131
|
+
run: |
|
|
132
|
+
if [ "${{ matrix.db }}" = "postgres" ]; then
|
|
133
|
+
echo "Running Postgres-only specs"
|
|
134
|
+
bundle exec rspec --tag postgres
|
|
135
|
+
else
|
|
136
|
+
echo "Running test suite excluding Postgres-only specs"
|
|
137
|
+
bundle exec rspec --tag '~postgres'
|
|
138
|
+
fi
|
|
139
|
+
shell: bash
|
|
140
|
+
|
|
141
|
+
- name: Run RuboCop
|
|
142
|
+
run: bundle exec rubocop
|
|
143
|
+
|
|
144
|
+
portability:
|
|
145
|
+
name: Ruby 3.4 / ${{ matrix.os }} / sqlite
|
|
146
|
+
runs-on: ${{ matrix.os }}
|
|
147
|
+
strategy:
|
|
148
|
+
fail-fast: false
|
|
149
|
+
matrix:
|
|
150
|
+
os: [macos-latest, windows-latest]
|
|
151
|
+
steps:
|
|
152
|
+
- name: Check out code
|
|
153
|
+
uses: actions/checkout@v4
|
|
154
|
+
- name: Set up Ruby
|
|
155
|
+
uses: ruby/setup-ruby@v1
|
|
156
|
+
with:
|
|
157
|
+
ruby-version: '3.4'
|
|
158
|
+
bundler-cache: true
|
|
159
|
+
- name: Run SQLite and portable formatter specs
|
|
160
|
+
# PostgreSQL and external LaTeX compilation are covered by the Linux jobs.
|
|
161
|
+
run: bundle exec rspec --tag '~postgres' --tag '~latex'
|
data/.gitignore
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
.rspec_status
|
|
14
14
|
/README.pdf
|
|
15
15
|
/README.tex
|
|
16
|
-
/README.md
|
|
17
16
|
/README.synctex.gz
|
|
18
17
|
/_minted*
|
|
19
18
|
/auto/
|
|
@@ -27,3 +26,8 @@
|
|
|
27
26
|
/TAGS
|
|
28
27
|
/README.pyg
|
|
29
28
|
/.ruby-version
|
|
29
|
+
/spec/example_files/auto/
|
|
30
|
+
/spec/example_files/quick.aux
|
|
31
|
+
/spec/example_files/quicktable.aux
|
|
32
|
+
/.examples-stamp
|
|
33
|
+
/AGENTS.org
|
data/.rubocop.yml
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
# Inherit the shared config from the rubocop-ddoherty gem (git-hosted on GitHub)
|
|
2
|
+
inherit_gem:
|
|
3
|
+
rubocop-ddoherty: 'config/default.yml'
|
|
3
4
|
|
|
4
5
|
AllCops:
|
|
5
6
|
Include:
|
|
@@ -7,7 +8,10 @@ AllCops:
|
|
|
7
8
|
- 'spec/**/*'
|
|
8
9
|
Exclude:
|
|
9
10
|
- 'test/tmp/**/*'
|
|
11
|
+
- 'spec/tmp/**/*'
|
|
12
|
+
- 'spec/example_files/**/*'
|
|
10
13
|
- 'vendor/bundle/**/*'
|
|
14
|
+
- 'lib/fat_table/formatters/xcolors.txt'
|
|
11
15
|
|
|
12
16
|
Style/MethodCallWithArgsParentheses:
|
|
13
17
|
Exclude:
|
|
@@ -23,3 +27,6 @@ Naming/VariableName:
|
|
|
23
27
|
|
|
24
28
|
RSpec/VariableName:
|
|
25
29
|
Enabled: false
|
|
30
|
+
|
|
31
|
+
RSpec/IndexedLet:
|
|
32
|
+
Enabled: false
|
data/.simplecov
CHANGED
data/.yardopts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
--
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
|
|
5
|
-
md/README.md
|
|
1
|
+
--markup markdown
|
|
2
|
+
--output-dir doc
|
|
3
|
+
--readme README.md
|
|
4
|
+
lib/**/*.rb
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
- [Version 1.1.0 <span class="timestamp-wrapper"><span class="timestamp">[2026-11-23 Mon]</span></span>](#org89de037)
|
|
2
|
+
- [Version 1.0.1 <span class="timestamp-wrapper"><span class="timestamp">[2026-11-21 Sat]</span></span>](#org8d448cc)
|
|
3
|
+
- [Version 1.0.0 <span class="timestamp-wrapper"><span class="timestamp">[2025-12-28 Sun]</span></span>](#org612a60c)
|
|
4
|
+
- [Version 0.9.9 <span class="timestamp-wrapper"><span class="timestamp">[2025-03-19 Wed]</span></span>](#orgafb1ef4)
|
|
5
|
+
- [Version 0.9.8 <span class="timestamp-wrapper"><span class="timestamp">[2024-12-31 Tue]</span></span>](#org0ee20c8)
|
|
6
|
+
- [Version 0.9.7 <span class="timestamp-wrapper"><span class="timestamp">[2024-12-26 Thu]</span></span>](#orgd38a089)
|
|
7
|
+
- [Version 0.9.5 <span class="timestamp-wrapper"><span class="timestamp">[2023-11-07 Tue]</span></span>](#orgd1a6e4a)
|
|
8
|
+
- [Version 0.9.3 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-24 Wed]</span></span>](#orgbbf659f)
|
|
9
|
+
- [Version 0.9.2 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>](#org71e893c)
|
|
10
|
+
- [Version 0.9.1 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>](#org1bd50b1)
|
|
11
|
+
- [Version 0.9.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>](#orgd502dc0)
|
|
12
|
+
- [Version 0.8.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-04-20 Thu]</span></span>](#org1b6a32d)
|
|
13
|
+
- [Version 0.7.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-04-02 Sun]</span></span>](#orgdb5d2fe)
|
|
14
|
+
- [Version 0.6.6 <span class="timestamp-wrapper"><span class="timestamp">[2023-01-09 Mon]</span></span>](#orgf14c5a7)
|
|
15
|
+
- [Version 0.6.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-06-04 Sat]</span></span>](#orgde9afb6)
|
|
16
|
+
- [Version 0.6.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-05-24 Tue]</span></span>](#org4af07c9)
|
|
17
|
+
- [Version 0.6.1 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-26 Sat]</span></span>](#orgdfb3a98)
|
|
18
|
+
- [Version 0.6.0 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-26 Sat]</span></span>](#org0954f36)
|
|
19
|
+
- [Version 0.5.5 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-25 Fri]</span></span>](#org27e31f2)
|
|
20
|
+
- [Version 0.5.4 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-27 Thu]</span></span>](#org97a842a)
|
|
21
|
+
- [Version 0.5.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-24 Mon]</span></span>](#orge1002d7)
|
|
22
|
+
- [Version 0.5.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-22 Sat]</span></span>](#org2eccba3)
|
|
23
|
+
- [Version 0.5.1 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-21 Fri]</span></span>](#org31d68b7)
|
|
24
|
+
- [Version 0.4.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-06 Thu]</span></span>](#org9af6b5a)
|
|
25
|
+
- [Version 0.4.0 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-02 Sun]</span></span>](#org8f46953)
|
|
26
|
+
- [Version 0.3.4 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-01 Sat]</span></span>](#org83508cd)
|
|
27
|
+
- [Version 0.3.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-01 Sat]</span></span>](#org38d8493)
|
|
28
|
+
- [Version 0.3.1 <span class="timestamp-wrapper"><span class="timestamp">[2020-12-13 Sun]</span></span>](#orge6a6426)
|
|
29
|
+
- [Version 0.3.0 <span class="timestamp-wrapper"><span class="timestamp">[2020-06-10 Wed]</span></span>](#org2676eb8)
|
|
30
|
+
- [Version 0.2.11 <span class="timestamp-wrapper"><span class="timestamp">[2019-12-29 Sun]</span></span>](#orgfe92f9e)
|
|
31
|
+
- [Version 0.2.9 <span class="timestamp-wrapper"><span class="timestamp">[2019-04-04 Thu]</span></span>](#orgdd5903e)
|
|
32
|
+
- [Version 0.2.8 <span class="timestamp-wrapper"><span class="timestamp">[2018-08-28 Tue]</span></span>](#org0c9ef1a)
|
|
33
|
+
- [Version 0.2.7 <span class="timestamp-wrapper"><span class="timestamp">[2017-12-29 Fri]</span></span>](#orgfd954d8)
|
|
34
|
+
- [Version 0.2.6 <span class="timestamp-wrapper"><span class="timestamp">[2017-10-27 Fri]</span></span>](#org3fb2f79)
|
|
35
|
+
- [Version 0.2.4 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-23 Tue]</span></span>](#orga98309a)
|
|
36
|
+
- [Version 0.2.3 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-08 Mon]</span></span>](#org9eb4da5)
|
|
37
|
+
- [Version 0.2.2 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-08 Mon]</span></span>](#org635f10b)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<a id="org89de037"></a>
|
|
41
|
+
|
|
42
|
+
# Version 1.1.0 <span class="timestamp-wrapper"><span class="timestamp">[2026-11-23 Mon]</span></span>
|
|
43
|
+
|
|
44
|
+
- `order_by` and `order_with` now implement stable sorting.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
<a id="org8d448cc"></a>
|
|
48
|
+
|
|
49
|
+
# Version 1.0.1 <span class="timestamp-wrapper"><span class="timestamp">[2026-11-21 Sat]</span></span>
|
|
50
|
+
|
|
51
|
+
- Eliminate loading of debug which interferes with Windows use.
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
<a id="org612a60c"></a>
|
|
55
|
+
|
|
56
|
+
# Version 1.0.0 <span class="timestamp-wrapper"><span class="timestamp">[2025-12-28 Sun]</span></span>
|
|
57
|
+
|
|
58
|
+
- Bug fixes.
|
|
59
|
+
- Numeric default post-digits changed from 0 to 4 so BigDecimal can be distinguished from Integers.
|
|
60
|
+
- README more readable with above fix.
|
|
61
|
+
- Documentation improvements.
|
|
62
|
+
- CHANGELOG added.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
<a id="orgafb1ef4"></a>
|
|
66
|
+
|
|
67
|
+
# Version 0.9.9 <span class="timestamp-wrapper"><span class="timestamp">[2025-03-19 Wed]</span></span>
|
|
68
|
+
|
|
69
|
+
- bug fixes
|
|
70
|
+
|
|
71
|
+
- No notable changes.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
<a id="org0ee20c8"></a>
|
|
75
|
+
|
|
76
|
+
# Version 0.9.8 <span class="timestamp-wrapper"><span class="timestamp">[2024-12-31 Tue]</span></span>
|
|
77
|
+
|
|
78
|
+
- bug fixes
|
|
79
|
+
|
|
80
|
+
- No notable changes.
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
<a id="orgd38a089"></a>
|
|
84
|
+
|
|
85
|
+
# Version 0.9.7 <span class="timestamp-wrapper"><span class="timestamp">[2024-12-26 Thu]</span></span>
|
|
86
|
+
|
|
87
|
+
- bug fixes
|
|
88
|
+
|
|
89
|
+
- No notable changes
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
<a id="orgd1a6e4a"></a>
|
|
93
|
+
|
|
94
|
+
# Version 0.9.5 <span class="timestamp-wrapper"><span class="timestamp">[2023-11-07 Tue]</span></span>
|
|
95
|
+
|
|
96
|
+
- Raise FatTable::NoTable exception when no table can be formed from the input.
|
|
97
|
+
- Ingore org rows with the wrong number of columns.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
<a id="orgbbf659f"></a>
|
|
101
|
+
|
|
102
|
+
# Version 0.9.3 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-24 Wed]</span></span>
|
|
103
|
+
|
|
104
|
+
- Bug fixes
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<a id="org71e893c"></a>
|
|
108
|
+
|
|
109
|
+
# Version 0.9.2 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>
|
|
110
|
+
|
|
111
|
+
- Bug fixes
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<a id="org1bd50b1"></a>
|
|
115
|
+
|
|
116
|
+
# Version 0.9.1 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>
|
|
117
|
+
|
|
118
|
+
- Bug fixes
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<a id="orgd502dc0"></a>
|
|
122
|
+
|
|
123
|
+
# Version 0.9.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-05-22 Mon]</span></span>
|
|
124
|
+
|
|
125
|
+
- Bug fixes
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
<a id="org1b6a32d"></a>
|
|
129
|
+
|
|
130
|
+
# Version 0.8.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-04-20 Thu]</span></span>
|
|
131
|
+
|
|
132
|
+
- Changed the API to allow explicit column typing and tolerance designation with keyword args such as `head1: 'num~'` to make `head1` column be typed as numeric (the `num` part) but tolerant (the `~`)
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
<a id="orgdb5d2fe"></a>
|
|
136
|
+
|
|
137
|
+
# Version 0.7.0 <span class="timestamp-wrapper"><span class="timestamp">[2023-04-02 Sun]</span></span>
|
|
138
|
+
|
|
139
|
+
- Bug fixes
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
<a id="orgf14c5a7"></a>
|
|
143
|
+
|
|
144
|
+
# Version 0.6.6 <span class="timestamp-wrapper"><span class="timestamp">[2023-01-09 Mon]</span></span>
|
|
145
|
+
|
|
146
|
+
- Changed the default number of post-decimal digits to 0 for Numeric,
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
<a id="orgde9afb6"></a>
|
|
150
|
+
|
|
151
|
+
# Version 0.6.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-06-04 Sat]</span></span>
|
|
152
|
+
|
|
153
|
+
- Allow select to set new column to a constant,
|
|
154
|
+
- Allow select string expression to signal literal string with a leading colon, since string constants are now allowed; otherwise eval the string.
|
|
155
|
+
- Added day-of-week to org-formatted dates just like `org-mode`
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
<a id="org4af07c9"></a>
|
|
159
|
+
|
|
160
|
+
# Version 0.6.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-05-24 Tue]</span></span>
|
|
161
|
+
|
|
162
|
+
- Bug fixes
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<a id="orgdfb3a98"></a>
|
|
166
|
+
|
|
167
|
+
# Version 0.6.1 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-26 Sat]</span></span>
|
|
168
|
+
|
|
169
|
+
- Fixed bug in dynamic labels in footers,
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
<a id="org0954f36"></a>
|
|
173
|
+
|
|
174
|
+
# Version 0.6.0 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-26 Sat]</span></span>
|
|
175
|
+
|
|
176
|
+
- Added dynamic labels in footers,
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
<a id="org27e31f2"></a>
|
|
180
|
+
|
|
181
|
+
# Version 0.5.5 <span class="timestamp-wrapper"><span class="timestamp">[2022-03-25 Fri]</span></span>
|
|
182
|
+
|
|
183
|
+
- Better handling of aggregates for all-nil columns
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
<a id="org97a842a"></a>
|
|
187
|
+
|
|
188
|
+
# Version 0.5.4 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-27 Thu]</span></span>
|
|
189
|
+
|
|
190
|
+
- Aggregate function filter out all type-incompatible elements, not just nils, since tolerant columns may have such elements,
|
|
191
|
+
- Make header-based formatting a higher priority than type-based formatting,
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
<a id="orge1002d7"></a>
|
|
195
|
+
|
|
196
|
+
# Version 0.5.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-24 Mon]</span></span>
|
|
197
|
+
|
|
198
|
+
- Added support for "tolerant" column types that allow non-coercable strings in non-String columns,
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
<a id="org2eccba3"></a>
|
|
202
|
+
|
|
203
|
+
# Version 0.5.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-22 Sat]</span></span>
|
|
204
|
+
|
|
205
|
+
- documentation only
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
<a id="org31d68b7"></a>
|
|
209
|
+
|
|
210
|
+
# Version 0.5.1 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-21 Fri]</span></span>
|
|
211
|
+
|
|
212
|
+
- changed `rng` column aggregate to `range` and return `Range(min, max)`
|
|
213
|
+
- Added new methods for forming table footers based on aggregates,
|
|
214
|
+
- Allow lambdas as group aggregate functions,
|
|
215
|
+
- Improved handling of nils in aggregate and `order_by`,
|
|
216
|
+
- Added an `order_with` method for ordering by expression,
|
|
217
|
+
- Bug fixes and performance improvements,
|
|
218
|
+
- Added special symbol `:omni` in `select` as short-hand for all columns,
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
<a id="org9af6b5a"></a>
|
|
222
|
+
|
|
223
|
+
# Version 0.4.2 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-06 Thu]</span></span>
|
|
224
|
+
|
|
225
|
+
- bug fixes only
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
<a id="org8f46953"></a>
|
|
229
|
+
|
|
230
|
+
# Version 0.4.0 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-02 Sun]</span></span>
|
|
231
|
+
|
|
232
|
+
- bug fixes only
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<a id="org83508cd"></a>
|
|
236
|
+
|
|
237
|
+
# Version 0.3.4 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-01 Sat]</span></span>
|
|
238
|
+
|
|
239
|
+
- minor bug fix only
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
<a id="org38d8493"></a>
|
|
243
|
+
|
|
244
|
+
# Version 0.3.3 <span class="timestamp-wrapper"><span class="timestamp">[2022-01-01 Sat]</span></span>
|
|
245
|
+
|
|
246
|
+
- Added date format 'Tue, 01 Nov 2016' to be parsed as a Date.
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
<a id="orge6a6426"></a>
|
|
250
|
+
|
|
251
|
+
# Version 0.3.1 <span class="timestamp-wrapper"><span class="timestamp">[2020-12-13 Sun]</span></span>
|
|
252
|
+
|
|
253
|
+
- documentation only
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<a id="org2676eb8"></a>
|
|
257
|
+
|
|
258
|
+
# Version 0.3.0 <span class="timestamp-wrapper"><span class="timestamp">[2020-06-10 Wed]</span></span>
|
|
259
|
+
|
|
260
|
+
- gem dependency changes only
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
<a id="orgfe92f9e"></a>
|
|
264
|
+
|
|
265
|
+
# Version 0.2.11 <span class="timestamp-wrapper"><span class="timestamp">[2019-12-29 Sun]</span></span>
|
|
266
|
+
|
|
267
|
+
- bug fixes only
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
<a id="orgdd5903e"></a>
|
|
271
|
+
|
|
272
|
+
# Version 0.2.9 <span class="timestamp-wrapper"><span class="timestamp">[2019-04-04 Thu]</span></span>
|
|
273
|
+
|
|
274
|
+
- documentation fixes only
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<a id="org0c9ef1a"></a>
|
|
278
|
+
|
|
279
|
+
# Version 0.2.8 <span class="timestamp-wrapper"><span class="timestamp">[2018-08-28 Tue]</span></span>
|
|
280
|
+
|
|
281
|
+
- No notable changes
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
<a id="orgfd954d8"></a>
|
|
285
|
+
|
|
286
|
+
# Version 0.2.7 <span class="timestamp-wrapper"><span class="timestamp">[2017-12-29 Fri]</span></span>
|
|
287
|
+
|
|
288
|
+
- Minor bug fixes and performance improvements
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
<a id="org3fb2f79"></a>
|
|
292
|
+
|
|
293
|
+
# Version 0.2.6 <span class="timestamp-wrapper"><span class="timestamp">[2017-10-27 Fri]</span></span>
|
|
294
|
+
|
|
295
|
+
- Added recognition of American-style dates
|
|
296
|
+
- Allows + or negative signs before numbers
|
|
297
|
+
- Added `ivars` that can be set in `before_hook` and `after_hook`
|
|
298
|
+
- Allowed American-order date 'mm-dd-yyyy' to be parsed
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
<a id="orga98309a"></a>
|
|
302
|
+
|
|
303
|
+
# Version 0.2.4 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-23 Tue]</span></span>
|
|
304
|
+
|
|
305
|
+
- Added instance variables to ft\_console
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
<a id="org9eb4da5"></a>
|
|
309
|
+
|
|
310
|
+
# Version 0.2.3 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-08 Mon]</span></span>
|
|
311
|
+
|
|
312
|
+
- No notable changes
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
<a id="org635f10b"></a>
|
|
316
|
+
|
|
317
|
+
# Version 0.2.2 <span class="timestamp-wrapper"><span class="timestamp">[2017-05-08 Mon]</span></span>
|
|
318
|
+
|
|
319
|
+
- Initial release
|