consult 1.0.0.pre1 → 1.0.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consult/template.rb +1 -1
- data/lib/consult/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: 8f20892ac9536d4c435718496f6e4535207b47fa0e149993bc657b2ebfdf7491
|
4
|
+
data.tar.gz: 46ec2012537e03f62e9a21717d521f6660e9dddbcb3f5c83944dac5ba900fec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4ea6a78c336c44172b03af8606bc6f783b6a2372b06db9d35d0c95e3090e1abbf75ffd0345d308ef38c25d4b126beda6f56d62fe1b17ac792c5740f0db80010
|
7
|
+
data.tar.gz: d7b4f886c8685df462f0af2404a6cc3513e09f17ccb7809ab81826e8b393fcd29632d73c86e0983eb66d49e8fde1d4c86aad7e04300083c3ece5cc99fc3b45ed
|
data/lib/consult/template.rb
CHANGED
@@ -27,7 +27,7 @@ module Consult
|
|
27
27
|
renderer = ERB.new(contents, nil, '-')
|
28
28
|
result = renderer.result(binding)
|
29
29
|
|
30
|
-
puts "Consult: Rendering #{name}" + (save ? " to #{dest}
|
30
|
+
puts "Consult: Rendering #{name}" + (save ? " to #{dest}" : "...") if verbose?
|
31
31
|
|
32
32
|
if save
|
33
33
|
FileUtils.mkdir_p(dest.dirname) unless dest.dirname.exist?
|
data/lib/consult/version.rb
CHANGED