harbr 0.1.57 → 0.1.59

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: 79209adb4a80132002638c08b131954010d4e0aee624072c1002ad99a08fcefe
4
- data.tar.gz: da2140672435faf20a52c7331d915dcfefff6e61d529a203252c65f2e959d547
3
+ metadata.gz: 2e56262ec27753fc415e7e48325aec332145488ec6e0e3a689b00157068547ca
4
+ data.tar.gz: c8baafeb348d432669ed3364661a13144f8e0a184f5691aec82d9662e981647c
5
5
  SHA512:
6
- metadata.gz: 3561d684e90293ef602c610696dc773b0104761b1a7d777070b8c9ff9dd82b4340212a44bb1e492eef49bd4dd36a092bb8e23d5a78abe03f5dc47158dba88381
7
- data.tar.gz: a8e16f9f87c83a18a832103d12b1e5e2ac0924f4fdcb7e6f926ffe390bbfe38b4b5272fc9890a158dd46836b233db21cbc69d17fa5fb4538b33c76b5d63e64da
6
+ metadata.gz: '0339b59014fd96460c44617f351be1303a0c963e15d1e6cb3c308c89368bff436b59f15c6993c2f5df59caba2d8b690f194c0f6b3bff79dc056970ef48b8c091'
7
+ data.tar.gz: eba0044d3a43226387a901c2dae9551b9ddb48ac0a3b34f6f519a434795f4aca533c5d14e35982018fabbd8a71d654cffcf4608f7e762c17b125961915cd284b
data/lib/harbr/job.rb CHANGED
@@ -165,7 +165,7 @@ module Harbr
165
165
  if env == "next"
166
166
  write_to_file "/etc/sv/harbr/#{name}/#{env}/run", run_script
167
167
  write_to_file "/etc/sv/harbr/#{name}/#{env}/log/run", log_script
168
- write_to_file "/etc/sv/harbr/#{name}/#{env}/log/run", finish_script
168
+ write_to_file "/etc/sv/harbr/#{name}/#{env}/finish", finish_script
169
169
  `chmod +x /etc/sv/harbr/#{name}/#{env}/run`
170
170
  `chmod +x /etc/sv/harbr/#{name}/#{env}/finish`
171
171
  `chmod +x /etc/sv/harbr/#{name}/#{env}/log/run`
@@ -228,8 +228,9 @@ module Harbr
228
228
  def finish_script
229
229
  <<~SCRIPT
230
230
  #!/bin/sh
231
- sleep 3
232
- `lsof -i :#{@port} | awk 'NR!=1 {print $2}' | xargs kill`
231
+ sleep 1
232
+ lsof -i :#{@port} | awk 'NR!=1 {print $2}' | xargs kill
233
+ sleep 1
233
234
  SCRIPT
234
235
  end
235
236
 
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.1.57"
4
+ VERSION = "0.1.59"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.57
4
+ version: 0.1.59
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke