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.
- checksums.yaml +4 -4
- data/lib/autoreporter.rb +5 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d71b90746ea28c8830d076e0c5a9f2bd42a68015185c32d7aa58cf71b894f5a
|
4
|
+
data.tar.gz: 51a31a0f6e1dd0dde5d5080d53c25d3fa98493d0ddbb9634d3240b34581da5c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 465564668f4822696ed203e4606d6af26da94af5fee8907eabe6b7f24fabd5acf8857d5c5c93dc8645e0cfcfcd3a0ad6b54a848bf34efe429ce8db45bbe9a1d7
|
7
|
+
data.tar.gz: c4820e76de7ddbc1ad804c2e13f178573453ec539e90e7ee5c16a5d1f3d0ed75824b4980bf2a3a783d80051cb3d8d1a12a6d60a7c63a31144afae9a9b9a24a09
|
data/lib/autoreporter.rb
CHANGED
@@ -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
|
-
|
40
|
-
|
39
|
+
begin
|
40
|
+
Timeout.timeout(@delay) do
|
41
|
+
STDIN.readline
|
42
|
+
end
|
43
|
+
rescue Timeout::Error
|
41
44
|
end
|
42
45
|
end
|
43
46
|
|