SimControl 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- SimControl (0.1.8)
4
+ SimControl (0.1.9)
5
5
  active_support
6
6
  i18n
7
7
  thor
@@ -27,16 +27,16 @@ module SimControl
27
27
 
28
28
  host_scenarios = @hosts.partition(all_scenarios, @hostname)
29
29
 
30
+ threads = []
30
31
  host_scenarios.each do |scenarios_per_core|
31
- threads = []
32
- scenarios_per_core.each do |scenario|
33
- threads << Thread.new do
32
+ threads << Thread.new do
33
+ scenarios_per_core.each do |scenario|
34
34
  current_simulation.simulate(scenario, seeds)
35
35
  end
36
36
  end
37
- threads.each do |thread|
38
- thread.join
39
- end
37
+ end
38
+ threads.each do |thread|
39
+ thread.join
40
40
  end
41
41
  end
42
42
 
@@ -1,3 +1,3 @@
1
1
  module SimControl
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: SimControl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: