svutil 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,5 +6,5 @@ require 'svutil/log'
6
6
  require 'svutil/process_manager'
7
7
 
8
8
  module SVUtil
9
- VERSION = '0.0.11'
9
+ VERSION = '0.0.12'
10
10
  end
@@ -4,7 +4,9 @@ module SVUtil
4
4
  # TODO: Add ability for users to specify these signals
5
5
  Signal.trap("INT") { shutdown('Interupted', 1) }
6
6
  Signal.trap("TERM") { shutdown('Terminated', 2) }
7
- Signal.trap("PIPE") { shutdown('Broken Pipe', 4) }
7
+ unless RUBY_PLATFORM =~ /(win|w)32$/
8
+ Signal.trap("PIPE") { shutdown('Broken Pipe', 4) }
9
+ end
8
10
  if running?
9
11
  STDERR.puts "There is already a '#{$0}' process running"
10
12
  exit 1
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 11
9
- version: 0.0.11
8
+ - 12
9
+ version: 0.0.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Draper
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-24 00:00:00 +09:30
17
+ date: 2010-10-31 00:00:00 +10:30
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency