demotape 0.0.9 → 0.0.10
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/demo_tape/runner.rb +2 -2
- data/lib/demo_tape/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b2d1143daf387e845b5ec7199af5a1427eded8728cb540b45915af761f5acf4b
|
|
4
|
+
data.tar.gz: 4bd0066ff5a3922631bdc57546b41304c99ef74e77b29b3f8fbb9691eaf666e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32cf4542f3248aa4eca3b8abd57edd319df0e01dded0ea0c02baaf276abb96df6e4e8dd85b0ea4724a52c15b8a1ed0f8abd9b0a13b2757914b76a3597bb69e04
|
|
7
|
+
data.tar.gz: 508e6d51a9ce22c1c584387a32fdb73667a453be73f46c872672663fc3bb5e009c5b2bf107d538c8d04818a8fc34a1abdca0bdc6997cb8fe3925d525e356eaa2
|
data/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,10 @@ Prefix your message with one of the following:
|
|
|
11
11
|
- [Security] in case of vulnerabilities.
|
|
12
12
|
-->
|
|
13
13
|
|
|
14
|
+
## v0.0.10
|
|
15
|
+
|
|
16
|
+
- [Fixed] Ensure timeout only runs when defined.
|
|
17
|
+
|
|
14
18
|
## v0.0.9
|
|
15
19
|
|
|
16
20
|
- [Fixed] Handle `SIGINT` and `SIGQUIT` signals to gracefully stop recording.
|
data/lib/demo_tape/runner.rb
CHANGED
|
@@ -231,8 +231,8 @@ module DemoTape
|
|
|
231
231
|
def timeout
|
|
232
232
|
Thread.new do
|
|
233
233
|
tick = 0.01
|
|
234
|
-
timeout = Duration.parse(options.timeout).
|
|
235
|
-
next unless timeout
|
|
234
|
+
timeout = Duration.parse(options.timeout) if options.timeout
|
|
235
|
+
next unless timeout&.positive?
|
|
236
236
|
|
|
237
237
|
while timeout.positive?
|
|
238
238
|
break unless read_state(:keep_recording)
|
data/lib/demo_tape/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: demotape
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nando Vieira
|
|
@@ -693,10 +693,10 @@ metadata:
|
|
|
693
693
|
rubygems_mfa_required: 'true'
|
|
694
694
|
homepage_uri: https://github.com/fnando/demotape
|
|
695
695
|
bug_tracker_uri: https://github.com/fnando/demotape/issues
|
|
696
|
-
source_code_uri: https://github.com/fnando/demotape/tree/v0.0.
|
|
697
|
-
changelog_uri: https://github.com/fnando/demotape/tree/v0.0.
|
|
698
|
-
documentation_uri: https://github.com/fnando/demotape/tree/v0.0.
|
|
699
|
-
license_uri: https://github.com/fnando/demotape/tree/v0.0.
|
|
696
|
+
source_code_uri: https://github.com/fnando/demotape/tree/v0.0.10
|
|
697
|
+
changelog_uri: https://github.com/fnando/demotape/tree/v0.0.10/CHANGELOG.md
|
|
698
|
+
documentation_uri: https://github.com/fnando/demotape/tree/v0.0.10/README.md
|
|
699
|
+
license_uri: https://github.com/fnando/demotape/tree/v0.0.10/LICENSE.md
|
|
700
700
|
rdoc_options: []
|
|
701
701
|
require_paths:
|
|
702
702
|
- lib
|