autoreporter 0.0.20190730 → 0.0.20230707.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 +8 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3057aa188265ad6b9f00bbebf4c411283d3816ff78d86f2f00e563dd6aedbf39
|
4
|
+
data.tar.gz: 47f294af68aadb949727f68fd72c4794d6a4e38d25e4780e0c1c5b2f3214f607
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfe52569e56154cbb9848474257affd8b9fc18d2327af6c09b34ac01d2577ee634c2df41a5523a357102f912fca741618a96ecbef0af613e328d5c56ada18ae9
|
7
|
+
data.tar.gz: 22abcd5ce7c2d1bee06faafa9ea5d5b5f1efa8ffa932ed24e896529c16b879022778b206f8b8a99ddc574a3fc8cd228124cbb191a56af82a42d99e9e9a637f91
|
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
|
|
@@ -47,5 +50,8 @@ class Autoreporter
|
|
47
50
|
display_result!
|
48
51
|
wait_for_condition!
|
49
52
|
end
|
53
|
+
rescue Interrupt
|
54
|
+
# Allow clean exit for Ctrl-C
|
55
|
+
return
|
50
56
|
end
|
51
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autoreporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.20230707.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomasz Wegrzanowski
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: optimist
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email: Tomasz.Wegrzanowski@gmail.com
|
57
57
|
executables:
|
58
58
|
- autoreporter
|
@@ -65,7 +65,7 @@ homepage: https://github.com/taw/autoreporter
|
|
65
65
|
licenses:
|
66
66
|
- MIT
|
67
67
|
metadata: {}
|
68
|
-
post_install_message:
|
68
|
+
post_install_message:
|
69
69
|
rdoc_options: []
|
70
70
|
require_paths:
|
71
71
|
- lib
|
@@ -80,8 +80,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
rubygems_version: 3.
|
84
|
-
signing_key:
|
83
|
+
rubygems_version: 3.3.26
|
84
|
+
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Command line report runner
|
87
87
|
test_files: []
|