spritz_reader 1.0.0 → 1.0.1

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/bin/spritz +4 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: efd98842714479aa6b7d581b7eb617f982463578
4
- data.tar.gz: 5d72644afe85080986dad52a90d5a0c6f9dffddd
3
+ metadata.gz: 88658842bdf026c3c3894352d449da98e1144a85
4
+ data.tar.gz: 2c39f5b9e8dc9f19571c858bfc108006b2ff50f8
5
5
  SHA512:
6
- metadata.gz: 52a6771fd1584fab32c8d84512478f28ab95f1a3bee16e073008f7dc45af193e69b854146602c3a9b7d9f29f50a74044b4b31165af0f80bf0a6c6a35f76e9c47
7
- data.tar.gz: 521b2d3d21ac7eb52d9f0ae3eb3deacb47d2ee01921f9eb7676deec96849cb33aa1bfd227680db05104bbfc6ef3ee84e5b6f8ecf192bb19d9dae5d179ec7ef75
6
+ metadata.gz: eb92072c6e1bc3a2d883f92effed071de03a05abbf65e0550dae43a78cbbc31367a4bca1337b58395506c18968705e75804983f2dc8999c9128fb51ee75d202f
7
+ data.tar.gz: 03cd07510ce3c053fd8a6988a6bbb6b94722c21630098e90a33f50e8289b02dd49cd83a4c906ae0494cee299a2fbd85a804cfe7cbcad9d4cb2dbc72ddafbbcfa
data/bin/spritz CHANGED
@@ -47,6 +47,10 @@ while read = ARGF.read(1024)
47
47
  while word = words.shift
48
48
  word.print_word
49
49
  sleep SLEEP_SECONDS
50
+ if word.end_with?(?!, ??, ?.)
51
+ print "\r#{' '*COLUMNS}"
52
+ sleep SLEEP_SECONDS
53
+ end
50
54
  end
51
55
  end
52
56
  tail.print_word
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spritz_reader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jian Weihang