tabulo 2.6.2 → 2.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/CHANGELOG.md +4 -0
- data/README.md +7 -7
- data/VERSION +1 -1
- data/lib/tabulo/version.rb +1 -1
- data/tabulo.gemspec +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdf2e4da09cd06510108899c38ddd3c144b04daa4b8f54f3a45593a78aee4f92
|
4
|
+
data.tar.gz: fb604197bd38a80a74b1282ca693903fd6a064502410e13ad4b1022b64f3adcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee8a6b465a79fef67af10a08c7affc5c83a804b959aaa326202f24efe96aa189dfdd27c31650104f7e80c7eaccbf06ec04374f06f4e76fbdf381151356f438d5
|
7
|
+
data.tar.gz: 18b13fd6d50be85f7e18c98ef23f4d0e3ce035a89ddc494589d5419fec94a85a99d323da969c111455de4890fd4ad8f34ee091da0ceeda320e69621dfc6cef92
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -688,7 +688,7 @@ the table.
|
|
688
688
|
The `formatter` callback also has an alternative, 2-parameter version. If `formatter` is passed
|
689
689
|
a 2-parameter callable, the second parameter will be given a `CellData` instance,
|
690
690
|
containing additional information about the cell that may be useful in determining how to format
|
691
|
-
it—see the [documentation](https://www.rubydoc.info/gems/tabulo/2.6.
|
691
|
+
it—see the [documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/CellData.html)
|
692
692
|
for details.
|
693
693
|
|
694
694
|
<a name="colours-and-styling"></a>
|
@@ -734,7 +734,7 @@ number is even). The second parameter represents the formatted string value of t
|
|
734
734
|
content after any processing by the [formatter](#formatting-cell-values). The third and fourth
|
735
735
|
parameters are optional, and contain further information about the cell and its contents that may be useful in
|
736
736
|
determining how to style it. See the
|
737
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.
|
737
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#add_column-instance_method) for details.
|
738
738
|
|
739
739
|
If the content of a cell is wrapped over multiple lines, then the `styler` will be called once
|
740
740
|
per line, so that each line of the cell will have the escape sequence applied to it separately
|
@@ -754,7 +754,7 @@ table.add_column(:even?, header_styler: -> (s) { "\033[32m#{s}\033[0m" })
|
|
754
754
|
```
|
755
755
|
|
756
756
|
The `header_styler` option accepts a 1-, 2- or 3-parameter callable. See the
|
757
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.
|
757
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#add_column-instance_method)
|
758
758
|
for details.
|
759
759
|
|
760
760
|
<a name="styling-title"></a>
|
@@ -768,7 +768,7 @@ table = Tabulo::Table.new(1..5, :itself, :even?, :odd?, title: "Numbers", title_
|
|
768
768
|
```
|
769
769
|
|
770
770
|
The `title_styler` option accepts a 1- or 2-parameter callable. See the
|
771
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.
|
771
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#initialize-instance_method)
|
772
772
|
for details.
|
773
773
|
|
774
774
|
<a name="styling-borders"></a>
|
@@ -963,7 +963,7 @@ a new table in which the rows and columns are swapped:
|
|
963
963
|
By default, a header row is added to the new table, showing the string value of the element
|
964
964
|
represented in that column. This can be configured, however, along with other aspects of
|
965
965
|
`transpose`’s behaviour. For details, see the
|
966
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.
|
966
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.6.3/Tabulo/Table#transpose-instance_method).
|
967
967
|
|
968
968
|
<a name="borders"></a>
|
969
969
|
### Configuring borders [↑](#contents)
|
@@ -1354,14 +1354,14 @@ The gem is available as open source under the terms of the [MIT
|
|
1354
1354
|
License](http://opensource.org/licenses/MIT).
|
1355
1355
|
|
1356
1356
|
[Gem Version]: https://rubygems.org/gems/tabulo
|
1357
|
-
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.6.
|
1357
|
+
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.6.3
|
1358
1358
|
[Build Status]: https://travis-ci.org/matt-harvey/tabulo
|
1359
1359
|
[Coverage Status]: https://coveralls.io/r/matt-harvey/tabulo
|
1360
1360
|
[Code Climate]: https://codeclimate.com/github/matt-harvey/tabulo
|
1361
1361
|
[Awesome Ruby]: https://github.com/markets/awesome-ruby#cli-utilities
|
1362
1362
|
|
1363
1363
|
[GV img]: https://img.shields.io/gem/v/tabulo.svg
|
1364
|
-
[DC img]: https://img.shields.io/badge/documentation-v2.6.
|
1364
|
+
[DC img]: https://img.shields.io/badge/documentation-v2.6.3-blue.svg
|
1365
1365
|
[BS img]: https://img.shields.io/travis/matt-harvey/tabulo.svg
|
1366
1366
|
[CS img]: https://img.shields.io/coveralls/matt-harvey/tabulo.svg
|
1367
1367
|
[CC img]: https://codeclimate.com/github/matt-harvey/tabulo/badges/gpa.svg
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.6.
|
1
|
+
2.6.3
|
data/lib/tabulo/version.rb
CHANGED
data/tabulo.gemspec
CHANGED
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
|
|
29
29
|
}
|
30
30
|
|
31
31
|
spec.add_runtime_dependency "tty-screen", "0.8.1"
|
32
|
-
spec.add_runtime_dependency "unicode-display_width", "
|
32
|
+
spec.add_runtime_dependency "unicode-display_width", "2.0.0"
|
33
33
|
|
34
34
|
spec.add_development_dependency "bundler"
|
35
35
|
spec.add_development_dependency "rake", "~> 12.3.3"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tabulo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Harvey
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-screen
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 2.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 2.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -205,7 +205,7 @@ licenses:
|
|
205
205
|
metadata:
|
206
206
|
source_code_uri: https://github.com/matt-harvey/tabulo
|
207
207
|
changelog_uri: https://raw.githubusercontent.com/matt-harvey/tabulo/master/CHANGELOG.md
|
208
|
-
post_install_message:
|
208
|
+
post_install_message:
|
209
209
|
rdoc_options: []
|
210
210
|
require_paths:
|
211
211
|
- lib
|
@@ -221,7 +221,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
221
221
|
version: '0'
|
222
222
|
requirements: []
|
223
223
|
rubygems_version: 3.1.2
|
224
|
-
signing_key:
|
224
|
+
signing_key:
|
225
225
|
specification_version: 4
|
226
226
|
summary: Terminal table generator
|
227
227
|
test_files: []
|