handlebars_assets 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/handlebars_assets/handlebars.rb +1 -3
- data/lib/handlebars_assets/version.rb +1 -1
- data/vendor/assets/javascripts/handlebars.js +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4384395fc4ee4197451cbc31b94b7dedbb4c0b06
|
4
|
+
data.tar.gz: c2d75643bbb557ff663e6193bfe22dc1e97e468c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d70f5ee4ab2d923c0b3ba05b537dc131e75f8bf1845d3549ddfa6f70747b38897975b0e93313ea1071c4eb125cbe4e7f78790a0516fee937965e09e80f38706d
|
7
|
+
data.tar.gz: fbf7c27945ca12331c2bf023408c6ca13ab1d0aa6f7f96c785f2ab1fee3d8a8dea594c213eed3bc111a6cc362877219d590a1d3679e47a6a30b9dd9ab7e21715
|
data/CHANGELOG.md
CHANGED
@@ -24,8 +24,6 @@ module HandlebarsAssets
|
|
24
24
|
append_patch(patch_file)
|
25
25
|
end
|
26
26
|
end
|
27
|
-
# HACK/workaround because of invalid wrapper by handlebars v3.0.0
|
28
|
-
self.source += """if (typeof window === 'undefined') { this.window = {}; }"""
|
29
27
|
source
|
30
28
|
end
|
31
29
|
|
@@ -34,7 +32,7 @@ module HandlebarsAssets
|
|
34
32
|
end
|
35
33
|
|
36
34
|
def source
|
37
|
-
@source ||= path.read
|
35
|
+
@source ||= "if (!window) { var window = {}; }\n#{path.read}"
|
38
36
|
end
|
39
37
|
|
40
38
|
def patch_path
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: handlebars_assets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Hill
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: execjs
|