neuron 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -59,7 +59,7 @@ module Neuron
59
59
  current_ability.attributes_for(authorization_action, resource_class).each do |attribute, value|
60
60
  resource.send("#{attribute}=", value) if attribute.is_a?(Symbol)
61
61
  end
62
- resource.attributes = resource_params
62
+ resource.write_attributes(*resource_params)
63
63
  end
64
64
  end
65
65
 
@@ -1,3 +1,3 @@
1
1
  module Neuron
2
- VERSION = '0.0.12'
2
+ VERSION = '0.0.13'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: neuron
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.12
5
+ version: 0.0.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Semyonov
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-09-05 00:00:00 Z
13
+ date: 2011-09-13 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties