fat_table 0.2.2 → 0.2.3
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/fat_table.gemspec +13 -13
- data/lib/fat_table/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 979f798ea068a4c78cefc05ad23e9bac937e1931
|
4
|
+
data.tar.gz: 0b9a6103449a3adc03e997702b2b7ba7eeb293f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bcc0327bf6438751e893c4ee8d3d286d13842fc92a72970c886f0857a215973bfec8baac98700f8f09f6da31fb4e0997916da8800e48411658055c94c43d8cb
|
7
|
+
data.tar.gz: fd50900aca39b031a7974069baf8abbbdf0a0a76853faa0c95033ae8fa3157b288e2fdc5d6dfe1b47241a18d84204878e0b19669d2f6be62fb153927c0846ad9
|
data/fat_table.gemspec
CHANGED
@@ -11,33 +11,33 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{Provides tools for working with tables as a data type.}
|
13
13
|
spec.description = %q{
|
14
|
-
|
14
|
+
FatTable is a gem that treats tables as a data type. It provides methods for
|
15
15
|
constructing tables from a variety of sources, building them row-by-row,
|
16
16
|
extracting rows, columns, and cells, and performing aggregate operations on
|
17
17
|
columns. It also provides as set of SQL-esque methods for manipulating table
|
18
|
-
objects:
|
19
|
-
for filtering by rows,
|
20
|
-
duplicate rows,
|
21
|
-
applying column aggregate methods to ungrouped columns, a collection of
|
18
|
+
objects: select for filtering by columns or for creating new columns, where
|
19
|
+
for filtering by rows, order_by for sorting rows, distinct for eliminating
|
20
|
+
duplicate rows, group_by for aggregating multiple rows into single rows and
|
21
|
+
applying column aggregate methods to ungrouped columns, a collection of join
|
22
22
|
methods for combining tables, and more.
|
23
23
|
|
24
|
-
Furthermore,
|
24
|
+
Furthermore, FatTable provides methods for formatting tables and producing
|
25
25
|
output that targets various output media: text, ANSI terminals, ruby data
|
26
26
|
structures, LaTeX tables, Emacs org-mode tables, and more. The formatting
|
27
27
|
methods can specify cell formatting in a way that is uniform across all the
|
28
28
|
output methods and can also decorate the output with any number of footers,
|
29
|
-
including group footers.
|
29
|
+
including group footers. FatTable applies formatting directives to the extent
|
30
30
|
they makes sense for the output medium and treats other formatting directives as
|
31
31
|
no-ops.
|
32
32
|
|
33
|
-
|
33
|
+
FatTable can be used to perform operations on data that are naturally best
|
34
34
|
conceived of as tables, which in my experience is quite often. It can also serve
|
35
35
|
as a foundation for providing reporting functions where flexibility about the
|
36
|
-
output medium can be quite useful. Finally
|
37
|
-
|
38
|
-
presented to a ruby code block as an array of arrays, so
|
39
|
-
them in with its
|
40
|
-
array of arrays with its
|
36
|
+
output medium can be quite useful. Finally FatTable can be used within Emacs
|
37
|
+
org-mode files in code blocks targeting the Ruby language. Org mode tables are
|
38
|
+
presented to a ruby code block as an array of arrays, so FatTable can read
|
39
|
+
them in with its .from_aoa constructor. A FatTable table can output as an
|
40
|
+
array of arrays with its .to_aoa output function and will be rendered in an
|
41
41
|
org-mode buffer as an org-table, ready for processing by other code blocks.
|
42
42
|
}
|
43
43
|
|
data/lib/fat_table/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fat_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel E. Doherty
|
@@ -242,33 +242,33 @@ dependencies:
|
|
242
242
|
version: '0'
|
243
243
|
description: |2
|
244
244
|
|
245
|
-
|
245
|
+
FatTable is a gem that treats tables as a data type. It provides methods for
|
246
246
|
constructing tables from a variety of sources, building them row-by-row,
|
247
247
|
extracting rows, columns, and cells, and performing aggregate operations on
|
248
248
|
columns. It also provides as set of SQL-esque methods for manipulating table
|
249
|
-
objects:
|
250
|
-
for filtering by rows,
|
251
|
-
duplicate rows,
|
252
|
-
applying column aggregate methods to ungrouped columns, a collection of
|
249
|
+
objects: select for filtering by columns or for creating new columns, where
|
250
|
+
for filtering by rows, order_by for sorting rows, distinct for eliminating
|
251
|
+
duplicate rows, group_by for aggregating multiple rows into single rows and
|
252
|
+
applying column aggregate methods to ungrouped columns, a collection of join
|
253
253
|
methods for combining tables, and more.
|
254
254
|
|
255
|
-
Furthermore,
|
255
|
+
Furthermore, FatTable provides methods for formatting tables and producing
|
256
256
|
output that targets various output media: text, ANSI terminals, ruby data
|
257
257
|
structures, LaTeX tables, Emacs org-mode tables, and more. The formatting
|
258
258
|
methods can specify cell formatting in a way that is uniform across all the
|
259
259
|
output methods and can also decorate the output with any number of footers,
|
260
|
-
including group footers.
|
260
|
+
including group footers. FatTable applies formatting directives to the extent
|
261
261
|
they makes sense for the output medium and treats other formatting directives as
|
262
262
|
no-ops.
|
263
263
|
|
264
|
-
|
264
|
+
FatTable can be used to perform operations on data that are naturally best
|
265
265
|
conceived of as tables, which in my experience is quite often. It can also serve
|
266
266
|
as a foundation for providing reporting functions where flexibility about the
|
267
|
-
output medium can be quite useful. Finally
|
268
|
-
|
269
|
-
presented to a ruby code block as an array of arrays, so
|
270
|
-
them in with its
|
271
|
-
array of arrays with its
|
267
|
+
output medium can be quite useful. Finally FatTable can be used within Emacs
|
268
|
+
org-mode files in code blocks targeting the Ruby language. Org mode tables are
|
269
|
+
presented to a ruby code block as an array of arrays, so FatTable can read
|
270
|
+
them in with its .from_aoa constructor. A FatTable table can output as an
|
271
|
+
array of arrays with its .to_aoa output function and will be rendered in an
|
272
272
|
org-mode buffer as an org-table, ready for processing by other code blocks.
|
273
273
|
email:
|
274
274
|
- ded-law@ddoherty.net
|