rasputin 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Rasputin
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
@@ -3580,8 +3580,7 @@ function xformForArgs(args) {
3580
3580
  return function (target, method, params) {
3581
3581
  var obj = params[0], keyName = changeKey(params[1]), val;
3582
3582
  if (method.length>2) val = SC.getPath(obj, keyName);
3583
- args.unshift(obj, keyName, val);
3584
- method.apply(target, args);
3583
+ method.apply(target, [obj, keyName, val].concat(args));
3585
3584
  }
3586
3585
  }
3587
3586
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rasputin
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.0
5
+ version: 0.6.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Paul Chavard
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-13 00:00:00 Z
13
+ date: 2011-08-14 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties