term-slides 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/term-slides.rb +1 -1
  3. data/lib/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 908dfa6bf008b945b6cf12162047ee5ed38250e42905a8a68e77bb3b8764f7f6
4
- data.tar.gz: 6df0e52ac5846fc38593a65d50c8840a485a9eb1c754a84d695946462687b023
3
+ metadata.gz: '09ce508cc1cd157ef1e91e5e73804df65b61012f82bb269cae3043b092940c54'
4
+ data.tar.gz: 3f9a184351aae31f1972e09ac72bba6d0030967c19ee5f8a9733bb27d216b1d2
5
5
  SHA512:
6
- metadata.gz: bf51f0aa47efe88a8a25327339b6506351f86120193d881f6597f1bbdf3eb5aa7874ed3c5978eecad635ea863696699bf1345f81e45de855c2f2f11fb39e6b05
7
- data.tar.gz: 3f193886dcac84edc8a0ab31728759bba076d931f9d9b4bb4a02ceed640929b85e4f847726b8e23cd5d5de8be462353c1e64d173d0e05a5358e9436ff7808cb0
6
+ metadata.gz: b8e0dc70a1bdcff3c1fdf710fc264d356c8523d08c1a5778c8e08630de8e5359ce55d37dae3149bdf27abcd3d151d9c8a0d91f05738d9393150871e7a6bcd268
7
+ data.tar.gz: 624fad869065f033aaf37942fa97d1928c7dfd37652adf8d3a7bb48d916e86026b37da7b132efba5ec4d4f24ba8075c64610df384f68bdb83c24019acb1474b9
@@ -18,7 +18,7 @@ module TermSlide
18
18
  puts center(TTY::Table.new(table.headers, table.rows).render(:unicode))
19
19
  end
20
20
  def center text
21
- width = HighLine::SystemExtensions.terminal_size.first
21
+ width = HighLine.terminal_size.first
22
22
  text.split("\n").map { |x| x.center(width) }.join("\n")
23
23
  end
24
24
  def render_text text
@@ -1,5 +1,5 @@
1
1
  module Term
2
2
  module Slides
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: term-slides
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yazgoo