henry-container 0.1.53 → 0.1.54

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3500a9632125c1d420d3ac36735f51674a2c4b2
4
- data.tar.gz: d17d3427b69354adca379183e9dcf9d51edb79db
3
+ metadata.gz: e796d87a8aa1137e548d11d52c3543876ff84ddd
4
+ data.tar.gz: 1bc7a6a5ae7a173ef6dd64e544486321b00ebee2
5
5
  SHA512:
6
- metadata.gz: bd434de68e889021ce0f835de2d432bec9a45ed0a6a2b64adaa7ebe342e2ad7f9302490e983caad281b2e98b5a6a0dd418b428691fcbe986211f84b3db7a30f6
7
- data.tar.gz: fc93ef037d5f374dc24d936c1f5d9cfbd329ee5b12d101d7ff1695d084d0397c42802c77b00c6f6589c151b1227b78f1175e1d8f87f24220fd2c3afc220b7825
6
+ metadata.gz: 8cad7b34b433bf2ba2abace1cc6046fc010fada7208ab67f1be92f5ae1e20253554e93a5cb13c228510c73014501037e5a4b577610024cc3d4bf1990ab9c6f2d
7
+ data.tar.gz: 3bed28d4123863a9ace7205ec59f5a0516e3806fca41812f23a3e09b28953851e5fe0bb56300ec376ce6654c79c79909d61389ea32473f6fb43c64a7a4597ea5
@@ -112,7 +112,7 @@ module Henry
112
112
  begin
113
113
  children_pids = `ps o pid= --ppid #{pid}`.scan(/\d+/).collect(&:to_i)
114
114
 
115
- return false if pids.count == 1
115
+ return false if children_pids.count == 1
116
116
 
117
117
  children_pids.each do |child_pid|
118
118
  begin
@@ -121,7 +121,7 @@ module Henry
121
121
  self.kill_children(child_pid)
122
122
  rescue Errno::ESRCH
123
123
  end
124
- t g end
124
+ end
125
125
  rescue Errno::ENOENT
126
126
  warn 'Can not cleanup this process children'
127
127
  end
@@ -3,7 +3,7 @@ module Henry
3
3
  class Container
4
4
 
5
5
  # Current Gem version
6
- VERSION = ENV['gem_version'] || '0.1.53'
6
+ VERSION = ENV['gem_version'] || '0.1.54'
7
7
 
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: henry-container
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.53
4
+ version: 0.1.54
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Decurnex