flor 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,17 @@
2
2
  # flor CHANGELOG.md
3
3
 
4
4
 
5
+ ## flor 0.9.1 released 2017-01-31
6
+
7
+ - Fix dropped exids problem
8
+
9
+
5
10
  ## flor 0.9.0 released 2017-01-30
6
11
 
7
- - initial release
12
+ - Initial release
8
13
 
9
14
 
10
15
  ## flor 0.0.1 released 2015-11-04
11
16
 
12
- - initial, empty, release (Juan's verandah)
17
+ - Initial, empty, release (Juan's verandah)
13
18
 
@@ -34,7 +34,7 @@ require 'raabro'
34
34
 
35
35
  module Flor
36
36
 
37
- VERSION = '0.9.0'
37
+ VERSION = '0.9.1'
38
38
  end
39
39
 
40
40
  require 'flor/colours'
@@ -403,6 +403,8 @@ module Flor
403
403
 
404
404
  return if @exids.empty?
405
405
 
406
+ exid = nil
407
+
406
408
  while exid = @mutex.synchronize { @exids.shift }
407
409
 
408
410
  @executors = @executors.select { |e| e.alive? }
@@ -412,7 +414,11 @@ module Flor
412
414
  next if @executors.find { |e| e.exid == exid }
413
415
 
414
416
  @executors << UnitExecutor.new(self, exid).run
417
+
418
+ exid = nil
415
419
  end
420
+
421
+ @mutex.synchronize { @exids.unshift(exid) } if exid
416
422
  end
417
423
  end
418
424
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-30 00:00:00.000000000 Z
12
+ date: 2017-01-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: munemo