handlebars_assets 0.19.2 → 0.20.0

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: b017ca32ca553abf4935b3da8632e0b6f628c57b
4
- data.tar.gz: 86a53a8d37fa83720dc0b842f85a6becd5aeca6f
3
+ metadata.gz: 61476ba19cae6d7f2e112f90cc23cb16669d595a
4
+ data.tar.gz: 899f7b75d8f262b4e50bd4c39b5a76aa4e63b273
5
5
  SHA512:
6
- metadata.gz: 0db3d7675e4ec5b666c16239a2532ca6a8a256b576038f94d4b3f0271b9218b7c79736b5edc738f78fa27ee4edf444d1380633bec624d790edc9430c778653c9
7
- data.tar.gz: faea770605ff65a9a97e15f7bdfcc6ee45e137a571e1a7b3fbb257af9b55322cc16a8119fbc1ea4a67ea814db521997531af9219a802305a2807fa39219ca662
6
+ metadata.gz: 7e7d583045da1e5061806e2912e4929a178a7e5ddb1d7546f094d3fd59d9b9e2911e68901ecc2572630177da9b1f744d8cd8e7ad09ec16ca9074166b5253fe37
7
+ data.tar.gz: beea76a7f73c84731bad5f74de8a7e627f73cb3128bf281c845f0fc816fe3d8f0b7533ac4a781f5e929f6ea455da90eee46e0461feba6b1e55b70990638b6b8b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 0.20 (2015-02-23)
2
+
3
+ * Fix issues with window object, revert to native HB.js
4
+ * Fix extension handling bug on some versions of rails
5
+
1
6
  ## 0.19 (2015-02-18)
2
7
 
3
8
  * Upgrade to Handlebars v3.0
@@ -24,6 +24,8 @@ 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 = {}; }"""
27
29
  source
28
30
  end
29
31
 
@@ -1,3 +1,3 @@
1
1
  module HandlebarsAssets
2
- VERSION = "0.19.2"
2
+ VERSION = "0.20.0"
3
3
  end
@@ -25,10 +25,6 @@ THE SOFTWARE.
25
25
  @license
26
26
  */
27
27
  /* exported Handlebars */
28
- if (!window) {
29
- var window = {};
30
- }
31
-
32
28
  (function (root, factory) {
33
29
  if (typeof define === 'function' && define.amd) {
34
30
  define([], factory);
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.19.2
4
+ version: 0.20.0
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-22 00:00:00.000000000 Z
11
+ date: 2015-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: execjs