daemontools 0.2.7 → 0.2.8

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: c22463b5a826586d0334a8f8d42f3e9d5dca647c5075073e3039770be063e515
4
- data.tar.gz: a9d89cdc0cb3d1bbdf0bd81dc2261a31a3d87fa7f1cec48d67ee7780a5fe5aa8
3
+ metadata.gz: '088f99d7ee5b8816c0966f1a3d6f21e9877c27486ae41bd3b8b3673a8f6cb436'
4
+ data.tar.gz: 3feb328381a172969861003b8cd4a5915eb26725242f1ee14ca9d0617e3582cc
5
5
  SHA512:
6
- metadata.gz: 71c1a4bf680ac3cdef9be0767e3eabb7e2314fd4e3874c0dced95b028683b512df8c8c968b60d7d71e052fd397658fce097acd44bf8918506c7e9c9a3feb2200
7
- data.tar.gz: aed7e1991483a5f2f521f4c9cfe93af72c3e274710b172dd98baf9b80ef08aba74add43192e4947b4c8e7a392b8bb10ff96bb78007ee10a5bfcbe95df5477bd1
6
+ metadata.gz: 4d8d8f56cf833668fedb16f7bac6d8df99ab0ffd001d0d13487b6859ed029a3ee2394514721bc8e967942f9cfe3d5a0f2acb888438af9216349878d8042e9c43
7
+ data.tar.gz: 4373911d28e58fe56120bafddcfb159f1df066eb4adcdcbe45f646c207fa991497e9354b1e64e1637eafed176042fc07ba861e3ea492b4727e5805dc08c57552
@@ -1,3 +1,3 @@
1
1
  module Daemontools
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
data/lib/daemontools.rb CHANGED
@@ -121,6 +121,7 @@ module Daemontools
121
121
  def self.delete(name, rm_cmd = nil)
122
122
  return false unless exists?(name)
123
123
  stop(name)
124
+ sleep 0.3
124
125
  cmd = rm_cmd.nil? ? "sudo rm -rf #{@path} 2>&1" : "#{rm_cmd} #{@path}"
125
126
  r = `#{cmd}`
126
127
  raise r if $?.exitstatus != 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemontools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - sh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-01 00:00:00.000000000 Z
11
+ date: 2022-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler