subcontractor 0.1.0 → 0.2.0

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.
@@ -25,9 +25,10 @@ module Subcontractor
25
25
 
26
26
  def child_pids(pid)
27
27
  lines = `ps axo pid,ppid`
28
- lines.map(&:split).select do |(child_pid, parent_pid)|
28
+ child_pids = lines.map(&:split).select do |(child_pid, parent_pid)|
29
29
  parent_pid == pid.to_s
30
30
  end.map(&:first).map(&:to_i)
31
+ child_pids + [pid]
31
32
  end
32
33
 
33
34
  def build_command(parts, options)
@@ -1,3 +1,3 @@
1
1
  module Subcontractor
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subcontractor
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 1
8
+ - 2
9
9
  - 0
10
- version: 0.1.0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tony Pitluga
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-12 00:00:00 Z
18
+ date: 2011-11-02 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: foreman
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements: []
89
89
 
90
90
  rubyforge_project: subcontractor
91
- rubygems_version: 1.8.6
91
+ rubygems_version: 1.8.10
92
92
  signing_key:
93
93
  specification_version: 3
94
94
  summary: rvm aware process launcher for foreman