pause_output 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5342f9d87af606805365df2af5c446efca66ba75
4
- data.tar.gz: 6b1f9b15f87fd1c025a74c72e152a9abe3db487a
3
+ metadata.gz: e4bf4d23cd1bc4ad32ab0bf9ef6b16c55854a3ad
4
+ data.tar.gz: 4a48dc6a1dd7c55f3e26452ec97d6b4b8044eed0
5
5
  SHA512:
6
- metadata.gz: daf91ec8df41fc794ef1771f9bb144ed9edd1c1e9bbba18f8ac7c714c836c494144b825bf500346566af525ec4f2dc091aab5088fbdb6f50555336c2fdba907d
7
- data.tar.gz: 16c3baf9839ed3cf8538a613a16cd4ea34d10cae13fd9ecf599f0dc5fb60faab2b24f14a1d64ec7d5224ce8e6261cb8dbfb5a75222413768be17834d89beda8c
6
+ metadata.gz: dfb1628b3399782cda367aa30b0c050e80f1b07b3769a21b0ef6834d0d652cdf2a1f8ce3945d49b66e2c6e984b7917e67981fa457a44b5862396a8dfe8e2d030
7
+ data.tar.gz: 7a567d20923d3716f12baf13f13dfb37d2a1db6337689b0bfa65ef5e02315a52e07e71198a656c3f1c5e9313821d38222d1a6d48148c81c1003f8e02e20220dc
@@ -16,7 +16,7 @@ module PauseOutput
16
16
 
17
17
  # Write out a general string with page pauses.
18
18
  def write(str)
19
- while !str.empty?
19
+ until str.empty?
20
20
  pre,mid,str = str.partition("\n")
21
21
  write_str(pre) unless pre.empty?
22
22
  writeln unless mid.empty?
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Pause console output so that it can be read before scrolling off the screen.
4
4
  module PauseOutput
5
- VERSION = "0.1.1".freeze
5
+ VERSION = "0.1.2".freeze
6
6
 
7
7
  DESCRIPTION = "pause_output: A simple facility to pause output on the console terminal.".freeze
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pause_output
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PeterCamilleri
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-04-07 00:00:00.000000000 Z
11
+ date: 2019-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler