tabulo 2.0.0 → 2.0.1
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/CHANGELOG.md +4 -0
- data/README.md +3 -3
- data/VERSION +1 -1
- data/lib/tabulo/table.rb +2 -2
- data/lib/tabulo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f7388f639b9e0e0031eb530852d89e1bbc624681015cf15123ceac63d0dc18d
|
4
|
+
data.tar.gz: bb382fa898fbe97f10df18a468d10eb3b58323180fdf605e3c39acfb7fdb99ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f7119a69fc0571a0ec2b83344bd32912211beb2de6089c178c86c8d02576845b19cbe39edcf2f0374e77e914d4626f56354630450352201f1a2d3534e3e44d0
|
7
|
+
data.tar.gz: bbca3b24ef5811f46d73484174e0884adca53a0abac578263048096843667bcd7d9317eeb0a4c327520b062ffd9dd190664f7194991ecb72bb85b13b265ee8c5
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -652,7 +652,7 @@ a new table in which the rows and columns are swapped:
|
|
652
652
|
By default, a header row is added to the new table, showing the string value of the element
|
653
653
|
represented in that column. This can be configured, however, along with other aspects of
|
654
654
|
`transpose`'s behaviour. For details, see the
|
655
|
-
[documentation](https://www.rubydoc.info/gems/tabulo/2.0.
|
655
|
+
[documentation](https://www.rubydoc.info/gems/tabulo/2.0.1/Tabulo/Table#transpose-instance_method).
|
656
656
|
|
657
657
|
<a name="borders"></a>
|
658
658
|
### Configuring borders
|
@@ -828,14 +828,14 @@ The gem is available as open source under the terms of the [MIT
|
|
828
828
|
License](http://opensource.org/licenses/MIT).
|
829
829
|
|
830
830
|
[Gem Version]: https://rubygems.org/gems/tabulo
|
831
|
-
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.0.
|
831
|
+
[Documentation]: http://www.rubydoc.info/gems/tabulo/2.0.1
|
832
832
|
[Build Status]: https://travis-ci.org/matt-harvey/tabulo
|
833
833
|
[Coverage Status]: https://coveralls.io/r/matt-harvey/tabulo
|
834
834
|
[Code Climate]: https://codeclimate.com/github/matt-harvey/tabulo
|
835
835
|
[Awesome Ruby]: https://github.com/markets/awesome-ruby#cli-utilities
|
836
836
|
|
837
837
|
[GV img]: https://img.shields.io/gem/v/tabulo.svg
|
838
|
-
[DC img]: https://img.shields.io/badge/documentation-v2.0.
|
838
|
+
[DC img]: https://img.shields.io/badge/documentation-v2.0.1-blue.svg
|
839
839
|
[BS img]: https://img.shields.io/travis/matt-harvey/tabulo.svg
|
840
840
|
[CS img]: https://img.shields.io/coveralls/matt-harvey/tabulo.svg
|
841
841
|
[CC img]: https://codeclimate.com/github/matt-harvey/tabulo/badges/gpa.svg
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
data/lib/tabulo/table.rb
CHANGED
@@ -72,14 +72,14 @@ module Tabulo
|
|
72
72
|
# @param [:ascii, :markdown, :modern, :blank, nil] border (nil) Determines the characters used
|
73
73
|
# for the Table border, including both the characters around the outside of table, and the lines drawn
|
74
74
|
# within the table to separate columns from each other and the header row from the Table body.
|
75
|
+
# If <tt>nil</tt>, then the value of {DEFAULT_BORDER} will be used.
|
75
76
|
# Possible values are:
|
76
77
|
# - `:ascii` Uses ASCII characters only
|
77
|
-
# - `:markdown` Produces
|
78
|
+
# - `:markdown` Produces a GitHub-flavoured Markdown table
|
78
79
|
# - `:modern` Uses non-ASCII Unicode characters to render a border with smooth continuous lines
|
79
80
|
# - `:blank` No border characters are rendered
|
80
81
|
# - `:classic` Like `:ascii`, but does not have a horizontal line at the bottom of the
|
81
82
|
# table. This reproduces the default behaviour in `tabulo` v1.
|
82
|
-
# If <tt>nil</tt>, then {DEFAULT_BORDER} will be used.
|
83
83
|
# @param [nil, #to_proc] border_styler (nil) A lambda or other callable object taking
|
84
84
|
# a single parameter, representing a section of the table's borders (which for this purpose
|
85
85
|
# include any horizontal and vertical lines inside the table), and returning a string.
|
data/lib/tabulo/version.rb
CHANGED