barber 0.8.2 → 0.8.3

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: 576c52c66913258d4bff2f33f6db3d3a5f9386ce
4
- data.tar.gz: f7eda7418ee3515c537d2c06a99fffa78414bca0
3
+ metadata.gz: 2564d9fbe35d6317d3a8c92316376e7c674c6bf7
4
+ data.tar.gz: 856a288d35de13b819f1ea290925727831a27033
5
5
  SHA512:
6
- metadata.gz: 1f4a32fe9c17ccd080280f6800dad039755c4341901c5e22afd28dd89e130fa353301921c59c1cdb0d6d73b9c274b0ab089757c6bf1ef107cbab536125de36ed
7
- data.tar.gz: 260a04767a5ab4a4e1a5c0be4c63dd6ab6daa05eb8c99118c215e3e068923133a2c692c1c8fd018ff0284c7bf4b329b4f86d3dc55e7d5c4ebc990e14ec022cfe
6
+ metadata.gz: 38f208cc17183db763f1c410a234b8d4db828e48d70b4c91e86e968164e5babf740d71aa48c5a032662667c3cb2772e0ea35c1f652ce0e9e8ca260f01fd49024
7
+ data.tar.gz: 70bf885e7d0da5c427481ae08bcc6a510d837a6a908128ed11a7e1bece2af174d77a6a062a274c51a3793550bab6763c057486cd1904801501c7e60a1d410ba4
@@ -27,7 +27,9 @@ module Barber
27
27
  private
28
28
 
29
29
  def handlebars_version
30
- @handlebars_version ||= context.eval('typeof require !== "undefined" && require("handlebars") && require("handlebars").VERSION');
30
+ return @handlebars_version if defined?(@handlebars_version)
31
+
32
+ @handlebars_version = context.eval('typeof require !== "undefined" && require("handlebars") && require("handlebars").VERSION');
31
33
  end
32
34
  end
33
35
  end
@@ -1,3 +1,3 @@
1
1
  module Barber
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - tchak
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-03-27 00:00:00.000000000 Z
12
+ date: 2015-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: execjs