daemonite 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/daemonite.gemspec +1 -1
  3. data/lib/daemonite.rb +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 567ade4dfc4fe9ee3f3197da49396f24543ea63a36081b2eecd18df005d710c4
4
- data.tar.gz: '082c6e0d745c63153107b4010165fdd233f73aadb39a4a3b5fd467f0f1aea109'
3
+ metadata.gz: '0698646b78cb6bac5e02db21abbb572a5dd0c127bc736c21d40fd7358d166310'
4
+ data.tar.gz: bc6875891a8f527621f52dc123b02bcc6bdcdd27c698ced0da01e16b36705fd4
5
5
  SHA512:
6
- metadata.gz: 1260f526ba7d52c9bad716bbe624f609565b57b107857d67c4b08a220ccc3bc3caefd1590e3301082fea5bba92561940949e9a98f20e03197c42c372ffb1d679
7
- data.tar.gz: ab1537ca34893bce3db176ec70189000ad23d8755912948857612e509ed2330c438f563e269de8f34555f62d39556bb3695b5d5baee8ff9337c529648b74b930
6
+ metadata.gz: 65288788593135c089ad0ce936614ba3ebf3b783098960b863b8aedf61b5ea8bf9bd98da9f20124891fd0b9d455e296af3634dbcb5eaa74b6aad8ed0df53c5b4
7
+ data.tar.gz: 378f68232eec8c6a2bab73d523527f152d8a81f903f6bf45faf425fd54986e50955e1b1fe555fbda8a8ff572b723229bde29f70d2d54724276e6aa76d5eae39f
data/daemonite.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "daemonite"
3
- s.version = "0.7.0"
3
+ s.version = "0.7.1"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Daemonite - Process.daemon and argparse wrapper for loopies."
data/lib/daemonite.rb CHANGED
@@ -42,7 +42,7 @@ module Daemonism
42
42
  @at_startup = nil
43
43
  @at_setup = nil
44
44
 
45
- if File.exists?(opts[:basepath] + '/' + opts[:conffile])
45
+ if File.exist?(opts[:basepath] + '/' + opts[:conffile])
46
46
  opts.merge!(Psych::load_file(opts[:basepath] + '/' + opts[:conffile]))
47
47
  end
48
48
  Dir.chdir(opts[:basepath])
@@ -65,7 +65,7 @@ module Daemonism
65
65
  end
66
66
  opt.on("--verbose", "-v", "Do not daemonize. Write ouput to console.") { opts[:verbose] = true }
67
67
  opt.on("--config=FNAME", "-cFNAME", "Config file location.") { |f,a|
68
- if File.exists?(opts[:basepath] + '/' + f)
68
+ if File.exist?(opts[:basepath] + '/' + f)
69
69
  opts.merge!(Psych::load_file(opts[:basepath] + '/' + f))
70
70
  end
71
71
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemonite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-02 00:00:00.000000000 Z
11
+ date: 2024-06-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Daemonite - Process.daemon and argparse wrapper for loopies.
14
14
  email: juergen.mangler@gmail.com
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  - !ruby/object:Gem::Version
45
45
  version: '0'
46
46
  requirements: []
47
- rubygems_version: 3.3.26
47
+ rubygems_version: 3.5.9
48
48
  signing_key:
49
49
  specification_version: 4
50
50
  summary: Daemonite - Process.daemon and argparse wrapper for loopies.