phut 0.6.8 → 0.6.9
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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/phut/setting.rb +3 -0
- data/lib/phut/version.rb +1 -1
- data/spec/phut_spec.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b50203b27a14ab980a7a909f8bae162811fedd3a
|
4
|
+
data.tar.gz: 6d7ee1f2103c4e900fcc54b39b782e1fc823c0a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 843cd07b5543f2628046ad7208484d604f27d567c2aea1fbd4c5398aef20c2fd7d18ba292e87edbcd8795bc78f85063b487d125b387be6246d9fc760107bc5ff
|
7
|
+
data.tar.gz: 9cb93c48ddcfab0104cf35eb0447813071c4f60daf5a515cfde9f6f6fba78f31f9e3bc63a4e0484250227deacf1106345bfbc0bd02225284675461db499047b1
|
data/CHANGELOG.md
CHANGED
data/lib/phut/setting.rb
CHANGED
@@ -24,6 +24,7 @@ module Phut
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def pid_dir=(path)
|
27
|
+
fail "No such directory: #{path}" unless FileTest.directory?(path)
|
27
28
|
@options[:pid_dir] = File.expand_path(path)
|
28
29
|
end
|
29
30
|
|
@@ -32,6 +33,7 @@ module Phut
|
|
32
33
|
end
|
33
34
|
|
34
35
|
def log_dir=(path)
|
36
|
+
fail "No such directory: #{path}" unless FileTest.directory?(path)
|
35
37
|
@options[:log_dir] = File.expand_path(path)
|
36
38
|
end
|
37
39
|
|
@@ -40,6 +42,7 @@ module Phut
|
|
40
42
|
end
|
41
43
|
|
42
44
|
def socket_dir=(path)
|
45
|
+
fail "No such directory: #{path}" unless FileTest.directory?(path)
|
43
46
|
@options[:socket_dir] = File.expand_path(path)
|
44
47
|
end
|
45
48
|
end
|
data/lib/phut/version.rb
CHANGED
data/spec/phut_spec.rb
CHANGED