table-formatter 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/table-formatter.rb +1 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e3b96eba902e550087ee77b0701fc50b2b3ff1c
|
4
|
+
data.tar.gz: 3eff237f64d0ee0472315d71e7c27272df8802cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 898014ae59081c32c8ea468e222a397eb56e99f47f9ebf25ca824e76c602d0ff288cebb6e26b817a41282eb7fdbf2ef6e239bd906afd81237dda593b2c25a7af
|
7
|
+
data.tar.gz: ee444b16ede63b45b3d02a9c37f8e35769d405682972d35a69eca587efc79210544a094b5790e70b769919477ca747c0056c5e27bd7f12f042a3824f9a486b7e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/table-formatter.rb
CHANGED
@@ -65,7 +65,7 @@ class TableFormatter
|
|
65
65
|
|
66
66
|
@width = col_widths.inject(&:+)
|
67
67
|
|
68
|
-
col_widths[-1] -= col_widths.inject(&:+) - @maxwidth
|
68
|
+
col_widths[-1] -= col_widths.inject(&:+) - @maxwidth if @width > @maxwidth
|
69
69
|
|
70
70
|
a.each_with_index do |x,i|
|
71
71
|
col_rows = wrap(x[-1], col_widths[-1]).split(/\n/)
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|