kaigara 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kaigara/dsl.rb +1 -1
- data/lib/kaigara/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: acc6a47fe4fff17461030df134aa1cb031fd76dc
|
4
|
+
data.tar.gz: 00cdc79f10256f59cc10ed4463fe0ea487799e2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a97dc7437223a011847ad03a4fe4444655afd2697d69e785e356da7b61f4857a57ab90e0456784df6c2c12dd8ec244184a7e594e0c94decb1e55f98dee48ba5
|
7
|
+
data.tar.gz: db5c601904cf450d84420db6e37ec37fd0dcb6ab63228d58185b7dbf1be9f0fdfbd83cff341a933d09220f759b50907ac2e2ce905576b7eaa04b0432a0c9bd34
|
data/lib/kaigara/dsl.rb
CHANGED
@@ -35,7 +35,7 @@ module Kaigara
|
|
35
35
|
# <tt>name</tt> - template name, without '.erb'
|
36
36
|
# <tt>-p</tt> - destination file. If you don't use it, the file renders to +/path-in-resources/+
|
37
37
|
#
|
38
|
-
def template(source, target)
|
38
|
+
def template(source, target = nil)
|
39
39
|
Environment.load_variables(self)
|
40
40
|
tpl_file = 'resources/' + source + '.erb'
|
41
41
|
destination = target
|
data/lib/kaigara/version.rb
CHANGED