usmu 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/usmu/template/layout.rb +1 -1
- data/lib/usmu/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: 60d614ebe06ed4fa6ba561980ddb6472b0c2747f
|
4
|
+
data.tar.gz: 55b615b1a1acfb2beef865471d7e2ef4d564a89b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7a898a9d1672d58e6d825f4edeb1a0b07fe29f5cebc24ed933499e4f5ce6e70a5a52b01fad5f2e6cd629a9466503d59759aeee7182421e08268258b8358211e
|
7
|
+
data.tar.gz: a290939d60b2fb1af58a620e5d907909060c3c904f4ce9a348a41717e04f8d475a394c010a0aac289ce0f9c6b81f069117b33735b35d82f16a8e0d02647562a5
|
data/CHANGELOG.md
CHANGED
data/lib/usmu/template/layout.rb
CHANGED
@@ -81,7 +81,7 @@ module Usmu
|
|
81
81
|
#
|
82
82
|
# @param variables [Hash] Variables to be used in the template.
|
83
83
|
# @return [String] The rendered content.
|
84
|
-
def render_content(variables)
|
84
|
+
def render_content(variables = {})
|
85
85
|
template_config = add_template_defaults((@configuration[provider_name] || {}).clone, provider_name)
|
86
86
|
template_class.new("#{@name}", 1, template_config) { @content }.render(helpers, get_variables(variables))
|
87
87
|
end
|
data/lib/usmu/version.rb
CHANGED