table_print 1.3.2 → 1.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjM0ZWE0MWM5YjIyYTM5NWFjZjY0NzljMTQyNDQyMDRiMmJmOGZkOQ==
4
+ OTNlNTA4MWFhMDUyZGZkMWE1MWQyZTY5NjUzNzI4MTg3NjRkMzE1ZA==
5
5
  data.tar.gz: !binary |-
6
- YWVjYTdjNjExNTdlZjVjNTU2ZTE3ZWE2YzYzN2IxYWExYzA4NTc4NA==
6
+ OTQ4NjZkNzVlMTgyMjkxMmQxNWRkNWQ1ODE3NWM3YmZiOTE0YjFkOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZDI1MWNjMzQ2ZWZmYjk5MTllMTI0MDk5MWQxMzc4NjBhODc5NGY0YzFhYjlk
10
- Nzg2M2JhMmZlNjNlMGEwOTY2ZTRhYjEzMTUwOTc2YTgzMjRmM2IyYjhiNDI4
11
- NWZkMjkwYWYwZjJlNGFlYThjMmQ3ODI0NWY4MjJhNjY0YjFiZjg=
9
+ YjFjZjU5ZDFkYTZjM2VmNTA3MTMzN2VmY2ZjMDgxNWEwN2E0OTgwMTVhNWIy
10
+ NGRlYWM0ZTc3MTI5ZmQ0OTcxNzBkNmU1MGZmYmQ4Mzc0ZDc1N2E0ZjQ4OTlj
11
+ ZGZkNTAxMjdmZTYzMGJiNDMwYjBhOWMwMWU3YjJjYjQzNjE0MzM=
12
12
  data.tar.gz: !binary |-
13
- MTgwYmYwYmE2YzcxYTA2Yzk2OTlmYzViNzMyMDFmYWI3MjI2Mzc3ZTBhMzI5
14
- Zjg3ZmM5NWNjMDJmZDlkYmIyOGI0MjY0NjMwMDhkZDgxZjY5MDgyMTVjYzY0
15
- Nzk4ZjY4YmMyNzlkMGUxZWM5MmY5NGY3MmI5MTUyZmYwYzNhNGE=
13
+ ZjYxNjkxOGMwODYzZmRiNjMyNzI3YTU1OWM0YTI4MTQyY2IzZGQxN2FhMDcw
14
+ NGJhYTExYjVhMDBjNDk0ZjhiNWQxYjM0YWY4MjhmZTBlYzZlODcxNmY2NGY3
15
+ Yjk0NWQ1MzRmOTU1MzI1NDRlYThmZGE4ODg5M2I0YjI4MTg4MjI=
@@ -37,7 +37,7 @@ module TablePrint
37
37
  [
38
38
  name.each_char.collect{|c| c.bytesize == 1 ? 1 : 2}.inject(0, &:+),
39
39
  Array(data).compact.collect(&:to_s).collect{|m| m.each_char.collect{|n| n.bytesize == 1 ? 1 : 2}.inject(0, &:+)}.max
40
- ].max
40
+ ].compact.max || 0
41
41
  end
42
42
 
43
43
  def width
@@ -1,4 +1,4 @@
1
1
  module TablePrint
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_print
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Doyle