yarrow 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yarrow/configuration.rb +4 -2
- data/lib/yarrow/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b44d99f6d8696237f4e571ab6f6301fe337c93c6ff218e735acd1c0ed3fbe29
|
4
|
+
data.tar.gz: 12419fb4e83374e8ff79700fa8a6b14cfcf3ed5a44cd94adc91f8885a3e7f9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af1fdac9c1ac87957f098dd5fe1e3e22d7ac9b78756838226a596a8262bcd438c185cad81dfa3b5ae5f3f071d9c203afdea5e668a79d9b80096a140e310aef3b
|
7
|
+
data.tar.gz: e237d7964723ad433fab071ef36026979f5a5d2010fc11ce3b787566b8f4c12232b47c8b5dadb0043e93db1d5cd8679b99ec71db303269d244c1e8687b0204aa
|
data/lib/yarrow/configuration.rb
CHANGED
@@ -52,11 +52,13 @@ module Yarrow
|
|
52
52
|
# automated as part of the schema types or a default value should be
|
53
53
|
# generated here (eg: `"#{Dir.pwd}/docs"`)
|
54
54
|
out_dir_or_string = config[:output_dir] || ""
|
55
|
+
source_dir_or_string = config[:source] || ""
|
56
|
+
content_dir_or_string = config[:content] || ""
|
55
57
|
|
56
58
|
Yarrow::Config::Instance.new(
|
57
59
|
output_dir: Pathname.new(File.expand_path(out_dir_or_string)),
|
58
|
-
source: Pathname.new(File.expand_path(
|
59
|
-
content: Pathname.new(File.expand_path(
|
60
|
+
source: Pathname.new(File.expand_path(source_dir_or_string)),
|
61
|
+
content: Pathname.new(File.expand_path(content_dir_or_string)),
|
60
62
|
meta: meta_obj,
|
61
63
|
server: server_obj
|
62
64
|
)
|
data/lib/yarrow/version.rb
CHANGED