term-slides 0.8.0 → 0.9.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: e15671f37e292b5aabed6dc8b1767a80d1936ec352d0569eb3fbd259d59506bb
4
- data.tar.gz: 15c29d40e1aa9a859c5e5adf8085cec271e7c326567ab416faaa2f5587ba918b
3
+ metadata.gz: be7097f73c2b5bd30e47b977428ca992665f2004c7a14cadd9c39f27704c7e5f
4
+ data.tar.gz: 0d78f89df16f3598fa73dce2ea1982109f3915b398e37406167b529b068724d4
5
5
  SHA512:
6
- metadata.gz: 149144af612d53f62269b740d15cb8e9b9c3c15d6674168ccc077b22c7608e303f0ae9c4464800c6484750f33db7406d17c18f2ef26cb11c2854b066408baaab
7
- data.tar.gz: 59107c50f4fd0a04d9c00e2fccbd00ffca9e2c2e99ddd762894d8dd0d9f24cd42954ade82f962ec57a3a5c1bf12db7ca8abd6df0871c7e1f9878283d85c83d65
6
+ metadata.gz: 442967646aee68f98a54d11f75781ff2f90acd4fb12c07fc0da3ab9bad72b0a135325e3f4a22facd63e82732e3f3666dc09b93f8998957a93eca621f8ae93f25
7
+ data.tar.gz: 9982f7e052fb2460051d8437af7f4eb1d71d5af9a35e376649a126799af875104e6f1613905ee28e55d3aaec802655c0c60f18eddeb0b9f595d07fb49dea8e03
data/lib/term-slides.rb CHANGED
@@ -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.terminal.terminal_size.first
21
+ width = HighLine::Terminal.terminal_size.first
22
22
  text.split("\n").map { |x| x.center(width) }.join("\n")
23
23
  end
24
24
  def render_text text
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Term
2
2
  module Slides
3
- VERSION = "0.8.0"
3
+ VERSION = "0.9.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.8.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yazgoo