flexible_table 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/print_helper.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 87a39f425b93bfe9764411addd45abb6a172ba35
4
- data.tar.gz: 2863f2030c00a87bc9e7962b4f1ff188394c3d65
3
+ metadata.gz: eb32fbb807a11be81d452aa2582d121a4d6327be
4
+ data.tar.gz: d5fc16f8acb756dafc5a4b2a07b68672ac01314c
5
5
  SHA512:
6
- metadata.gz: e7789777d44279338c617989f360e2c784dbf5d775bc03e63546422fc37d8c6f00b985dc4ff8963385cbfcc7eff9e05c587070739103f693d582766aa9895126
7
- data.tar.gz: 3ecc8474a3ad64277977659a13e849880da070d1c5b393ad970aa18251aaac9d75ea20c58cff75c14a6cd3e238de491de901916f85a627435219b416d24025f0
6
+ metadata.gz: 3d6ae2a2fb023cac314bb00320e45ae9dbab23cc03a8a9d9924a6ebfdf949f564c04507ad0ac4789d31f156bbebc945201e17e18735b3092b61f3ef3790660d1
7
+ data.tar.gz: d49283ff2ff338e3648514bdd00d7efa32a9fd61786e13814937d2f1c55ddf741873c666796f4c1a9cb704d0e2e14108b476ecb398986e19cfe7e0ab8e937b8b
data/lib/print_helper.rb CHANGED
@@ -7,7 +7,7 @@ module PrintHelper
7
7
  end
8
8
 
9
9
  def get_printable_output(str, abs_width)
10
- return str[0..(abs_width - 1)]
10
+ return str.to_s[0..(abs_width - 1)]
11
11
  end
12
12
 
13
13
  def print_header_line
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flexible_table
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Sykes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-16 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Prints a table that can have different column widths that also respond
14
14
  in size relative to the size of the terminal window