modsvaskr 0.1.1 → 0.1.2

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: 28b576d46d408e4fe202990e9cad4f2ed3cf5fc314a9784ce03989110052f1ff
4
- data.tar.gz: d91f3542270e772fa527a443af63b36e4ef15202977b6da1a95cfbe21c205aff
3
+ metadata.gz: 759a86a5ea5ddbba8ed9bcf56ece81b83324dca028af137e2bf948402f5900ad
4
+ data.tar.gz: 596259ae4f2e3904ac555eef656bd6be5f7ab18047fc87ba50263978f67a5f5d
5
5
  SHA512:
6
- metadata.gz: 2bb5af17b950cadbc37977542b4c90c450a53be908ee8bd86ff627e2dedf79e600de34df2fe36491f09bb11104035da62f74b161c67ef09a23b92aa72ef8c37f
7
- data.tar.gz: beab3bf9208b2c9c39502f3f9ab000ca669ad25fa3155b286ab49ddae35799e88eb5bd4d48207b11afcc72878d07a34d7f0f0e8e60a31f5e37f6819b9af25972
6
+ metadata.gz: 37902323f88d35bcdf80abb62a1e1c14d8db78dd4ecf37aa0d0a8afabba6b17fad5f653863f5f08f9a5309665bef39838ad120315919f7dca1b9a01de185ef3b
7
+ data.tar.gz: a24f76d9bb884fde1e1046b28e5082da0cfc451767c272a5e70eb22a0b203d211b08f92cdec173eafbbbae07b842c27f63dfb63f94fde5827ca280e5bfb2e0de
@@ -204,6 +204,10 @@ module Modsvaskr
204
204
  end
205
205
  end
206
206
  # We will start again. Leave some time to interrupt if we want.
207
+ unless @config.no_prompt
208
+ # First, flush stdin of any pending character
209
+ $stdin.getc while !select([$stdin], nil, nil, 2).nil?
210
+ end
207
211
  out "We are going to start again in #{@game.timeout_interrupt_tests_secs} seconds. Press Enter now to interrupt it."
208
212
  key_pressed =
209
213
  begin
@@ -1,5 +1,5 @@
1
1
  module Modsvaskr
2
2
 
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modsvaskr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan