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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a4c67efaf040420dc543039549015bb4a7bdf56a7ffe7a9083c4d706260c561
4
- data.tar.gz: 3a7005597cba7f68adfed6b8273d2ff42d150c4179cb4daedc8e5dd046e11b5e
3
+ metadata.gz: b2d1143daf387e845b5ec7199af5a1427eded8728cb540b45915af761f5acf4b
4
+ data.tar.gz: 4bd0066ff5a3922631bdc57546b41304c99ef74e77b29b3f8fbb9691eaf666e3
5
5
  SHA512:
6
- metadata.gz: b084505658402b05e585a8d03c10086afbe89e0fa73c5d0a112550cc3120e16d624b69d288de7b88ab936ad9db40002defbb0b79b84dad14d8729683582621dd
7
- data.tar.gz: 690905dcae32c4b1b2454dba06186eb43b139aca7af13a0fe2ae3ee72bdbd65039ccdae1d0e555c7890052bd301b9d6833cd243f5e0ec8e0943253b2eb85ee1e
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.
@@ -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).to_i
235
- next unless timeout.positive?
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DemoTape
4
- VERSION = "0.0.9"
4
+ VERSION = "0.0.10"
5
5
  end
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.9
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.9
697
- changelog_uri: https://github.com/fnando/demotape/tree/v0.0.9/CHANGELOG.md
698
- documentation_uri: https://github.com/fnando/demotape/tree/v0.0.9/README.md
699
- license_uri: https://github.com/fnando/demotape/tree/v0.0.9/LICENSE.md
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