wabur 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wab/impl/init.rb +1 -1
- data/lib/wab/version.rb +1 -1
- 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: 17ed7568ac5fa7de0ea9ed07df7f056de59773d1
|
4
|
+
data.tar.gz: d9e29dbff3f9f4b2c505e9e909f24b448c42edb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d278285085f0c821c90e321fc7277b72ccc4c6346042084a4354db4721a57fb2835f51331746cc1178ad5b2b6ac60844de9efabe7ce9ec9139efb2e8a0cbab40
|
7
|
+
data.tar.gz: '03747416854193bd64696fecd101d4a501bbcd344c146b2b25ec3a2f16fa6dc243160a55fba635769c1509002cb6630d824bc99badd469881c57cb9a20bca2f0'
|
data/lib/wab/impl/init.rb
CHANGED
@@ -23,6 +23,7 @@ module WAB
|
|
23
23
|
|
24
24
|
def initialize(path, config)
|
25
25
|
@types = config[:rest] || []
|
26
|
+
init_site = config[:site]
|
26
27
|
|
27
28
|
if (@types.nil? || @types.empty?) && !init_site
|
28
29
|
raise WAB::Error.new("At least one record type is required for 'new' or 'init'.")
|
@@ -37,7 +38,6 @@ module WAB
|
|
37
38
|
|
38
39
|
config_dir = "#{path}/config"
|
39
40
|
lib_dir = "#{path}/lib"
|
40
|
-
init_site = config[:site]
|
41
41
|
|
42
42
|
FileUtils.mkdir_p([config_dir, lib_dir])
|
43
43
|
|
data/lib/wab/version.rb
CHANGED