role_authorization 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,13 +117,13 @@ module RoleAuthorization
117
117
  self.serialized_roles[:global] ||= Array.new
118
118
  self.serialized_roles[:global].delete(role_name.to_sym)
119
119
  else
120
- if scope_key_id.nil?
120
+ if scope_id.nil?
121
121
  self.serialized_roles[scope_key] ||= Array.new
122
122
  self.serialized_roles[scope_key].delete(role_name.to_sym)
123
123
  else
124
124
  self.serialized_roles[scope_key] ||= Hash.new
125
- self.serialized_roles[scope_key][scope_key_id] ||= Array.new
126
- self.serialized_roles[scope_key][scope_key_id].delete(role_name.to_sym)
125
+ self.serialized_roles[scope_key][scope_id] ||= Array.new
126
+ self.serialized_roles[scope_key][scope_id].delete(role_name.to_sym)
127
127
  end
128
128
  end
129
129
 
@@ -1,3 +1,3 @@
1
1
  module RoleAuthorization
2
- VERSION = "0.3.7"
2
+ VERSION = "0.3.8"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: role_authorization
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.7
5
+ version: 0.3.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - John 'asceth' Long