twine-rails 0.0.16 → 0.0.18

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: 8a7e1cf1a6f2b853e87e2bf3a572b89c97b15890
4
- data.tar.gz: a9f48d46ee24602f9adb4c0abc5bdc665908de8c
3
+ metadata.gz: a29fc0d00e33d30447ff1a6c23c91aac9de6a888
4
+ data.tar.gz: 6311499b00109319e1a1169f747af4c084e74c90
5
5
  SHA512:
6
- metadata.gz: 0e5553407353d10c1d6121482df9b8fff44240c3e373555a28c4eaebccffa5606cfa562869ec09a9e21ba310f453bdbaf6212e0987180fc7b3aa9b97cbd6fde0
7
- data.tar.gz: 42eb4b0eea640b53413ff71b0dd4a2e4389084ab31a84c7cba73b80a9660572e92683eefef42222b795e9950b9715ce64db9212dc2bf35fde4cef42e42983220
6
+ metadata.gz: 2059b83f59ae510d81df3aaca95a1849ac7292fe2c2ae339202838670f22d89d7f2f4f00c2c7b4b706711123ac0b0b520c22597c260714d386fc0ee880e42553
7
+ data.tar.gz: ce506712e1ac6205af903fd57c1963e871953d923b2ba9a75b595038ca37dcc9185fb845788583d925d777daaa1f73c8491a3578738554d20f140bc87e212558
@@ -283,6 +283,11 @@ Twine.bindingTypes =
283
283
  context[key] = value for key, value of object
284
284
  return
285
285
 
286
+ eval: (node, context, definition) ->
287
+ fn = wrapFunctionString(definition, '$context,$root', node)
288
+ fn.call(node, context, rootContext)
289
+ return
290
+
286
291
  setupAttributeBinding = (attributeName, bindingName) ->
287
292
  booleanAttribute = attributeName in ['checked', 'disabled', 'readOnly']
288
293
 
@@ -1,3 +1,3 @@
1
1
  module TwineRails
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twine-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Li
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-13 00:00:00.000000000 Z
13
+ date: 2015-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: coffee-rails