twigg-app 0.0.3 → 0.0.4

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
  SHA1:
3
- metadata.gz: ef82e0c0afead33d8d9bdae1f09ee2295e7a088c
4
- data.tar.gz: b3b8edb7ebead9f68e373b8bb002599a1a68f5c6
3
+ metadata.gz: 2146b57d426335ffa33202b730a54c57488967a5
4
+ data.tar.gz: 0e8686beafb42dbadbfa5fa15c3143eddfc516b8
5
5
  SHA512:
6
- metadata.gz: 0bd4d845ae1f6d331efd37ee3f4a35aec7fc5fc627de97dfb8a80a4749cd6ffaefa6e44bcd7bdba629acddf23e8ebc96d2a80c83aaa9de957abac3cd03aa8fac
7
- data.tar.gz: 21885331285a2c4eaaf44a97694e17d571d171414b960598397daee45f77b70208e6f3630153ece4e7e4ee91704b1fe76128da0ab71cfe7d9ccfc3c62e250ca1
6
+ metadata.gz: 04497b886c27f52e353a8bde0af24c7d927a45404a2409a0e72155e52dcd5d79115e9c4e7b0e572d51c47a2a437a33ebc05521a79d548f17a9dc9af034daf5e2
7
+ data.tar.gz: 87574c1298693984d14f1b37988a73ef80c31c32aa491d23411708b2d386b59db5294904b73c5b61ea4508e08146abcc4195274b3474fb35d880aeea13c129fb
@@ -1,5 +1,5 @@
1
1
  module Twigg
2
2
  module App
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  end
@@ -11,8 +11,11 @@ module Twigg
11
11
 
12
12
  def run
13
13
  stderr 'Daemonizing...' if @daemon
14
- stderr "Will write to pidfile #{@pidfile}" if @pidfile_path
15
- die 'Pidfile already exists' if File.exist?(@pidfile_path)
14
+
15
+ if @pidfile_path
16
+ stderr "Will write to pidfile #{@pidfile}"
17
+ die 'Pidfile already exists' if File.exist?(@pidfile_path)
18
+ end
16
19
 
17
20
  Process.daemon if @daemon
18
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twigg-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Causes Engineering