usmu 1.4.1-java → 1.4.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86a65bd696b88c66e6ca0b394caad26118419f98
4
- data.tar.gz: 20593ec186d959c38a85a689fbba64b21e74e141
3
+ metadata.gz: a3c1b3a69cd6465042b22bcea327ee83a5ed40f3
4
+ data.tar.gz: 7244d267e06d432eac17c42a5123682560db58ff
5
5
  SHA512:
6
- metadata.gz: 2dba2d0320a0c2a4a3d8cc5d56d59132c28af6fd88bfb9d6eff3d5a06685af8349fe72a0b869b1de698ec99c5449db953f24ccf45e2b5a39d87725997354193b
7
- data.tar.gz: 32a2edfdfb134795a0088e780145edf81f6aad3be5c0300041af2eae8132562d297720cae55a64776cec888461d6257517ede2e49c991f420f7a3e59137113bd
6
+ metadata.gz: 0c7f23163e73075b35f6763d067e8dea3e40470c5cbe826bee6d45550ae34b13f964af5ec4267bb9e915e00a1f4fb5bb0a390cd9457be89b052da0d6387a4ce1
7
+ data.tar.gz: d8bc91e366517c9613336e96df0854977134357d41bb830ca161bee08118836e66de1fc97ba2e2ab756b2cc1c52dbef84043943f8ec1b2f883d78683f60b27cf
data/CHANGELOG.md CHANGED
@@ -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
data/lib/usmu/version.rb CHANGED
@@ -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: java
6
6
  authors:
7
7
  - Matthew Scharley