erbac 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -134,6 +134,7 @@ module Erbac
134
134
  assignment = Erbac.auth_assignment_class.constantize.where({item_id: self, user_id: user}).first_or_create
135
135
  assignment.bizrule = bizrule
136
136
  assignment.data = data
137
+ assignment.save
137
138
  assignment
138
139
  end
139
140
 
@@ -1,3 +1,3 @@
1
1
  module Erbac
2
- VERSION = "0.0.3".freeze
2
+ VERSION = "0.0.4".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erbac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: