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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 148e1fbc0202e6193d5bb251b1b001ebe073a06b
4
- data.tar.gz: 00384b0347cc7727e433e68ca69ca585fb184401
3
+ metadata.gz: 60d614ebe06ed4fa6ba561980ddb6472b0c2747f
4
+ data.tar.gz: 55b615b1a1acfb2beef865471d7e2ef4d564a89b
5
5
  SHA512:
6
- metadata.gz: 406a2f4ad18a361e651cdce005a0723654c6dc193e1b90fb4fab7acc204e743c3d71cbdf5de129c509827002805ec31add60df87eac79b031c6c9b2c925c1d32
7
- data.tar.gz: f7a77507a2981a6fc62dbf4d16b07f3f46d3a180986c6761d6ccbcbaf64d55d721fbada085943c264f5bfe045150d075c80837aec2913bf49e3c3f5375b614ad
6
+ metadata.gz: b7a898a9d1672d58e6d825f4edeb1a0b07fe29f5cebc24ed933499e4f5ce6e70a5a52b01fad5f2e6cd629a9466503d59759aeee7182421e08268258b8358211e
7
+ data.tar.gz: a290939d60b2fb1af58a620e5d907909060c3c904f4ce9a348a41717e04f8d475a394c010a0aac289ce0f9c6b81f069117b33735b35d82f16a8e0d02647562a5
@@ -1,5 +1,11 @@
1
1
  # Usmu Change Log
2
2
 
3
+ ## 1.4.2
4
+
5
+ Matthew Scharley <matt.scharley@gmail.com>
6
+
7
+ * variables hash should be optional for #render_content (b9807b247cd9b3dd4223c244ec654cfc1a25acc4)
8
+
3
9
  ## 1.4.1
4
10
 
5
11
  Matthew Scharley <matt.scharley@gmail.com>
@@ -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
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Usmu
3
3
  # The current version string for the gem
4
- VERSION = '1.4.1'
4
+ VERSION = '1.4.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usmu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Scharley