fifty 0.0.6 → 0.0.7
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 +3 -4
- 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.0.7'
|
10
10
|
|
11
11
|
# Class-level variables.
|
12
12
|
|
@@ -37,7 +37,6 @@ module Fifty
|
|
37
37
|
self.partials = {}
|
38
38
|
|
39
39
|
self.compiled = false
|
40
|
-
self.logger = $stdout
|
41
40
|
|
42
41
|
# Initialize the Handlebars runtime.
|
43
42
|
self.hbs = Handlebars::Context.new
|
@@ -235,7 +234,7 @@ module Fifty
|
|
235
234
|
|
236
235
|
# Output a debug text to the logger.
|
237
236
|
def self.debug(text)
|
238
|
-
logger.
|
237
|
+
logger.info "[Fifty]: #{text}"
|
239
238
|
end
|
240
239
|
|
241
240
|
# * Javascript-generating methods * #
|
@@ -312,4 +311,4 @@ module Fifty
|
|
312
311
|
# Require all helpers into Fifty.
|
313
312
|
require_relative 'fifty/helpers'
|
314
313
|
|
315
|
-
end
|
314
|
+
end
|