underglow 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,10 +16,6 @@ Capistrano::Configuration.instance.load do
16
16
  # Sends kill signal if process is running
17
17
  def kill(process, signal)
18
18
  pidfile_path = "#{shared_path}/pids/#{process}.pid"
19
-
20
- if remote_file_exists?(pidfile_path)
21
- pid = read_remote_file(pidfile_path).to_i
22
- run "kill -#{signal} #{pid} > /dev/null 2>&1" # suppress errors
23
- end
19
+ run "if [ -e #{pidfile_path} ]; then kill -#{signal} `cat #{pidfile_path}` > /dev/null 2>&1; fi"
24
20
  end
25
21
  end
@@ -1,3 +1,3 @@
1
1
  module Underglow
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: underglow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-03 00:00:00.000000000 Z
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec