ember-es6_template 0.2.0 → 0.2.1

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: a8979855325148fa5e9855cd4fca9fd609cf1eb0
4
- data.tar.gz: b1a0eb63ec534df2c7d7708b5ccf14f1d00cbd5b
3
+ metadata.gz: 876adc28ef214a2ac6984b491f78613476cc7bde
4
+ data.tar.gz: 8700b61456b3a4da31930deb333ac95f23a8839b
5
5
  SHA512:
6
- metadata.gz: 4d16c8f492ded1ea8f8401ef75a9946784aea0af24c8133f3c39927534257480029dad3300d422f653b298c7d71f52f927cd6051f841d4df909399e25d490e03
7
- data.tar.gz: b46d77caa49880f98f70bac5d775ad26851d80ffb32ce757fa595df1f8106ed397801a1bf557224458cd6e9fb861b9994a92d765f7727549084f201806f3a710
6
+ metadata.gz: f4052077697251822e91890a8555648e8e2186f4b457be73f3147f2666986159197c387d2b2b3d45e5cbd81a6c63e172120de128dde19dff400596a516e0f03e
7
+ data.tar.gz: 509df12a1defad6b44394f4aa73f950077f2858956c347f18c0f988b24ceb4b2543be8e6a8a59678a21662cce66689950c437991799c2252348cf776f7ad9953
@@ -12,7 +12,13 @@ module Ember
12
12
  def call(input)
13
13
  data = input[:data]
14
14
 
15
- result = input[:cache].fetch(_cache_key + [data]) do
15
+ dependencies = [
16
+ input[:load_path],
17
+ input[:filename],
18
+ data
19
+ ]
20
+
21
+ result = input[:cache].fetch(_cache_key + dependencies) do
16
22
  transform(data, input)
17
23
  end
18
24
 
@@ -12,7 +12,13 @@ module Ember
12
12
  def call(input)
13
13
  data = input[:data]
14
14
 
15
- result = input[:cache].fetch(_cache_key + [data]) do
15
+ dependencies = [
16
+ input[:load_path],
17
+ input[:name],
18
+ data
19
+ ]
20
+
21
+ result = input[:cache].fetch(_cache_key + dependencies) do
16
22
  transform(data, input)
17
23
  end
18
24
 
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-es6_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO