daemontools 0.2.2 → 0.2.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 423a15092e44aa19aa10f40dde9188efbfa4f10d
4
- data.tar.gz: 20d8bb2cf8c50c456d60e0af6f96822b03f0bb41
2
+ SHA256:
3
+ metadata.gz: 51ec59b970afb5438e6231bc5e74560bee203cbaeb1b924e60cddc08895212b7
4
+ data.tar.gz: 0acf0fae125f5b7264a6361242a57c9148e1549b1c386dbd12d718af9123edf1
5
5
  SHA512:
6
- metadata.gz: f154ba9f40fdbb0b5921532fb40b733edfaec1119b764201b9418af2c00695056414f5ea3d96ae520e37549f98576dc0e35803ca4c3a902592150ea210155d5c
7
- data.tar.gz: 2722255c401a3bab4f59ffc19edb3503982ec499d9138124e9ba27e82f204f477d39ce14d325adc9824978535811ad6cb216d6a1e34ac346f854824bf4b659d1
6
+ metadata.gz: 8214be8777a4304c4b659b863e72490de3e600de75af202de5ae397ce9043cea57d6be2baf4174a744e20cbf9400c472fa9e4a956246d560502283eae3b5d288
7
+ data.tar.gz: f1743d13227de5737c2bc91054732ad07052320ba2dcd221c4c8a77b34ffdf19043bce147143f10f9625046819f7e20e910c9cea416cb3774995071cd0d8c157
@@ -93,7 +93,7 @@ module Daemontools
93
93
  def self.delete(name, rm_cmd = nil)
94
94
  check_service_exists(name)
95
95
  stop(name)
96
- cmd = rm_cmd.nil? ? "rm -rf #{@path} 2>&1" : "#{rm_cmd} #{@path}"
96
+ cmd = rm_cmd.nil? ? "sudo rm -rf #{@path} 2>&1" : "#{rm_cmd} #{@path}"
97
97
  r = `#{cmd}`
98
98
  raise r if $?.exitstatus != 0
99
99
  true
@@ -1,3 +1,3 @@
1
1
  module Daemontools
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
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.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-28 00:00:00.000000000 Z
11
+ date: 2020-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -102,8 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.6.14
105
+ rubygems_version: 3.0.8
107
106
  signing_key:
108
107
  specification_version: 4
109
108
  summary: Distributed storage