inprovise 0.2.21 → 0.2.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/inprovise/template.rb +2 -2
- data/lib/inprovise/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDVhYzQ0OWYwZWZlNTIwYzlmYzc5NGNiZTAwZjA1Zjk5MmM0Njg5ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTdiYWIxODU0YjE0MTViYjY5MGI0MjZkNmIxZjFiNmYwODJjOWZiOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDMzMzYxZTU4ZjhkOWI4YzFhYmQzMzNmY2ExMDBlMjY1ZTYwMjQ4NDY3Mjcw
|
10
|
+
MjdmYWM2MzYxYjk4ZGU4ZGE3YjI0ZmZjNzllNDNiMWQwZTQ3NGExYjRmNGU3
|
11
|
+
ZWNhZmZmNzdhNzc4Njc2NDE5MmVjNGQxZDM5NDg4NDIyYzkzYTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTAxYWU0YmEwZGFiYWNjNTMzZTlmZDQyZjM2OGI1M2EwMDA0Mjg4MjAyMzBk
|
14
|
+
NzMxYTgxZGUwNDE0NjQ4Y2ExYzgxY2FlZTI3MzExMTViNjk4NjFiMGE0ZGY5
|
15
|
+
MTQyODVhMjk3ZGY1YmY5OGU2MGNiZjMyZTdiNjdjYTRmNDI0ZjY=
|
data/lib/inprovise/template.rb
CHANGED
@@ -19,8 +19,8 @@ class Inprovise::Template
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def render_to(fname, *opts, &block)
|
22
|
-
|
23
|
-
|
22
|
+
locals = Hash === opts.last ? opts.pop : {}
|
23
|
+
mktmp = (opts.size) > 0 ? opts.shift : true
|
24
24
|
tmpfile = @context.local(render_to_tempfile(locals))
|
25
25
|
fremote = nil
|
26
26
|
begin
|
data/lib/inprovise/version.rb
CHANGED