guard-zeus 2.0.1.pre.alpha.pre.89 → 2.0.1.pre.alpha.pre.92

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/guard/zeus/runner.rb +10 -0
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjZhYTM2ZGRlYWE5NzEyOTM5YTEyMTRmMDFhYjU2NmZiY2FiMWRkNQ==
4
+ YzI4MzZhMTM5MjA1M2FjNmNmNjQ2YmQ4OTYyYmYzMmZlNTJmMzI4OA==
5
5
  data.tar.gz: !binary |-
6
- NGQwZDY0ZjhhODg1ODhhODE1ZDMyMjdlZjhiNWRhODk3MjcyM2QwMg==
6
+ MTgyZTMzNjYzMGViMDVjMDFmNjE0NTM4NWFkNmM3NDlmMGE4YjgwZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTI0ZWFmN2Y1NjczNzg0MGZjOWU2MzA1Nzk0ZjZiYmJmNjUzMDA2NjM2YzFl
10
- YjlkYTk0M2MwNjY3MDBiYmQ0NzdmZGNhMjdkNjY3ZWZmZjAwMmExZjM4ZDJl
11
- ZTY0NjA3NzE1MmE5Y2I5MjE0Yzk5ODBmOTNjNWYwOWQyYzEwN2E=
9
+ OTU0Nzg3YThlZTE4Yjg5ODM4NDhkN2NiOWFkMDBjMDU5OTc1MzA1ZDY2M2Yw
10
+ NDA1YmM2ZjZmOTA1YTRlMjZkZjUwYzZiM2Y4MzkzYjk1ZmZhYzY0YzdhMmU2
11
+ ODUxZWY3NzM2YmRjMDc3ZDg0MGI5MDU0ZGI1OGIxZjZmNTkyMTQ=
12
12
  data.tar.gz: !binary |-
13
- ZGU3NjI3YzdkNTk5OWQzNWJhODg1MWNhMmRmOTA0NGU4ZDA2MzhkMjY4ZDk1
14
- NzcwNjQ4ZTEwOWEwZWY2NDY5ZTEwNzAzZGZjZjNlODBlYjQ5NjhjNmJhNjZk
15
- OWFkY2VkYjJiZTVhNzFkZGIwNWRjYzEzOWIyNzUwZTEyNDQ2NDg=
13
+ YmE3OGIzYWNiNDVlOWU4ZGYzZWI2MWE1NmM2OWRjMDljNWExNDRiMmMxYzYx
14
+ YjlkM2ZjMGMwOGZmYjljYjFhZDllZTg3NjBlOWUyYTA2ZmZmOWE0ZDY5YWEz
15
+ ZjIyNjMxMjc0MjU3NGVmYjdhYzM1NTkyNWQ3ZTViNzQ5YzJkMjM=
@@ -85,21 +85,31 @@ module Guard
85
85
  end
86
86
 
87
87
  def spawn_zeus(cmd, options = '')
88
+ Compat::UI.debug "About to spawn zeus"
88
89
  @zeus_pid = fork do
89
90
  exec "#{cmd} #{options}"
90
91
  end
92
+ Compat::UI.debug "Zeus has PID #{@zeus_pid}"
91
93
  end
92
94
 
93
95
  def stop_zeus
96
+ Compat::UI.debug 'Stopping Zeus'
94
97
  return unless @zeus_pid
98
+ Compat::UI.debug 'Stopping Zeus using a PID'
95
99
 
100
+ Compat::UI.debug "Killing process #{@zeus_pid}"
96
101
  Process.kill(:INT, @zeus_pid)
102
+ Compat::UI.debug "Killed process #{@zeus_pid}"
97
103
 
98
104
  begin
105
+ Compat::UI.debug "Set process #{@zeus_pid} to wait"
99
106
  unless Process.waitpid(@zeus_pid, Process::WNOHANG)
107
+ Compat::UI.debug "Killing process #{@zeus_pid} after wait"
100
108
  Process.kill(:KILL, @zeus_pid)
109
+ Compat::UI.info "Killed process #{@zeus_pid} after wait"
101
110
  end
102
111
  rescue Errno::ECHILD
112
+ Compat::UI.debug "ECHILD path"
103
113
  end
104
114
 
105
115
  delete_sockfile if File.exist? sockfile
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard-zeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1.pre.alpha.pre.89
4
+ version: 2.0.1.pre.alpha.pre.92
5
5
  platform: ruby
6
6
  authors:
7
7
  - jonathangreenberg
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-07-06 00:00:00.000000000 Z
13
+ date: 2015-08-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: guard