mustache 1.1.1 → 1.1.2

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
  SHA256:
3
- metadata.gz: bfcec948b9e5fbd73d9c72e3ade21724d3fd73a1d2ee2ea58ab26bf7e1a341ba
4
- data.tar.gz: 1a5d4d062ad29d4a4057a6489f6779d3e61bb7132ecf56fc1ab97a48bfcb926d
3
+ metadata.gz: 1e598c073f543841b69a2384f922a006d8f30ea469b59ffb7400ce6a16970a58
4
+ data.tar.gz: 824baa455f2eeaab4952424cbf84e88eb983ef4559d1a78e27caf2f249d0200d
5
5
  SHA512:
6
- metadata.gz: afd9888e324611b31fb9a6ac809393b2c42261befce363ab691d68719edb2687dda2129ba64a12367bd0f39d31b1fda861b209345f2abfc06debf67aa0e3ab99
7
- data.tar.gz: c225773518109b0eeeecaf89d39faaec30b951361b10c16944f4e016aec6597fc41e75237920dc8c44e00956a00edfcf1b72f2e914ea4dc3f8b296f2436977dc
6
+ metadata.gz: '02199b9d2d753dad273b70dc41019b10732a904002273f5f7677929574a2301bc235ad4028bf6c4157aaeb127b9766e79e9e43afd7ec4a0f625a9c4273223ad6'
7
+ data.tar.gz: e643d2c2f06222d751bdd6f6b26a3f1d88bd8bca9be050895a8057b3d36e2d43338bd28f31ead374c9c918a0e409d70b9cb1664771552c13b7b9c159dd6042da
data/Rakefile CHANGED
@@ -35,7 +35,7 @@ if command? :ronn
35
35
 
36
36
  desc "Build the manual"
37
37
  task "man:build" do
38
- sh "ronn -br5 --organization=DEFUNKT --manual='Mustache Manual' man/*.ronn"
38
+ sh "ronn -br5 --organization=DEFUNKT --manual='Mustache Manual' man/*.ron"
39
39
  end
40
40
  end
41
41
 
@@ -88,7 +88,7 @@ class Mustache
88
88
  def compile!(exp)
89
89
  case exp.first
90
90
  when :multi
91
- exp[1..-1].reduce("") { |sum, e| sum << compile!(e) }
91
+ exp[1..-1].reduce("".dup) { |sum, e| sum << compile!(e) }
92
92
  when :static
93
93
  str(exp[1])
94
94
  when :mustache
@@ -22,7 +22,7 @@ class Mustache
22
22
  .split('::')
23
23
  .map do |part|
24
24
  part[0] = part[0].downcase
25
- part.gsub(/[A-Z]/) { |s| "_" << s.downcase }
25
+ part.gsub(/[A-Z]/) { |s| '_'.dup << s.downcase }
26
26
  end
27
27
  .join('/')
28
28
  end
@@ -1,3 +1,3 @@
1
1
  class Mustache
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end