neuron 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/neuron/authorization.rb +1 -1
- data/lib/neuron/version.rb +1 -1
- metadata +2 -2
data/lib/neuron/authorization.rb
CHANGED
@@ -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.
|
62
|
+
resource.write_attributes(*resource_params)
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
data/lib/neuron/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: neuron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
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-
|
13
|
+
date: 2011-09-13 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|