spork 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/spork/server.rb +5 -0
  2. metadata +2 -2
@@ -45,6 +45,10 @@ class Spork::Server
45
45
  run_strategy.run(argv, stderr, stdout)
46
46
  end
47
47
 
48
+ def abort
49
+ run_strategy.abort
50
+ end
51
+
48
52
  private
49
53
  def restart
50
54
  stderr.puts "restarting"
@@ -56,6 +60,7 @@ class Spork::Server
56
60
  end
57
61
 
58
62
  def sig_int_received
63
+ stdout.puts "\n"
59
64
  if run_strategy.running?
60
65
  abort
61
66
  stderr.puts "Running tests stopped. Press CTRL-C again to stop the server."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Harper
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-09-12 00:00:00 -04:00
12
+ date: 2009-09-14 00:00:00 -04:00
13
13
  default_executable: spork
14
14
  dependencies: []
15
15