rec 1.3.2 → 1.3.3

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.
data/CHANGELOG CHANGED
@@ -1,6 +1,7 @@
1
- === Version 1.3.2
1
+ === Version 1.3.3
2
2
  - Removed debug statement for State::find
3
3
  - make printing to $stdout explicit to support presetting file descriptors
4
+ - flush $miss, $stdout, $stderr at the end of each read loop
4
5
 
5
6
  === Version 1.3.1
6
7
  - fixed defect in State#find referring to class method of same name
@@ -80,6 +80,9 @@ class Correlator
80
80
  @@eventsMissed += 1
81
81
  $miss.puts("* "+logLine) unless $miss.nil?
82
82
  end
83
+ $miss.flush()
84
+ $stdout.flush()
85
+ $stderr.flush()
83
86
  end
84
87
  finish() if $stdin.eof?
85
88
  end
data/lib/rec/state.rb CHANGED
@@ -258,6 +258,7 @@ class State
258
258
  event = "%s %s" % [@updated.iso8601, message] + @logs.join("\n")
259
259
  $stdout.print("> ") if $debug
260
260
  $stdout.puts(event)
261
+ $stdout.flush()
261
262
  @@eventsOut = @@eventsOut + 1
262
263
  end
263
264
  message
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 2
10
- version: 1.3.2
9
+ - 3
10
+ version: 1.3.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Richard Kernahan