RubyGems
npm
Organizations
Log in
Sign up
RubyGems
role_authorization
Versions diffs
0.1.2 → 0.1.3
role_authorization 0.1.2 → 0.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/role_authorization/exts/controller.rb
+0
-1
data/lib/role_authorization/version.rb
+1
-1
metadata
+1
-1
data/lib/role_authorization/exts/controller.rb
CHANGED
Viewed
@@ -3,7 +3,6 @@ module RoleAuthorization
3
3
module Controller
4
4
def self.included(base)
5
5
base.class_eval do
6
-
rescue_from SecurityError, :with => proc {|e| access_denied(e)}
7
6
helper_method :authorized?
8
7
helper_method :accessible?
9
8
end
data/lib/role_authorization/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module RoleAuthorization
2
-
VERSION = "0.1.
2
"
2
+
VERSION = "0.1.
3
"
3
3
end
metadata
CHANGED
Viewed
@@ -2,7 +2,7 @@
2
2
name: role_authorization
3
3
version: !ruby/object:Gem::Version
4
4
prerelease:
5
-
version: 0.1.
2
5
+
version: 0.1.
3
6
6
platform: ruby
7
7
authors:
8
8
- John 'asceth' Long