fifty 0.0.9 → 0.1.0
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.
- data/lib/fifty.rb +2 -2
- metadata +1 -1
data/lib/fifty.rb
CHANGED
|
@@ -6,7 +6,7 @@ module Fifty
|
|
|
6
6
|
require 'json'
|
|
7
7
|
|
|
8
8
|
# Version of the gem.
|
|
9
|
-
VERSION = '0.0
|
|
9
|
+
VERSION = '0.1.0'
|
|
10
10
|
|
|
11
11
|
# Class-level variables.
|
|
12
12
|
|
|
@@ -289,7 +289,7 @@ module Fifty
|
|
|
289
289
|
|
|
290
290
|
# Escape double and triple-mustaches.
|
|
291
291
|
def self.escape_hbs(partial)
|
|
292
|
-
|
|
292
|
+
4.times do
|
|
293
293
|
partial.gsub!("{{", "{%{")
|
|
294
294
|
partial.gsub!("}}", "}%}")
|
|
295
295
|
end
|