autoreporter 0.0.20190730 → 0.0.20190730.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/lib/autoreporter.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8cf6e72dc26da8d8dd74347e87d2b2edf8ff287976c2b4c50cfff6c5e368426
4
- data.tar.gz: b39de6dc7448ca857eed03fb47dd213977401df6a094b62eb679201788e5abf9
3
+ metadata.gz: 6d71b90746ea28c8830d076e0c5a9f2bd42a68015185c32d7aa58cf71b894f5a
4
+ data.tar.gz: 51a31a0f6e1dd0dde5d5080d53c25d3fa98493d0ddbb9634d3240b34581da5c8
5
5
  SHA512:
6
- metadata.gz: 91c8ecf5cd28319ae1b458082f615711130751563d8d559f272dfa1a2e402d7ea3853035c325712fcec716b540648f47ff58376daf3f85158dc1d9cd4b02cde1
7
- data.tar.gz: b725dfb8d2e37ba6597ab88f279de3898dd870f5acb9930c0c3bfbad076a950077ed5e84377f3b7d93fb393d4b51104652997b0b5f77bdb01b497678bec422c6
6
+ metadata.gz: 465564668f4822696ed203e4606d6af26da94af5fee8907eabe6b7f24fabd5acf8857d5c5c93dc8645e0cfcfcd3a0ad6b54a848bf34efe429ce8db45bbe9a1d7
7
+ data.tar.gz: c4820e76de7ddbc1ad804c2e13f178573453ec539e90e7ee5c16a5d1f3d0ed75824b4980bf2a3a783d80051cb3d8d1a12a6d60a7c63a31144afae9a9b9a24a09
@@ -36,8 +36,11 @@ class Autoreporter
36
36
  # Wait for either @delay seconds
37
37
  # or for user forcing autorefresh by pressing enter
38
38
  def wait_for_condition!
39
- Timeout.timeout(@delay) do
40
- STDIN.readline
39
+ begin
40
+ Timeout.timeout(@delay) do
41
+ STDIN.readline
42
+ end
43
+ rescue Timeout::Error
41
44
  end
42
45
  end
43
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoreporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20190730
4
+ version: 0.0.20190730.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Wegrzanowski