kubernetes_template_rendering 0.2.1.pre.dc.3 → 0.2.1.pre.dc.5

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
  SHA256:
3
- metadata.gz: ff5ac28ab1ab577a8192ab7141d703bc268f9a5b8da635ac86cd8ae0f6e2332d
4
- data.tar.gz: 950954432924568cc5bd9ef86f03b37638324bf93691dfee2e2f39a6bab29bf6
3
+ metadata.gz: 53dae774584941385d8da6cd1d6adc2e1fe5b689d1150008772f3e2cf88a830c
4
+ data.tar.gz: de02816725401bc5d55fd9aa83babe79c0ad8165913166d55674da16fda30d96
5
5
  SHA512:
6
- metadata.gz: a6a661b8f2837d91d130ac76856faf3c2c580b4e2fcd10aef69c69ddcf1fbc3dcee5c407c6dc1afe1b18c47145fef51f96e661318833c4226b241b6acf46fb5b
7
- data.tar.gz: 6186431ab3e9f5f5e78ffcff781f78955302829db8bdf8d644a3efb30c101dd1dd0a1264a249bc7236946ec6375d8e0572b16f05b00d71d0eb41e2037f648990
6
+ metadata.gz: 75a17c850e564cab7f9baf8666e2104acb6411b41b10b638525f279c2ecda52a38997d428ba2b2700a3daf66d08c6d7362c9e8e9c736845bef386c9ed8514eee
7
+ data.tar.gz: 3399af3e06da59d4553c7fe68b5064dbc8a3ddba278f40216bbd23d0f3140fd56bc129b1755c9c61595803230796cb96d55631cd55fb41051dc0db66a650eac2
@@ -72,10 +72,12 @@ module KubernetesTemplateRendering
72
72
  rescue SystemCallError # this will happen if they all exited before we called waitpid
73
73
  end
74
74
  child_pids.delete_if do |pid|
75
- [_, exit_status] = Process.waitpid2(pid, Process::WNOHANG)
76
- exit_status.success? or raise "Child process #{pid} failed"
77
- rescue Errno::ECHILD # No child processes
78
- true
75
+ begin
76
+ _, exit_status = Process.waitpid2(pid, Process::WNOHANG)
77
+ exit_status.success? or raise "Child process #{pid} failed"
78
+ rescue Errno::ECHILD # No child processes
79
+ true
80
+ end
79
81
  end
80
82
  end
81
83
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KubernetesTemplateRendering
4
- VERSION = "0.2.1.pre.dc.3"
4
+ VERSION = "0.2.1.pre.dc.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubernetes_template_rendering
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1.pre.dc.3
4
+ version: 0.2.1.pre.dc.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Octothorpe