computron 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/computron +5 -2
- data/computron.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/bin/computron
CHANGED
@@ -7,12 +7,15 @@ $stdout.sync = true
|
|
7
7
|
|
8
8
|
require 'computron'
|
9
9
|
|
10
|
-
Signal.trap('INT'){
|
11
|
-
|
10
|
+
Signal.trap('INT'){
|
11
|
+
puts "Stopping simulation..."
|
12
|
+
EM.stop
|
12
13
|
}
|
13
14
|
|
14
15
|
file = File.open(ARGV.last)
|
15
16
|
|
17
|
+
puts "Starting simulation..."
|
18
|
+
|
16
19
|
simulation = Computron::Simulation.new do
|
17
20
|
eval(file.read, binding, file.path)
|
18
21
|
end.run!
|
data/computron.gemspec
CHANGED