weaver 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/weaver +2 -1
- data/lib/weaver/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: a5cfc6bfbd3aec0b7a8216bb4cbb3b5e074c5ae9
|
4
|
+
data.tar.gz: c9304c708ecb2225197d1d3beb392cf7d6f37e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07104463e3539ee244a8863162ed1c6ed3d9a359168c05cffca6c86011e604807c664dd451ec6349fb7c856beafc4f7c5c70539c218844fb6b0d6cec905b575a
|
7
|
+
data.tar.gz: 9a1e6bb62b7183972e30fe48ca06b82b517e578b7db89a14067e5825a2b0265c833de10900cb26767499ecb46a3e8d7048928bd65062bbf8630a4b9c51bd71ae
|
data/exe/weaver
CHANGED
@@ -122,7 +122,8 @@ where [options] are:
|
|
122
122
|
site.pages.each do |localPath, page|
|
123
123
|
resultPath = File.join(baseDir, localPath)
|
124
124
|
|
125
|
-
level = resultPath.split(/\//, 0).length
|
125
|
+
level = resultPath.split(/\//, 0).select{|x| x.length != 0}.length
|
126
|
+
|
126
127
|
puts "Writing: #{file} -> #{resultPath} (Level: #{level})"
|
127
128
|
|
128
129
|
fileName = File.join([buildDir, resultPath, "index.html"])
|
data/lib/weaver/version.rb
CHANGED