tabulo 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +5 -0
- data/README.md +8 -8
- data/VERSION +1 -1
- data/lib/tabulo/border.rb +1 -1
- data/lib/tabulo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1417a8a8aa4d8bbeea0b0c983e49fee669e0717cc01e2aa2b04c0e80d1d38a8c
|
4
|
+
data.tar.gz: 3f45955cce5a731536f7b9e11fcc11bc637f29ba7952d33c4361a13dc4efb7ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 499bcbd5686f20554c1e08d6945883f9cdbd930933f422e550c6254a0b8f7ace45949deb95c7963fcf48b044ae7931d4c298d3449a61b0bc03ca798ca12ea2aa
|
7
|
+
data.tar.gz: 81d5531791eff6a85f8e0f9a41887cd193526ccd31472763660da66cdd312639a48529cac1b33239e096c6976975c8b33d45ed1cb9c609b80de748f3c62cba12
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -651,7 +651,7 @@ a new table in which the rows and columns are swapped:
|
|
651
651
|
By default, a header row is added to the new table, showing the string value of the element
|
652
652
|
represented in that column. This can be configured, however, along with other aspects of
|
653
653
|
`transpose`'s behaviour. For details, see the
|
654
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.1.
|
654
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.1.1/Tabulo/Table#transpose-instance_method).
|
655
655
|
|
656
656
|
<a name="borders"></a>
|
657
657
|
### Configuring borders
|
@@ -662,7 +662,7 @@ This is done using the `border` option passed to `Table.new`. The options are as
|
|
662
662
|
`:ascii`—this is the default; the table is drawn entirely with characters in the ASCII set:
|
663
663
|
|
664
664
|
```
|
665
|
-
> puts Tabulo::Table.new(1
|
665
|
+
> puts Tabulo::Table.new(1..3, :itself, :even?, :odd?, border: :ascii)
|
666
666
|
+--------------+--------------+--------------+
|
667
667
|
| itself | even? | odd? |
|
668
668
|
+--------------+--------------+--------------+
|
@@ -699,7 +699,7 @@ This is done using the `border` option passed to `Table.new`. The options are as
|
|
699
699
|
`:blank`—no border or divider characters are printed:
|
700
700
|
|
701
701
|
```
|
702
|
-
> puts Tabulo::Table.new(1
|
702
|
+
> puts Tabulo::Table.new(1..3, :itself, :even?, :odd?, border: :blank)
|
703
703
|
itself even? odd?
|
704
704
|
1 false true
|
705
705
|
2 true false
|
@@ -709,7 +709,7 @@ This is done using the `border` option passed to `Table.new`. The options are as
|
|
709
709
|
`:reduced_ascii`—similar to `:ascii`, but without vertical lines:
|
710
710
|
|
711
711
|
```
|
712
|
-
> puts Tabulo::Table.new(1
|
712
|
+
> puts Tabulo::Table.new(1..3, :itself, :even?, :odd?, border: :reduced_modern)
|
713
713
|
-------------- -------------- --------------
|
714
714
|
itself even? odd?
|
715
715
|
-------------- -------------- --------------
|
@@ -722,7 +722,7 @@ This is done using the `border` option passed to `Table.new`. The options are as
|
|
722
722
|
`:reduced_modern`—similar to `:modern`, but without vertical lines:
|
723
723
|
|
724
724
|
```
|
725
|
-
> puts Tabulo::Table.new(1
|
725
|
+
> puts Tabulo::Table.new(1..3, :itself, :even?, :odd?, border: :reduced_ascii)
|
726
726
|
────────────── ────────────── ──────────────
|
727
727
|
itself even? odd?
|
728
728
|
────────────── ────────────── ──────────────
|
@@ -736,7 +736,7 @@ This is done using the `border` option passed to `Table.new`. The options are as
|
|
736
736
|
but without a bottom border:
|
737
737
|
|
738
738
|
```
|
739
|
-
> puts Tabulo::Table.new(1
|
739
|
+
> puts Tabulo::Table.new(1..3, :itself, :even?, :odd?, border: :classic)
|
740
740
|
+--------------+--------------+--------------+
|
741
741
|
| itself | even? | odd? |
|
742
742
|
+--------------+--------------+--------------+
|
@@ -847,14 +847,14 @@ The gem is available as open source under the terms of the [MIT
|
|
847
847
|
License](http://opensource.org/licenses/MIT).
|
848
848
|
|
849
849
|
[Gem Version]: https://rubygems.org/gems/tabulo
|
850
|
-
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.1.
|
850
|
+
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.1.1
|
851
851
|
[Build Status]: https://travis-ci.org/matt-harvey/tabulo
|
852
852
|
[Coverage Status]: https://coveralls.io/r/matt-harvey/tabulo
|
853
853
|
[Code Climate]: https://codeclimate.com/github/matt-harvey/tabulo
|
854
854
|
[Awesome Ruby]: https://github.com/markets/awesome-ruby#cli-utilities
|
855
855
|
|
856
856
|
[GV img]: https://img.shields.io/gem/v/tabulo.svg
|
857
|
-
[DC img]: https://img.shields.io/badge/documentation-v2.1.
|
857
|
+
[DC img]: https://img.shields.io/badge/documentation-v2.1.1-blue.svg
|
858
858
|
[BS img]: https://img.shields.io/travis/matt-harvey/tabulo.svg
|
859
859
|
[CS img]: https://img.shields.io/coveralls/matt-harvey/tabulo.svg
|
860
860
|
[CC img]: https://codeclimate.com/github/matt-harvey/tabulo/badges/gpa.svg
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.1
|
data/lib/tabulo/border.rb
CHANGED
data/lib/tabulo/version.rb
CHANGED
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.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Harvey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tty-screen
|